Linux Routing Configuration

From NovaOrdis Knowledge Base
Jump to navigation Jump to search

Internal

Adding Multicast Routing to a Specific Network Interface

ip route add 224.0.0.0/4 dev <device-name>

More details about ip can be found here

ip

Routing Configuration that Survives Reboot

Add the routing configuration to /etc/sysconfig/network-scripts/route-<device-name>:

default 192.168.9.10 dev eth0