配置路由表
查看路由表
route print
删除0.0.0.0默认的
route delete 0.0.0.0
新增0.0.0.0外网网关
route add 0.0.0.0 mask 0.0.0.0 192.168.43.1
新增0.0.0.0内网网关
route add 10.129.0.0 mask 255.255.0.0 10.129.63.254
route add 10.129.63.0 mask 255.255.255.0 10.129.63.254
route -p add 10.129.0.0 mask 255.255.0.0 10.129.63.254 metric 2 if 5
太乱的话可以恢复默认设置
netsh int ipv4 reset
网友评论