2008年8月19日 星期二

Add static route in the linux system

Before RehHat 8 version
/etc/sysconfig/static-routes
eth0 net 172.16.0 netmask 255.255.0.0 gw X.X.X.X

After RedHat 8 version (include RedHat version 8)
/etc/sysconfig/network-scripts/route-eth1
172.16.0.0/16 via 172.17.0.254

沒有留言: