Multicast Routing: Unterschied zwischen den Versionen

Aus Xinux Wiki
Zur Navigation springen Zur Suche springen
Pascal (Diskussion | Beiträge)
Keine Bearbeitungszusammenfassung
Pascal (Diskussion | Beiträge)
Keine Bearbeitungszusammenfassung
Zeile 3: Zeile 3:
* smcroute                                                              - static multicast router daemon
* smcroute                                                              - static multicast router daemon
* mrouted
* 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 ==
== Links ==
* Linux Documentation Project: [http://tldp.org/HOWTO/Multicast-HOWTO.html Multicast over TCP/IP HOWTO]
* Linux Documentation Project: [http://tldp.org/HOWTO/Multicast-HOWTO.html Multicast over TCP/IP HOWTO]

Version vom 26. Juli 2011, 10:06 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
  • 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