'Routing configuration to forward multicast traffic to a single NIC on RedHat 6
I'm trying to edit /etc/sysconfig/network-scripts/route-eth0 to make all multicast packets sent to device eth0 on RedHat 6.3, following this guide.
I tried writing like:
224.0.0.0/4 dev eth0
but it never works.... How can I specify multicast routing on this file?
Solution 1:[1]
I think you should add route in /etc/sysconfig/static-routes
One more alternative solution to save permanent route is add your route command in following file.
/etc/rc.local
- More option to look.
also Enable MC routing in kernel
sysctl -w net.ipv4.conf.all.mc_forwarding=0
Make sure you have MC routing support in kernel. for example.
# cat /boot/config-`uname -r` | grep IP_MROUTE
CONFIG_IP_MROUTE=y
Netstat also tell you whether it enable or not
netstat -g
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 |
