Linux – Selecting interface for multicast traffic

linuxmulticastrouting

How do I specify an interface for multicast traffic? I need to connect to multicast group through vlan interface (tcpdump show traffic there) but I believe that IGMP request are sent throug eth0.

Should I add a route for multicast adresses?

Best Answer

route add -net 224.0.0.0 netmask 240.0.0.0 dev vlan100