GenerationIP

Just for you

  • Increase font size
  • Default font size
  • Decrease font size
Home Documentation Mini Howto How to force multicast to be routed on a dedicate network interface

How to force multicast to be routed on a dedicate network interface

E-mail Print PDF
User Rating: / 10
PoorBest 

Type : System
Operating System : Linux

This howto explain how to route multicast traffic on network interface

ADD ROUTE :

If you want to limit the multicast traffic, you have to add a dedicate route on the network device you have defined :

# route add -net 224.0.0.0 netmask 240.0.0.0 dev eth0

Result on routing table :

# route -n

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
78.46.74.27     0.0.0.0         255.255.255.224   U     0      0        0 eth0
224.0.0.0       0.0.0.0             240.0.0.0            U     0      0        0 eth1
0.0.0.0         78.46.74.1         0.0.0.0               UG    0      0        0 eth0

RELATED ARTICLES

Howto enable or disable multicast on interface with ifconfig

 

 

 

 

Last Updated on Thursday, 25 February 2010 14:11