Linux Routing Configuration: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 12: | Line 12: | ||
=Routing Configuration that Survives Reboot= | =Routing Configuration that Survives Reboot= | ||
Add the routing configuration to <tt>/etc/sysconfig/network-scripts/route-<device-name></tt>: | |||
<pre> | |||
default 192.168.9.10 dev eth0 | |||
</pre> |
Revision as of 17:42, 21 March 2017
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
Routing Configuration that Survives Reboot
Add the routing configuration to /etc/sysconfig/network-scripts/route-<device-name>:
default 192.168.9.10 dev eth0