Home » Default » Centos 静态路由

# cat /etc/sysconfig/static-route
any net any gw 192.168.3.1
any net 10.211.6.0/24 gw 192.168.3.1
any net 10.0.0.0 netmask 255.0.0.0 gw 10.212.52.1

写在开机脚本/etc/rc.local
route add -net 10.8.0.0 255.255.255.0 gw 192.168.199.2

标签: centos

添加新评论

V