[Bug 671558] New: IPv6: broken multicast in kvm guests

https://bugzilla.novell.com/show_bug.cgi?id=671558 https://bugzilla.novell.com/show_bug.cgi?id=671558#c0 Summary: IPv6: broken multicast in kvm guests Classification: openSUSE Product: openSUSE 11.3 Version: Final Platform: x86-64 OS/Version: openSUSE 11.3 Status: NEW Severity: Major Priority: P5 - None Component: Network AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: andihartmann@freenet.de QAContact: qa@suse.de Found By: --- Blocker: --- Created an attachment (id=413716) --> (http://bugzilla.novell.com/attachment.cgi?id=413716) ping packet seen on br0 sent from PC via WLAN AP / switch / eth0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:2.0b12pre) Gecko/20110211 Firefox/4.0b12pre SeaMonkey/2.1b2pre Given is a host with a vm running with kvm and libvirt. The guest is configured like this: <devices> <interface type='ethernet'> <mac address='33:44:55:dd:cc:cc'/> <script path='no'/> <target dev='tap0'/> <model type='virtio'/> </interface> </devices> The resulting commandline options for qemu-kvm are: -netdev tap,ifname=tap0,script=no,id=hostnet0 -device virtio-net-pci,netdev=hostnet0,id=net0,mac=33:44:55:dd:cc:cc,bus=pci.0,addr=0x3 tap0 is a member of a bridge of the host, containing amongst others eth0: bridge name bridge id STP enabled interfaces br0 8000.0077d0aabbcc no eth0 tap0 Some versions / configs beeing used on the different systems: Host: Opensuse 11.2 with 11.2/11.3 kernel kernel-desktop-2.6.34.8-2.1.x86_64 kvm-0.13.0-59.1.x86_64 libvirt-0.8.7-83.1.x86_64 Guest: Opensuse 11.3 kernel-desktop-2.6.34.7-0.7.1.x86_64 Host: tap0 Link encap:Ethernet Hardware Adresse 12:34:56:78:9a:bc UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:649 errors:0 dropped:0 overruns:0 frame:0 TX packets:3088 errors:0 dropped:10 overruns:0 carrier:0 collisions:0 Sendewarteschlangenlänge:500 RX bytes:183798 (179.4 Kb) TX bytes:351143 (342.9 Kb) eth0 Link encap:Ethernet HWaddr 00:1F:D0:aa:bb:cc UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:30458 errors:0 dropped:0 overruns:0 frame:0 TX packets:21098 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:2986487 (2.8 Mb) TX bytes:3468324 (3.3 Mb) Interrupt:25 Base address:0x2000 br0 Link encap:Ethernet HWaddr 00:1F:D0:aa:bb:cc inet addr:1.2.3.4 Bcast:1.2.3.255 Mask:255.255.255.0 inet6 addr: fe80::111:2222:33aa:bbcc/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:31263 errors:0 dropped:0 overruns:0 frame:0 TX packets:19684 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:2624841 (2.5 Mb) TX bytes:3149039 (3.0 Mb) Guest: eth0 Link encap:Ethernet Hardware Adresse 33:44:55:dd:cc:cc inet Adresse:1.2.3.5 Bcast:1.2.3.255 Maske:255.255.255.0 inet6 Adresse: fe80::bbbb:ff:dddd:cccc/64 Gültigkeitsbereich:Verbindung UP BROADCAST RUNNING ALLMULTI MULTICAST MTU:1500 Metric:1 RX packets:2975 errors:0 dropped:0 overruns:0 frame:0 TX packets:635 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 Sendewarteschlangenlänge:1000 RX bytes:343251 (335.2 Kb) TX bytes:181630 (177.3 Kb) Reproducible: Always Steps to Reproduce: 1. given is the following network path: PC - WLAN AP - Switch - host: eth0 / br0 / tap0 - vm 2. ping6 fe80::bbbb:ff:dddd:cccc Actual Results: If I sent a ping6 packet from outside the host (from PC via WLAN AP and eth0) to the given vm, the ping request isn't replied until the eth0 device of the guest is set to allmulti or promiscuous mode, because it is a multicast packet and the device doesn't answer to multicast packets at all. Expected Results: I would expect that the device in the vm answers without allmulti mode set - just with the default multicast mode set. - The ping from PC via Switch - vm (without WLAN AP) works fine, because there is no multicast packet used. - The ping from PC via WLAN AP to the bridge IP works fine (it is a multicast packet!) - The multicast packet, which arrives from PC via WLAN AP seems to be created by the WLAN AP, because the packet sent by the PC isn't a multicast packet. - The PC runs with OpenSuSE 11.3 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.

https://bugzilla.novell.com/show_bug.cgi?id=671558 https://bugzilla.novell.com/show_bug.cgi?id=671558#c Bruce Rogers <brogers@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P3 - Medium -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.

https://bugzilla.novell.com/show_bug.cgi?id=671558 https://bugzilla.novell.com/show_bug.cgi?id=671558#c Bruce Rogers <brogers@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|brogers@suse.com |kvm-bugs@forge.provo.novell | |.com -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.

https://bugzilla.novell.com/show_bug.cgi?id=671558 https://bugzilla.novell.com/show_bug.cgi?id=671558#c Yang Bo <boyang@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED CC| |kvm-bugs@forge.provo.novell | |.com AssignedTo|kvm-bugs@forge.provo.novell |boyang@suse.com |.com | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.

https://bugzilla.novell.com/show_bug.cgi?id=671558 https://bugzilla.novell.com/show_bug.cgi?id=671558#c2 Yang Bo <boyang@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO InfoProvider| |andihartmann@freenet.de --- Comment #2 from Yang Bo <boyang@suse.com> 2012-02-16 10:06:54 UTC --- Could you please test it on sles11sp2 to see if this happens too? If it does happen, please post the packet trace with the following steps: on the host: tcpdump -i tap0 -s0 -w <filename> 'ip proto \icmp' in the guest: tcpdump -i eth0 -s0 -w <filename> 'ip proto \icmp' Then please post the two files. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.

https://bugzilla.novell.com/show_bug.cgi?id=671558 https://bugzilla.novell.com/show_bug.cgi?id=671558#c3 --- Comment #3 from Andreas Hartmann <andihartmann@freenet.de> 2012-02-16 11:34:49 UTC --- Sorry, I don't use sles. I could test with openSuSE 11.4 (host - kernel 3.1.10-1.1-desktop and kvm-1.0-129.8.x86_64) and guest (openSuSE 11.4 or 12.1 (both unchanged)). -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.

https://bugzilla.novell.com/show_bug.cgi?id=671558 https://bugzilla.novell.com/show_bug.cgi?id=671558#c4 --- Comment #4 from Yang Bo <boyang@suse.com> 2012-02-17 05:56:20 UTC --- (In reply to comment #3)
Sorry, I don't use sles.
I could test with openSuSE 11.4 (host - kernel 3.1.10-1.1-desktop and kvm-1.0-129.8.x86_64) and guest (openSuSE 11.4 or 12.1 (both unchanged)).
That's OK. :) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.

https://bugzilla.novell.com/show_bug.cgi?id=671558 https://bugzilla.novell.com/show_bug.cgi?id=671558#c5 Andreas Hartmann <andihartmann@freenet.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED InfoProvider|andihartmann@freenet.de | --- Comment #5 from Andreas Hartmann <andihartmann@freenet.de> 2012-02-17 07:59:05 UTC --- Ok, I tested now with kernel 3.1.10-1.1-desktop on the host and openSUSE 11.4 / 12.1 as guests. I couldn't see any problem any more one year later with completely other versions :-). I cannot say anything about the old systems, because I don't have them anymore :-( -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com