Multicast on Linux Bridge does not work

kotakomputer

Renowned Member
May 14, 2012
414
10
83
Jakarta, Indonesia
www.proxmoxindo.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?
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!