Joined: 21 May 2007
Location: Prague, Czech Republic
|Posted: Fri Jun 25, 2010 11:00 am Post subject: issue with virtio and e1000 in qemu-kvm
I recently migrated whole QEMU domain from Sabayon to Gentoo host hoping that some issues I've had with my VMs would go, but it did not happen.
I am using network bridge, so I have br0 and vnetX for each guest.
A new issue with VIRTIO network appeared, guest using this type of interface will crash, with the only line in libvirt logs: "virtio-net truncating packet"
It looks like a known or new issue in Red Hat bugzila - https://bugzilla.redhat.com/show_bug.cgi?id=591494
As a workaround, I set the e1000 network card, but there is another problem that existed before on Sabayon as well.
Guest can communicate over the bridge with no problems, but it can't ping or be pinged from either host interface or any other guest.
Using the tcpdump to inspect the interfaces I found that there is some issue with ARP:
10.128.11.222 is working guest with RTL8139 interface, bes416api32 is the affected Windows 2003 guest:
|#tcpdump -i vnet0 -i vnet1 host bes416api32 -vv
tcpdump: WARNING: vnet1: no IPv4 address assigned
tcpdump: listening on vnet1, link-type EN10MB (Ethernet), capture size 68 bytes
11:30:24.233632 arp who-has 10.128.11.222 tell bes416api32.kvm.net
11:30:24.233755 arp reply 10.128.11.222 is-at 52:54:00:52:e1:88 (oui Unknown)
11:30:25.828956 arp who-has 10.128.11.222 tell bes416api32.kvm.net
11:30:25.829073 arp reply 10.128.11.222 is-at 52:54:00:52:e1:88 (oui Unknown)
Looking on the guest:
C:\Documents and Settings\Administrator>arp -a
Interface: 10.128.11.61 --- 0x10003
Internet Address Physical Address Type
10.128.11.1 00-00-0c-07-ac-0b dynamic
10.128.11.47 00-21-5a-c2-72-f8 dynamic
10.128.11.222 00-00-00-00-00-00 invalid
So it look like it would not get the the proper MAC address of the 10.128.11.222 host, but don't have idea what could cause this.
I can set RTL8139 interface, but I don't want to do that, I'd rather found out the root cause of this problem.
Any help highly appreciative.