Difference between revisions of "Centos adding static routes"

From MyWiki
Jump to: navigation, search
Line 1: Line 1:
Add the following to route-eth0
+
Add the following to route-eth0 in /etc/sysconfig/network-scripts
 
192.168.20.0/24 via 192.168.20.253 dev eth0
 
192.168.20.0/24 via 192.168.20.253 dev eth0

Revision as of 20:18, 2 May 2015

Add the following to route-eth0 in /etc/sysconfig/network-scripts 192.168.20.0/24 via 192.168.20.253 dev eth0