]> git.proxmox.com Git - mirror_iproute2.git/commit
ip: enable configuring multicast group autojoin
authorMadhu Challa <challa@noironetworks.com>
Wed, 4 Mar 2015 18:30:10 +0000 (10:30 -0800)
committerStephen Hemminger <shemming@brocade.com>
Tue, 24 Mar 2015 22:45:23 +0000 (15:45 -0700)
commite31867ac30cf95155d113bbfaedf6b99f98a677f
tree897e50bf7dfb6918f9e41799c1b41b7d686d633e
parent655444bdadfcf348d4e668476f493e542587446b
ip: enable configuring multicast group autojoin

Joining multicast group on ethernet level via "ip maddr" command would
not work if we have an Ethernet switch that does igmp snooping since
the switch would not replicate multicast packets on ports that did not
have IGMP reports for the multicast addresses.

Linux vxlan interfaces created via "ip link add vxlan" have the group option
that enables then to do the required join.

By extending ip address command with option "autojoin" we can get similar
functionality for openvswitch vxlan interfaces as well as other tunneling
mechanisms that need to receive multicast traffic.

example:
ip address add 224.1.1.10/24 dev eth5 autojoin
ip address del 224.1.1.10/24 dev eth5
ip/ipaddress.c