LINUX静态路由设置问题
永久静态路由设置:
touch /etc/sysconfig/static-routes
vi /etc/sysconfig/static-routes
eth1 net 192.168.30.0/24 gw 192.168.60.254
eth0 net 192.168.40.0/24 gw 192.168.60.254
touch /etc/sysconfig/static-routes
vi /etc/sysconfig/static-routes
eth1 net 192.168.30.0/24 gw 192.168.60.254
eth0 net 192.168.40.0/24 gw 192.168.60.254
临时静态路由设置:
route add -net 172.16.0.0 netmask 255.240.0.0 gw 172.16.24.161