双WAN路由器的双WAN口接入设计,针对这种路由器中的WAN口设置、WAN口在线检测、流量均衡控制等的设置,详见如下方法(不同路由器界面有差别,但设置内容相似)。
一、 WAN口设置
例如:在一个有两条线路的环境中,一条10M的光纤线路,一条2M的ADSL线路。光纤线路使用静态IP设置,在选择WAN口1设置IP地址、DNS服务器后,请注意页面下方的下载带宽设置和上载带宽设置,请填入相关的参数。
ADSL线路选择WAN口2,连接类型选PPPOE,然后填入ISP提供的认证用户名和密码。连接模式可根据需要选取。然后进入页面下方的高级设置,填入用户本地的DNS服务器地址,同时将下载带宽和上载带宽值填入。
提醒:填入上、下载带宽对于实现线路的带宽自动均衡非常重要。如果不填入对应带宽,将对线路流量进行1:1的分配,如两个线路带宽不同的情况,当用户下载流量超过小带宽时,小带宽线路将过载导致某些用户连接不上或是掉线。
二、 WAN口在线检测
设置请参照如下原则:
1、ping的目标IP尽可能是该WAN口的网关,如通过查看路由器运行状态中出现的WAN口网关如218.125.10.1,如果网关是ping不通的则选择一个可以ping得通的DNS IP。
2、DNS的请求IP应该设为该WAN口实际的DNS,如电信的DNS202.96.134.133,如果ping目标IP中使用的也是DNS的IP,那么就应该设为备用DNS IP。
3、尽量避免ping目标IP与DNS请求IP一样的情况,因为一旦该IP对应的服务器出现问题,那么路由器相应的WAN口将会自动被禁用!
提醒:在线检测可以对线路连接情况做出正确的判断,如果没有进行设置,对于断线情况的发现将比较迟缓,导致网络中某些连接异常,如打开某些网页失败等。
三、 流量均衡控制
对于使用线路中特殊资源的用户可以启用流量均衡控制的功能,如两条线路提供不同的特殊电影、游戏访问。为了更好的应用这样的资源,可以启用流量均衡控制中的附件IP地址调度规则。如在线路1中有一个ISP提供的电影服务器,IP地址为218.125.10.10,线路2中有一个ISP提供的游戏服务器,IP地址为202.96.134.168,则在流量均衡控制中添加两条调度规则,并注意点击启用,使其生效。
另一应用实例,如使用一条作主要接入线路,另外一条线路为备份线路,可以设置如下规则,使数据优先从WAN口1流出。当线路出现异常时同样会切换到线路2上,前提是WAN口在线检测要设置好。
提醒:如果用户只用一条线路接入时,请将未使用的端口禁用,因路由器采用的自动均衡会认为两个端口同时启用,但实际没有连接。同时对应线路的WAN口在线检测也不要钩选,以免异常情况出现。
相关问题:如何获取电影服务器的IP地址?
第一、我们先不使用路由器,而是将连接着电影服务器的线路直接接到单一的一台主机上。
第二、然后拨号上网(如果需要的话),但是先不要看电影。
第三、进入到电脑的命令行,运行命令 netstat ,将看到本机的所有网络连接。
第四、然后开始看电影,等到电影画面开始出现的时候,又在命令行中运行命令 netstat,将看到类似之前那个连接表。将连接与之前的比较之后发现,将会多出一条或几条条目,这就是服务器的地址了。
第五、如果后面的画面比前面的画面多处不只一条记录,那怎么办?如果是这样,就应该一条一条地试试。
要在路由器上设置路由的,下面给出的是网通的地址.你可以把下面这些到这些地址的路由网关指向网通,然后再设一条默认路由指向电信就可以了..
#60.0.0.0 - 60.10.255.255 CNCGROUP Hebei Province Network
#60.12.0.0 - 60.12.255.255 CNCGroup Zhejiang province network
#60.13.0.0 - 60.13.63.255 CNCGroup Gansu province network
#60.13.128.0 - 60.13.255.255 CNCGROUP XinJiang Province Network
#60.16.0.0 - 60.23.255.255 CNCGROUP Liaoning province network
#60.24.0.0 - 60.30.255.255 CNCGROUP Tianjin province network
#60.31.0.0 - 60.31.255.255 CNCGROUP Neimeng Province Network
#60.208.0.0 - 60.217.255.255 CNCGROUP Shandong province network
#60.220.0.0 - 60.223.255.255 CNCGROUP Shanxi Province Network
#61.48.0.0 - 61.51.255.255 CNCGROUP Beijing province network
#61.52.0.0 - 61.54.255.255 CNCGROUP Henan province network
#61.55.0.0 - 61.55.255.255 CNCGROUP Hebei province network
#61.133.0.0 - 61.133.127.255 CNCGROUP Shandong province network
#61.134.96.0 - 61.134.127.255 CNCGROUP Neimenggu province network
#61.135.0.0 - 61.135.255.255 CNCGROUP Beijing province network
#61.136.64.0 - 61.136.127.255 CNCGROUP Henan province network
#61.137.128.0 - 61.137.255.255 CNCGROUP Liaoning province network
#61.138.0.0 - 61.138.63.255 CNCGROUP Heilongjiang province network
#61.138.64.0 - 61.138.127.255 CNCGROUP Neimenggu province network
#61.138.128.0 - 61.138.191.255 CNCGROUP Jilin province network
#61.139.128.0 - 61.139.191.255 CNCGROUP Jilin province network
#61.148.0.0 - 61.149.255.255 CNCGROUP Beijing province network
#61.156.0.0 - 61.156.255.255 CNCGROUP Shandong province network
#61.158.128.0 - 61.158.255.255 CNCGROUP Henan province network
#61.159.0.0 - 61.159.63.255 CNCGROUP Hebei province network
#61.161.0.0 - 61.161.63.255 CNCGROUP Jilin province network
#61.161.128.0 - 61.161.255.255 CNCGROUP Liaoning province network
#61.162.0.0 - 61.162.255.255 CNCGROUP Shandong province network
#61.163.0.0 - 61.163.255.255 CNCGROUP Henan province network
#61.167.0.0 - 61.167.255.255 CNCGROUP Heilongjiang province network
#61.168.0.0 - 61.168.255.255 CNCGROUP Henan province network
#61.176.0.0 - 61.176.255.255 CNCGROUP Liaoning province network
#61.179.0.0 - 61.179.255.255 CNCGROUP Shandong province network
#61.180.128.0 - 61.180.255.255 CNCGROUP Heilongjiang province network
#61.181.0.0 - 61.181.255.255 CNCGROUP Tianjin province network
#61.182.0.0 - 61.182.255.255 CNCGROUP Hebei province network
#61.189.0.0 - 61.189.127.255 CNCGROUP Liaoning province network
#202.96.0.0 - 202.96.63.255 CNCGROUP Beijing province network
#202.96.64.0 - 202.96.95.255 CNCGROUP Liaoning province network
#202.97.128.0 - 202.97.159.255 CNCGROUP Shanxi province network
#202.97.160.0 - 202.97.191.255 CNCGROUP Liaoning province network
#202.97.192.0 - 202.97.255.255 CNCGROUP Heilongjiang province network
#202.98.0.0 - 202.98.31.255 CNCGROUP Jilin province network
#202.99.0.0 - 202.99.63.255 CNCGROUP Beijing province network
#202.99.64.0 - 202.99.127.255 CNCGROUP Tianjin province network
#202.99.128.0 - 202.99.191.255 CNCGROUP Hebei province network
#202.99.192.0 - 202.99.223.255 CNCGROUP Shanxi province network
#202.99.224.0 - 202.99.255.255 CNCGROUP Neimenggu province network
#202.102.128.0 - 202.102.191.255 CNCGROUP Shandong province network
#202.102.224.0 - 202.102.255.255 CNCGROUP Henan province network
#202.106.0.0 - 202.106.255.255 CNCGROUP Beijing province network
#202.107.0.0 - 202.107.127.255 CNCGROUP Liaoning province network
#202.108.0.0 - 202.108.255.255 CNCGROUP Beijing province network
#202.110.0.0 - 202.110.63.255 CNCGROUP Liaoning province network
#202.110.64.0 - 202.110.127.255 CNCGROUP Henan province network
#202.110.192.0 - 202.110.255.255 CNCGROUP Shandong Province Network
#202.111.128.0 - 202.111.159.255 CNCGROUP Henan province network
#202.111.160.0 - 202.111.191.255 CNCGROUP Jilin province network
#218.7.0.0 - 218.10.255.255 CNCGROUP Heilongjiang province network
#218.11.0.0 - 218.12.255.255 CNCGROUP Hebei province network
#218.24.0.0 - 218.25.255.255 CNCGROUP Liaoning province network
#218.26.0.0 - 218.26.255.255 CNCGROUP Shanxi province network
#218.27.0.0 - 218.27.255.255 CNCGROUP Jilin province network
#218.28.0.0 - 218.29.255.255 CNCGROUP Henan province network
#218.56.0.0 - 218.59.255.255 CNCGROUP Shandong province network
#218.60.0.0 - 218.61.255.255 CNCGROUP Liaoning province network
#218.67.128.0 - 218.69.255.255 CNCGROUP Tianjin province network
#221.0.0.0 - 221.3.127.255 CNCGROUP Shandong province network
#221.3.128.0 - 221.3.255.255 CNCGroup Yunnan province network
#221.4.0.0 - 221.5.127.255 CNCGroup Guangdong province network
#221.5.128.0 - 221.5.255.255 CNCGroup Chongqing province network
#221.6.0.0 - 221.6.255.255 CNCGroup Jiangsu province network
#221.7.0.0 - 221.7.31.255 CNCGroup Xinjiang province network
#221.7.32.0 - 221.7.63.255 CNCGroup Gansu province network
#221.7.64.0 - 221.7.95.255 CNCGroup Chongqing province network
#221.7.128.0 - 221.7.255.255 CNCGroup Guangxi province network
#221.8.0.0 - 221.9.255.255 CNCGroup JILIN province network
#221.10.0.0 - 221.10.255.255 CNCGroup SiChuan province network
#221.11.0.0 - 221.11.127.255 CNCGroup Shannxi province network
#221.11.128.0 - 221.11.223.255 CNCGroup Hainan province network
#221.12.0.0 - 221.12.191.255 CNC Group Zhejiang province network
#221.13.0.0 - 221.13.63.255 CNC Group Guizhou province network
#221.13.64.0 - 221.13.95.255 CNC Group Xizang province network
#221.13.128.0 - 221.15.255.255 CNCGROUP Henan Province Network
#221.192.0.0 - 221.195.255.255 CNCGROUP Hebei Province Network
#221.196.0.0 - 221.198.255.255 CNCGROUP Tianjin Province Network
#221.199.0.0 - 221.199.47.255 CNC Group Ningxia province network
#221.199.128.0 - 221.199.207.255 CNCGROUP Neimeng Province Network
#221.200.0.0 - 221.203.255.255 CNCGROUP Liaoning Province Network
#221.204.0.0 - 221.205.255.255 CNCGROUP Shanxi Province Network
#221.207.0.0 - 221.207.63.255 CNC Group QingHai province network
#221.208.0.0 - 221.212.255.255 CNCGROUP Heilongjiang Province Network
#221.213.0.0 - 221.213.255.255 CNC Group Yunnan province network
#221.216.0.0 - 221.223.255.255 CNCGROUP Beijing province network
#222.128.0.0 - 222.131.255.255 CNCGROUP Beijing province network
#222.132.0.0 - 222.135.255.255 CNCGROUP Shandong province network
#222.136.0.0 - 222.143.255.255 CNCGROUP Henan province network
#222.160.0.0 - 222.163.31.255 CNCGROUP Jilin province network