创建static-routes文件
vi /etc/sysconfig/static-routes
在static-routes文件中增加静态路由,格式如下
any net 10.0.0.0 netmask 255.0.0.0 gw 10.253.164.129
重启网络服务
/etc/init.d/network restart
vi /etc/sysconfig/static-routes
any net 10.0.0.0 netmask 255.0.0.0 gw 10.253.164.129
/etc/init.d/network restart