Difference between revisions of "Centos adding static routes"

From MyWiki
Jump to: navigation, search
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
Add the following to route-eth0
+
Add the following to route-eth0 in /etc/sysconfig/network-scripts<br>
 
192.168.20.0/24 via 192.168.20.253 dev eth0
 
192.168.20.0/24 via 192.168.20.253 dev eth0

Latest 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