Fedora 双网卡,手动制定路由表

route del default gw 192.168.85.254 #干掉本地网络路由表 ,改成手动添加

route add -net 192.168.85.0 netmask 255.255.255.0 gw 192.168.85.254

route add -net 192.168.100.0 netmask 255.255.255.0 gw 192.168.85.254

route add -net 172.169.101.0 netmask 255.255.255.0 gw 192.168.85.254

参考

http://linux-ip.net/html/tools-route.html#ex-tools-route-add-http://linux-ip.net/html/tools-route.html#ex-tools-route-add-net

猜你喜欢

转载自xiaofancn.iteye.com/blog/2381391
今日推荐