首页 > 代码库 > linux 开机自添加路由

linux 开机自添加路由

 

进入 vi /etc/sysconfig/network/routes

 


172.20.0.0 172.20.2.254 255.255.0.0 eth2
80.80.0.0  172.20.2.254 255.255.0.0 eth2
10.229.131.0 172.20.2.254 255.255.255.0 eth2
10.229.130.0  172.20.2.254 255.255.255.0 eth2
default 10.47.202.1 - -

linux 开机自添加路由