創(chuàng)建static-routes文件
vi /etc/sysconfig/static-routes
在static-routes文件中增加靜態(tài)路由,格式如下
any net 10.0.0.0 netmask 255.0.0.0 gw 10.253.164.129
重啟網(wǎng)絡(luò)服務(wù)
/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