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?

  • What distro are you using?
    – dunxd
    Aug 27 '10 at 10:54
  • Distro? He didn't even name the operating system.
    – al.
    Aug 27 '10 at 12:44

route add -net netmask dev vlan100


Here is a static config for Ubuntu
put in your /etc/network/interfaces files

auto vlan500
iface vlan500 inet static
address 192.168.X.X
netmask 255.255.X.X
vlan-raw-device ethX

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy