linux添加路由的问题
我的路由表如下
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.71.144.0 * 255.255.255.0 U 0 0 0 eth0
169.254.0.0 * 255.255.0.0 U 0 0 0 eth0
default 10.71.144.1 0.0.0.0 UG 0 0 0 eth0
默认的路由表只能访问 10.71.144.1-254之间的机器,我现在要想访问10.70.149.1-254的机器
添加了如下路由
route add -net 10.70.149.0 netmask 255.255.255.0 dev eth0
更新后的路由表为
Destination Gateway Genmask Flags Metric Ref Use Iface
10.70.149.0 * 255.255.255.0 U 0 0 0 eth0
10.71.144.0 * 255.255.255.0 U 0 0 0 eth0
169.254.0.0 * 255.255.0.0 U 0 0 0 eth0
default 10.71.144.1 0.0.0.0 UG 0 0 0 eth0
但是还是不访问10.70.149.1这个网段 另外重启网络服务,路由表会恢复默认,
请问大侠们,如何解决,在下先谢过了 !