ITeye博客

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

xiaofancn · 2017-06-26 11:10 · linux 网络 · 互联网 · Markdown

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

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。