You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
python/文档/双网路由配置办法.txt

36 lines
1.4 KiB

This file contains invisible Unicode characters!

This file contains invisible Unicode characters that may be processed differently from what appears below. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to reveal hidden characters.

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

------------------------------------------------------------------------------------------------------------------------------------------------
WIFI :
602_5G 602
密码60288888
------------------------------------------------------------------------------------------------------------------------------------------------
电脑配置602办公专用电信宽带办法
1、添加IP地址
在下面地址中找一个ping一下不冲突即可
IP: 192.168.100.101~192.168.100.250
掩码255.255.255.0
网关 192.168.100.1
这样就变成有10.10.11.X和192.168.100.X两处IP
同时也有了10.10.11.1和192.168.100.1两个网关
2、执行脚本配置路由信息
上外网走电信192.168.100.1做网关,
上内网访问服务器需要走10.10.11.1做网关,需要对网络请求进行相应的配置,让数据包知道该走哪个网关,设置办法:
(1)开始->运行->cmd 回车
(2)
route delete 10.10.0.0
route delete 0.0.0.0
route delete 114.116.100.207
route add 114.116.100.207 mask 255.255.255.0 10.10.11.1 -p
route add 49.4.68.82 mask 255.255.255.0 10.10.11.1 -p
route add 10.10.0.0 mask 255.255.0.0 10.10.11.1 -p
route add 0.0.0.0 mask 0.0.0.0 192.168.100.1 -p
------------------------------------------------------------------------------------------------------------------------------------------------