Multicast Routing: Unterschied zwischen den Versionen

Aus xinux.net
Zur Navigation springen Zur Suche springen
Zeile 11: Zeile 11:
 
the NETLINK-related options
 
the NETLINK-related options
 
* If not, enable it, recompile the kernel and reboot
 
* If not, enable it, recompile the kernel and reboot
* echo 1 >/proc/sys/net/ipv4/ip_forwarding to turn on IP forwarding
+
* turn on IP forwarding
 +
echo 1 >/proc/sys/net/ipv4/ip_forwarding
 
* assuming devices are eth0 and eth1, add multicast to the routing table
 
* assuming devices are eth0 and eth1, add multicast to the routing table
 
  route add -net 224.0.0.0/4 dev eth0
 
  route add -net 224.0.0.0/4 dev eth0

Version vom 26. Juli 2011, 08:07 Uhr

Nutzbare Daemons

  • pimd - multicast routing daemon (PIMv2)
  • smcroute - static multicast router daemon
  • mrouted

Config

  • Ensure the kernel has the following enabled by looking in the .config
CONFIG_IP_MULTICAST
CONFIG_IP_PIMSM_V2
CONFIG_IP_MROUTE

the NETLINK-related options

  • If not, enable it, recompile the kernel and reboot
  • turn on IP forwarding
echo 1 >/proc/sys/net/ipv4/ip_forwarding
  • assuming devices are eth0 and eth1, add multicast to the routing table
route add -net 224.0.0.0/4 dev eth0
route add -net 224.0.0.0/4 dev eth1
  • start the pimd daemon

Links