Bug 552574
| Summary: | Guest could not join the multicast group with virtio NIC | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 5 | Reporter: | Amos Kong <akong> | ||||
| Component: | kernel | Assignee: | Herbert Xu <herbert.xu> | ||||
| Status: | CLOSED ERRATA | QA Contact: | Virtualization Bugs <virt-bugs> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | medium | ||||||
| Version: | 5.5 | CC: | ailan, fleitner, jasowang, lihuang, llim, mjenner, mst, pamadio, tao, tburke, virt-maint, ykaul | ||||
| Target Milestone: | rc | ||||||
| Target Release: | --- | ||||||
| Hardware: | All | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | |||||||
| : | 589032 (view as bug list) | Environment: | |||||
| Last Closed: | 2011-01-13 20:58:17 UTC | Type: | --- | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Bug Depends On: | |||||||
| Bug Blocks: | 502912, 589032, 600363, 670174 | ||||||
| Attachments: |
|
||||||
It's a problem of virio-net driver, so change the Component to 'kernel'. This problem also exist rhel5.5, and change Version to '5.5'. I assume what was meant was proposing it for 5.6.0, not 5.5.0. Changed flags accordingly. Created attachment 428813 [details]
Add set_multicast_list to virtio_net
This patch allows virtio_net to support multicast.
(In reply to comment #8) > Created an attachment (id=428813) [details] > Add set_multicast_list to virtio_net > > This patch allows virtio_net to support multicast. After use this patch, I can join guest into MAC multicase group. guest) # ip maddr add 01:00:5E:C0:01:64 dev eth0 guest) # ip maddr show 1: lo inet 224.0.0.1 inet6 ff02::1 6: eth0 link 01:00:5e:c0:01:64 static link 33:33:00:00:00:fb link 01:00:5e:00:00:fb link 01:00:5e:00:00:01 link 33:33:ff:6c:9e:f9 link 33:33:00:00:00:01 inet 224.0.0.251 inet 224.0.0.1 inet6 ff02::fb inet6 ff02::1:ff6c:9ef9 inet6 ff02::1 in kernel-2.6.18-206.el5 You can download this test kernel from http://people.redhat.com/jwilson/el5 Detailed testing feedback is always welcomed. Bug is fixed in kernel-2.6.18-206.el5 Move to VERIFIED An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHSA-2011-0017.html *** Bug 670174 has been marked as a duplicate of this bug. *** *** Bug 589032 has been marked as a duplicate of this bug. *** |
Guest could not join the multicast group with virtio NIC Description of problem: On kernel upstream, virtio-net driver has the MAC address filter support, so multicast can work. But when I boot do multicast test on VM(host rhel5.4, guest rhel5.4), guest could not join the multicast group. multicast mac accress 01:00:5E:C0:01:64 --> 239.192.1.100 Boot command line: # qemu-kvm -name 'vm1' -monitor tcp:0:6001,server,nowait -drive file=/home/rebase/autotest/client/tests/kvm/images/RHEL-Server-5.4-64-virtio.raw,if=virtio,cache=writethrough,boot=on -net nic,vlan=0,model=virtio,macaddr=00:AE:8F:F3:8D:00 -net tap,vlan=0,ifname=virtio_0_6001,script=/home/rebase/autotest/client/tests/kvm/scripts/qemu-ifup-switch,downscript=no -m 512 -smp 1 -usbdevice tablet -rtc-td-hack -no-hpet -cpu qemu64,+sse2 -no-kvm-pit-reinjection -vnc :0 ---------host [root@dhcp-66-70-126 staf-kvm-devel]# uname -a Linux dhcp-66-70-126.nay.redhat.com 2.6.18-164.el5 #1 SMP Tue Aug 18 15:51:48 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux ---------guest [root@localhost ~]# uname -a Linux localhost.localdomain 2.6.18-164.2.1.el5 #1 SMP Mon Sep 21 04:37:42 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux [root@localhost ~]# lsmod |grep virtio virtio_net 47169 0 virtio_blk 41417 3 virtio_pci 41417 0 virtio_ring 37441 1 virtio_pci virtio 39365 3 virtio_net,virtio_blk,virtio_pci [root@localhost ~]# lspci |grep Eth 00:03.0 Ethernet controller: Qumranet, Inc. Virtio network device [root@localhost ~]# ifconfig eth0 Link encap:Ethernet HWaddr 00:AE:8F:F3:8D:00 inet addr:10.66.91.14 Bcast:10.66.91.255 Mask:255.255.255.0 inet6 addr: fe80::2ae:8fff:fef3:8d00/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:1136 errors:0 dropped:0 overruns:0 frame:0 TX packets:834 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:110642 (108.0 KiB) TX bytes:114995 (112.2 KiB) lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:1403 errors:0 dropped:0 overruns:0 frame:0 TX packets:1403 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:4217308 (4.0 MiB) TX bytes:4217308 (4.0 MiB) [root@localhost ~]# ip maddr show eth0 2: eth0 link 01:00:5e:00:00:fb link 33:33:00:00:00:fb link 33:33:ff:f3:8d:00 link 33:33:00:00:00:01 link 01:00:5e:00:00:01 inet 224.0.0.251 inet 224.0.0.1 inet6 ff02::fb inet6 ff02::1:fff3:8d00 inet6 ff02::1 [root@localhost ~]# ip maddr add 01:00:5E:C0:01:64 dev eth0 ioctl: Invalid argument [root@localhost ~]# ip maddr show eth0 2: eth0 link 01:00:5e:00:00:fb link 33:33:00:00:00:fb link 33:33:ff:f3:8d:00 link 33:33:00:00:00:01 link 01:00:5e:00:00:01 inet 224.0.0.251 inet 224.0.0.1 inet6 ff02::fb inet6 ff02::1:fff3:8d00 inet6 ff02::1 [root@localhost ~]# Version-Release number of selected component (if applicable): host: [root@dhcp-66-70-126 staf-kvm-devel]# rpm -qa|grep kvm etherboot-zroms-kvm-5.4.4-12.el5 etherboot-zroms-kvm-5.4.4-10.el5 kvm-debuginfo-83-142.el5 kvm-tools-83-142.el5 kvm-83-142.el5 kmod-kvm-83-142.el5 kvm-qemu-img-83-142.el5 How reproducible: Steps to Reproduce: 1. Boot up a VM with virtio NIC 2. Join the guest the multicast group Actual results: Guest could not join the multicast group Expected results: Guest join the multicast group Additional info: