Multicast on Linux Bridge does not work

kotakomputer

Renowned Member
May 14, 2012
437
14
83
Jakarta, Indonesia
www.komputerindo.com
I have added:
# echo 1 > /sys/devices/virtual/net/vmbr0/bridge/multicast_querier on both Nodes,
# /etc/init.d/networking restart

But omping still not success for multicast. I'm using Linux Bridge (not OVS Bridge).

Code:
root@ns501942:~# omping uds-001 uds-028
uds-028 : waiting for response msg
uds-028 : waiting for response msg
uds-028 : joined (S,G) = (*, 232.43.211.234), pinging
uds-028 :   unicast, seq=1, size=69 bytes, dist=2, time=0.312ms
uds-028 :   unicast, seq=2, size=69 bytes, dist=2, time=0.341ms
uds-028 :   unicast, seq=3, size=69 bytes, dist=2, time=0.647ms
uds-028 :   unicast, seq=4, size=69 bytes, dist=2, time=0.332ms
^C
uds-028 :   unicast, xmt/rcv/%loss = 4/4/0%, min/avg/max/std-dev = 0.312/0.408/0.647/0.160
uds-028 : multicast, xmt/rcv/%loss = 4/0/100%, min/avg/max/std-dev = 0.000/0.000/0.000/0.000
root@ns501942:~#

Any suggestions please?
 
Check settings on your switch.
According to:
http://pve.proxmox.com/wiki/Multicast_notes#Linux:_Enabling_Multicast_querier_on_bridges

If your router or switch does not support enabling a multicast querier, and you are using a classic linux bridge (not Open vSwitch), then you can enable the multicast querier on the Linux bridge by adding this statement to your /etc/network/interfaces bridge configuration:
post-up ( echo 1 > /sys/devices/virtual/net/$IFACE/bridge/multicast_querier )
So, multicast will work even Router/Switch don't support, right?