筆記本 wifi走外網線 網卡走內網 ,案列
--------------------------------------------------------
route print #查看路由表
route delete 0.0.0.0 #刪除「某網關」路由網絡
--------------------------------------------------------
加入WiFi路由
route -p add 0.0.0.0 mask 0.0.0.0 10.241.84.1 (全部的網絡走10.241.84.1網關)(外網)路由
-----------------------------------------------------------------------------------
加入網卡路由
route -p add 192.0.0.0 mask 255.0.0.0 192.168.1.1 (說明:只有192開頭的網絡走192.168.1.1網關)(內網)route
---------------------------------------------------------------------------------------------------wifi
刪除路由記錄也很是方便。用下面的命令:
--------------------------------------------------------------------------------------------
route delete 192.0.0.0
route delete 0.0.0.0let