You are on page 1of 2

Document 2558084.1 https://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrl-stat...

Copyright (c) 2019, Oracle. All rights reserved. Oracle Confidential.

KVM: Guest Can Reach Outside Network, But Cannot Reach Or Either Ping Host (macvtap) (Doc ID
2558084.1)

In this Document

Symptoms
Cause
Solution
References

APPLIES TO:

Linux OS - Version Oracle Linux 7.6 and later


Linux x86-64

SYMPTOMS

Guest can reach outside network, but cannot reach or ping host (macvtap)

CAUSE

This is expected behavior, if you are using default interface (macvtap) which means using direct interface(eth0) default virbr0 and fall under
this limitations

SOLUTION

Instead using default device eth0 directly (macvtap), configure bridge on top of physical interface (eth0 -> br0)

1.Create a virtual adapter named “br0” with following configuration, on the KVM host in a /etc/sysconfig/network-scripts/ifcfg-br0 file:

1 of 2 9/30/2019, 9:24 AM
Document 2558084.1 https://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrl-stat...

DEVICE=br0
TYPE=Bridge
BOOTPROTO=static
ONBOOT=yes
IPADDR=<IP>
NETMASK=<NETMASK>
GATEWAY=<GATEWAY>
DNS1=<RESOLVER-IP>
DELAY=0

2. Add the following information to eth0 adapter configuration /etc/sysconfig/network-scripts/ifcfg-eth0 file:

DEVICE=eth0
ONBOOT=yes
BRIDGE=br0

3. Restart networking service.

# brctl show

bridge name bridge id STP enabled interfaces


br0 8000.d027881c65de no eth0

OR

Create isolated network(NEW) for host and guest communication

REFERENCES

Didn't find what you are looking for?

2 of 2 9/30/2019, 9:24 AM

You might also like