笔记本有线网络和无线网络相互打通

双网卡相互连通 一张网卡只能上内网 一张网卡可以上外网 实现 既即可上外网 也可以上内网
route delete 128.192.116.0 
route delete 128.192.154.0 
route delete 128.96.123.0 
route delete 128.196.121.0 
route delete 128.192.155.0 
route delete 128.96.105.0 
route delete 128.96.99.0 
route delete 128.96.98.0 
route delete 128.196.245.0
route delete  128.192.137.0 
route delete 128.3.108.0
route delete 52.0.193.0
route delete 101.226.4.0
route delete 128.0.0.0

route -p add 0.0.0.0 mask 0.0.0.0 192.168.8.1
route -p add 128.192.116.0 mask 255.255.255.0 192.168.1.1
route -p add 128.192.154.0 mask 255.255.255.0 192.168.1.1
route -p add 128.96.123.0 mask 255.255.255.0 192.168.1.1
route -p add 128.96.98.0 mask 255.255.255.0 192.168.1.1
route -p add 128.196.121.0 mask 255.255.255.0 192.168.1.1
route -p add 128.96.214.0  mask 255.255.255.0 192.168.1.1
route -p add 128.192.155.0 mask 255.255.255.0 192.168.1.1
route -p add 128.192.137.0 mask 255.255.255.0 192.168.1.1
route -p add 128.96.105.0 mask 255.255.255.0 192.168.1.1
route -p add 128.196.121.0 mask 255.255.255.0 192.168.1.1
route -p add 128.196.245.0 mask 255.255.255.0 192.168.1.1
route -p add 128.192.130.0 mask 255.255.255.0 192.168.1.1
route -p add 128.96.214.0 mask 255.255.255.0 192.168.1.1
route -p add 128.194.10.0 mask 255.255.255.0 192.168.1.1
route -p add 128.3.108.0 mask 255.255.255.0 192.168.1.1
route -p add 52.0.193.0 mask 255.255.255.0 192.168.1.1
route -p add 101.226.4.0 mask 255.255.255.0 192.168.1.1
route -p add 128.0.0.0 mask 255.0.0.0 192.168.1.1
route print
@pause
route delete 128.192.116.0 
route  delete 128.192.154.0
route  delete 128.96.123.0 
route  delete 128.96.124.0
route  delete 128.196.121.0
route  delete 128.192.155.0
route  delete 128.96.105.0 
route  delete 128.192.137.0 
route  delete 128.96.98.0
route  delete 128.1.120.0
route add 128.192.116.0 mask 255.255.255.0 128.96.123.30 -p
route add 128.1.120.0 mask 255.255.255.0 128.96.123.30 -p
route add 128.192.154.0 mask 255.255.255.0 128.96.123.30 -p
route add 128.96.123.0 mask 255.255.255.0 128.96.123.30 -p
route add 128.96.124.0 mask 255.255.255.0 128.96.123.30 -p
route add 128.196.121.0 mask 255.255.255.0 128.96.123.30 -p
route add 128.192.155.0 mask 255.255.255.0 128.96.123.30 -p
route add 128.96.105.0 mask 255.255.255.0 128.96.123.30 -p
route add 128.192.137.0 mask 255.255.255.0 128.96.123.30 -p
route add 128.96.98.0 mask 255.255.255.0 128.96.123.30 -p
route add 128.196.121.120 mask 255.255.255.0 128.96.123.30 -p
route print
@pause

posted @ 2022-05-31 19:53  vx_guanchaoguo0  阅读(238)  评论(0编辑  收藏  举报