FG

Guest and host cannot see each other using linux-kvm and macvtap

Fresh3 days ago
Mar 15, 202638077 views
Confidence Score0%
0%

Problem

I'm migrating a kvm virtual machine from an old host (both hardware and OS) to a new one. For networking, virt-manager proposed me a new option: macvtap. This looked a good alternative to setting up a bridge on eth0. So now the guest boots just fine, gets an IP from my local network DHCP server, ca…

Error Output

$ /sbin/route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         192.168.0.1   …

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Guest and host cannot see each other using linux-kvm and macvtap

Low Risk

I asked this question on IRC and it appears that macvtap injects guest traffic into the network stack too low for that The solution is then to add a network interface for the guest and the host to communicate, or stay with the old bridged solution...

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment