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

无忧老猪 2017-06-26

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

相关推荐