Windows 網路+路由設定指令

netsh interface ip add address "區域連線" 10.255.20.20 255.255.255.0
netsh interface ip add address "區域連線" gateway=10.255.20.1 gwmetric=2
netsh interface ip add dns "區域連線" 168.95.1.1
netsh interface ip add dns "區域連線" 172.18.192.8
無線網路連線

netsh interface ip add dns "無線網路連線" 168.95.1.1

route delete 0.0.0.0
route add 0.0.0.0 mask 0.0.0.0 192.168.1.1
route add 10.0.0.0 mask 255.0.0.0 172.18.115.1
route add 172.0.0.0 mask 255.0.0.0 172.18.115.1
route add 192.0.0.0 mask 255.0.0.0 172.18.115.1
route print
pause