Multicast Routing

Aus xinux.net
Zur Navigation springen Zur Suche springen

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
  • echo 1 >/proc/sys/net/ipv4/ip_forwarding to turn on 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