《电信网通双出口负载分担设置指导.doc》由会员分享,可在线阅读,更多相关《电信网通双出口负载分担设置指导.doc(7页珍藏版)》请在三一办公上搜索。
1、电信网通双出口负载分担设置指导这个设置是在华为的产品上面实现的,能参考这个设置在Cisco上面做一些调整就能了。 负载分担设置指导 定义监测组,分别监测电信和网通网关: 进入系统视图,创建detect-group 1,监测电信网关: systemSystem View: return to User View with Ctrl+Z.Quidway detect-group 1Quidway-detect-group-1Quidway-detect-group-1detect-list 1 ip address 60.190.80.113Quidway-detect-group-1quit 创
2、建detect-group 1,监测网通网关: Quidwaydetect-group 2Quidway-detect-group-2detect-list 1 ip address 221.12.79.49Quidway-detect-group-2quitQuidway 注:以上以地址60.190.80.113最为电信网关地址,地址221.12.79.49为网通网关地址为例,能根据实际组网情况修改。 中国网管联盟 设置两条默认路由互为备份,优先走电信线路: Quidwayip route-static 0.0.0.0 0.0.0.0 60.190.80.113 preference 60
3、detect-group 1Quidwayip route-static 0.0.0.0 0.0.0.0 221.12.79.49 preference 100 detect-group 2 注:以上以地址60.190.80.113最为电信网关地址,地址221.12.79.49为网通网关地址为例,能根据实际组网情况修改。 设置静态路由和监测组关联,使访问网通流量优先走网通线路: 以下设置较多,设置过程中能用实际网通网关地址替换地址221.12.79.49后直接复制粘贴: ip route-static 58.16.0.0 255.248.0.0 221.12.79.49 preference
4、60 detect-group 2ip route-static 58.100.0.0 255.254.0.0 221.12.79.49 preference 60 detect-group 2 ip route-static 58.240.0.0 255.240.0.0 221.12.79.49 preference 60 detect-group 2 ip route-static 60.0.0.0 255.248.0.0 221.12.79.49 preference 60 detect-group 2ip route-static 60.8.0.0 255.252.0.0 221.12
5、.79.49 preference 60 detect-group 2ip route-static 60.12.0.0 255.255.0.0 221.12.79.49 preference 60 detect-group 2ip route-static 60.13.0.0 255.255.192.0 221.12.79.49 preference 60 detect-group 2 ip route-static 60.13.128.0 255.255.128.0 221.12.79.49 preference 60 detect-group 2 ip route-static 60.1
6、6.0.0 255.240.0.0 221.12.79.49 preference 60 detect-group 2ip route-static 60.24.0.0 255.248.0.0 221.12.79.49 preference 60 detect-group 2ip route-static 60.31.0.0 255.255.0.0 221.12.79.49 preference 60 detect-group 2ip route-static 60.208.0.0 255.248.0.0 221.12.79.49 preference 60 detect-group 2 ip
7、 route-static 60.216.0.0 255.254.0.0 221.12.79.49 preference 60 detect-group 2 ip route-static 60.220.0.0 255.252.0.0 221.12.79.49 preference 60 detect-group 2 ip route-static 61.48.0.0 255.252.0.0 221.12.79.49 preference 60 detect-group 2ip route-static 61.52.0.0 255.254.0.0 221.12.79.49 preference
8、 60 detect-group 2ip route-static 61.54.0.0 255.255.0.0 221.12.79.49 preference 60 detect-group 2ip route-static 61.55.0.0 255.255.0.0 221.12.79.49 preference 60 detect-group 2ip route-static 61.133.0.0 255.255.128.0 221.12.79.49 preference 60 detect-group 2 ip route-static 61.134.64.0 255.255.192.0
9、 221.12.79.49 preference 60 detect-group 2 ip route-static 61.134.128.0 255.255.128.0 221.12.79.49 preference 60 detect-group 2 ip route-static 61.135.0.0 255.255.0.0 221.12.79.49 preference 60 detect-group 2 ip route-static 61.136.0.0 255.255.0.0 221.12.79.49 preference 60 detect-group 2 ip route-s
10、tatic 61.138.0.0 255.255.128.0 221.12.79.49 preference 60 detect-group 2 ip route-static 61.139.128.0 255.255.192.0 221.12.79.49 preference 60 detect-group 2 ip route-static 61.148.0.0 255.255.0.0 221.12.79.49 preference 60 detect-group 2 ip route-static 61.149.0.0 255.255.0.0 221.12.79.49 preferenc
11、e 60 detect-group 2 ip route-static 61.156.0.0 255.255.0.0 221.12.79.49 preference 60 detect-group 2 ip route-static 61.158.0.0 255.255.0.0 221.12.79.49 preference 60 detect-group 2 ip route-static 61.159.0.0 255.255.192.0 221.12.79.49 preference 60 detect-group 2 ip route-static 61.161.0.0 255.255.
12、192.0 221.12.79.49 preference 60 detect-group 2 ip route-static 61.161.128.0 255.255.128.0 221.12.79.49 preference 60 detect-group 2 ip route-static 61.162.0.0 255.255.0.0 221.12.79.49 preference 60 detect-group 2 ip route-static 61.163.0.0 255.255.0.0 221.12.79.49 preference 60 detect-group 2 ip ro
13、ute-static 61.167.0.0 255.255.0.0 221.12.79.49 preference 60 detect-group 2 ip route-static 61.168.0.0 255.255.0.0 221.12.79.49 preference 60 detect-group 2 ip route-static 61.176.0.0 255.255.0.0 221.12.79.49 preference 60 detect-group 2 ip route-static 61.179.0.0 255.255.0.0 221.12.79.49 preference
14、 60 detect-group 2 ip route-static 61.180.128.0 255.255.128.0 221.12.79.49 preference 60 detect-group 2 ip route-static 61.181.0.0 255.255.0.0 221.12.79.49 preference 60 detect-group 2 ip route-static 61.182.0.0 255.255.0.0 221.12.79.49 preference 60 detect-group 2 ip route-static 61.189.0.0 255.255
15、.128.0 221.12.79.49 preference 60 detect-group 2 ip route-static 124.90.0.0 255.254.0.0 221.12.79.49 preference 60 detect-group 2 ip route-static 124.162.0.0 255.255.0.0 221.12.79.49 preference 60 detect-group 2 ip route-static 192.168.2.246 255.255.255.255 192.168.2.254 preference 60 ip route-stati
16、c 202.32.0.0 255.224.0.0 221.12.79.49 preference 60 detect-group 2 ip route-static 202.96.64.0 255.255.224.0 221.12.79.49 preference 60 detect-group 2 ip route-static 202.97.128.0 255.255.128.0 221.12.79.49 preference 60 detect-group 2 ip route-static 202.98.0.0 255.255.224.0 221.12.79.49 preference
17、 60 detect-group 2 ip route-static 202.99.0.0 255.255.0.0 221.12.79.49 preference 60 detect-group 2 ip route-static 202.102.128.0 255.255.192.0 221.12.79.49 preference 60 detect-group 2 ip route-static 202.102.224.0 255.255.254.0 221.12.79.49 preference 60 detect-group 2 ip route-static 202.106.0.0
18、255.255.0.0 221.12.79.49 preference 60 detect-group 2 ip route-static 202.107.0.0 255.255.128.0 221.12.79.49 preference 60 detect-group 2 ip route-static 202.108.0.0 255.255.0.0 221.12.79.49 preference 60 detect-group 2 ip route-static 202.110.0.0 255.255.128.0 221.12.79.49 preference 60 detect-grou
19、p 2 ip route-static 202.110.192.0 255.255.192.0 221.12.79.49 preference 60 detect-group 2 ip route-static 202.111.128.0 255.255.192.0 221.12.79.49 preference 60 detect-group 2 ip route-static 203.79.0.0 255.255.0.0 221.12.79.49 preference 60 detect-group 2 ip route-static 203.80.0.0 255.255.0.0 221.
20、12.79.49 preference 60 detect-group 2 中国网管联盟 ip route-static 203.81.0.0 255.255.224.0 221.12.79.49 preference 60 detect-group 2 ip route-static 203.86.32.0 255.255.224.0 221.12.79.49 preference 60 detect-group 2 ip route-static 203.86.64.0 255.255.224.0 221.12.79.49 preference 60 detect-group 2 ip r
21、oute-static 203.90.0.0 255.255.128.0 221.12.79.49 preference 60 detect-group 2 ip route-static 203.90.128.0 255.255.192.0 221.12.79.49 preference 60 detect-group 2 ip route-static 203.90.192.0 255.255.224.0 221.12.79.49 preference 60 detect-group 2 ip route-static 203.92.0.0 255.254.0.0 221.12.79.49
22、 preference 60 detect-group 2 ip route-static 210.12.0.0 255.255.128.0 221.12.79.49 preference 60 detect-group 2 ip route-static 210.12.192.0 255.255.192.0 221.12.79.49 preference 60 detect-group 2 ip route-static 210.13.0.0 255.255.255.0 221.12.79.49 preference 60 detect-group 2 ip route-static 210
23、.14.160.0 255.255.224.0 221.12.79.49 preference 60 detect-group 2 ip route-static 210.14.192.0 255.255.192.0 221.12.79.49 preference 60 detect-group 2 ip route-static 210.15.0.0 255.255.128.0 221.12.79.49 preference 60 detect-group 2 ip route-static 210.15.128.0 255.255.192.0 221.12.79.49 preference
24、 60 detect-group 2 ip route-static 210.16.128.0 255.255.192.0 221.12.79.49 preference 60 detect-group 2 ip route-static 210.21.0.0 255.255.0.0 221.12.79.49 preference 60 detect-group 2 ip route-static 210.22.0.0 255.255.0.0 221.12.79.49 preference 60 detect-group 2 ip route-static 210.51.0.0 255.255
25、.0.0 221.12.79.49 preference 60 detect-group 2 ip route-static 210.52.0.0 255.254.0.0 221.12.79.49 preference 60 detect-group 2 ip route-static 210.52.128.0 255.255.128.0 221.12.79.49 preference 60 detect-group 2 ip route-static 210.53.0.0 255.255.0.0 221.12.79.49 preference 60 detect-group 2 ip rou
26、te-static 210.74.64.0 255.255.192.0 221.12.79.49 preference 60 detect-group 2 ip route-static 210.74.128.0 255.255.192.0 221.12.79.49 preference 60 detect-group 2 ip route-static 210.78.0.0 255.255.224.0 221.12.79.49 preference 60 detect-group 2 ip route-static 210.82.0.0 255.254.0.0 221.12.79.49 pr
27、eference 60 detect-group 2 ip route-static 211.100.0.0 255.255.0.0 221.12.79.49 preference 60 detect-group 2 ip route-static 211.101.0.0 255.255.192.0 221.12.79.49 preference 60 detect-group 2 ip route-static 211.147.0.0 255.255.0.0 221.12.79.49 preference 60 detect-group 2 ip route-static 211.167.9
28、6.0 255.255.224.0 221.12.79.49 preference 60 detect-group 2 ip route-static 218.4.0.0 255.252.0.0 221.12.79.49 preference 60 detect-group 2ip route-static 218.10.0.0 255.254.0.0 221.12.79.49 preference 60 detect-group 2 ip route-static 218.21.128.0 255.255.128.0 221.12.79.49 preference 60 detect-gro
29、up 2 ip route-static 218.24.0.0 255.254.0.0 221.12.79.49 preference 60 detect-group 2 ip route-static 218.26.0.0 255.255.0.0 221.12.79.49 preference 60 detect-group 2 ip route-static 218.27.0.0 255.255.0.0 221.12.79.49 preference 60 detect-group 2 ip route-static 218.28.0.0 255.254.0.0 221.12.79.49
30、preference 60 detect-group 2 ip route-static 218.56.0.0 255.252.0.0 221.12.79.49 preference 60 detect-group 2 ip route-static 218.60.0.0 255.254.0.0 221.12.79.49 preference 60 detect-group 2 ip route-static 218.62.0.0 255.255.128.0 221.12.79.49 preference 60 detect-group 2 ip route-static 218.67.128
31、.0 255.255.128.0 221.12.79.49 preference 60 detect-group 2 ip route-static 218.68.0.0 255.254.0.0 221.12.79.49 preference 60 detect-group 2 ip route-static 218.109.159.0 255.255.255.0 221.12.79.49 preference 60 detect-group 2 ip route-static 219.141.128.0 255.255.128.0 221.12.79.49 preference 60 det
32、ect-group 2 ip route-static 219.142.0.0 255.254.0.0 221.12.79.49 preference 60 detect-group 2 ip route-static 219.154.0.0 255.254.0.0 221.12.79.49 preference 60 detect-group 2 ip route-static 219.156.0.0 255.254.0.0 221.12.79.49 preference 60 detect-group 2 ip route-static 219.158.0.0 255.255.0.0 22
33、1.12.79.49 preference 60 detect-group 2 ip route-static 219.159.0.0 255.255.192.0 221.12.79.49 preference 60 detect-group 2 ip route-static 220.248.0.0 255.252.0.0 221.12.79.49 preference 60 detect-group 2 ip route-static 220.252.0.0 255.255.0.0 221.12.79.49 preference 60 detect-group 2 ip route-sta
34、tic 221.0.0.0 255.252.0.0 221.12.79.49 preference 60 detect-group 2ip route-static 221.4.0.0 255.254.0.0 221.12.79.49 preference 60 detect-group 2ip route-static 221.6.0.0 255.255.0.0 221.12.79.49 preference 60 detect-group 2ip route-static 221.7.128.0 255.255.128.0 221.12.79.49 preference 60 detect
35、-group 2 ip route-static 221.8.0.0 255.254.0.0 221.12.79.49 preference 60 detect-group 2ip route-static 221.10.0.0 255.255.0.0 221.12.79.49 preference 60 detect-group 2 ip route-static 221.11.0.0 255.255.128.0 221.12.79.49 preference 60 detect-group 2 ip route-static 221.12.0.0 255.252.0.0 221.12.79
36、.49 preference 60 detect-group 2 ip route-static 221.12.0.0 255.255.128.0 221.12.79.49 preference 60 detect-group 2 ip route-static 221.12.128.0 255.255.192.0 221.12.79.49 preference 60 detect-group 2 ip route-static 221.192.0.0 255.252.0.0 221.12.79.49 preference 60 detect-group 2 ip route-static 2
37、21.195.0.0 255.255.0.0 221.12.79.49 preference 60 detect-group 2 ip route-static 221.196.0.0 255.254.0.0 221.12.79.49 preference 60 detect-group 2 ip route-static 221.199.0.0 255.255.224.0 221.12.79.49 preference 60 detect-group 2 ip route-static 221.199.32.0 255.255.240.0 221.12.79.49 preference 60
38、 detect-group 2 ip route-static 221.199.128.0 255.255.192.0 221.12.79.49 preference 60 detect-group 2 ip route-static 221.199.192.0 255.255.240.0 221.12.79.49 preference 60 detect-group 2 ip route-static 221.200.0.0 255.252.0.0 221.12.79.49 preference 60 detect-group 2 ip route-static 221.204.0.0 25
39、5.254.0.0 221.12.79.49 preference 60 detect-group 2 ip route-static 221.207.0.0 255.255.192.0 221.12.79.49 preference 60 detect-group 2 ip route-static 221.208.0.0 255.240.0.0 221.12.79.49 preference 60 detect-group 2 ip route-static 221.208.0.0 255.252.0.0 221.12.79.49 preference 60 detect-group 2
40、ip route-static 221.213.0.0 255.255.0.0 221.12.79.49 preference 60 detect-group 2 ip route-static 221.214.0.0 255.254.0.0 221.12.79.49 preference 60 detect-group 2 ip route-static 222.128.0.0 255.252.0.0 221.12.79.49 preference 60 detect-group 2 ip route-static 222.132.0.0 255.252.0.0 221.12.79.49 p
41、reference 60 detect-group 2 ip route-static 222.136.0.0 255.248.0.0 221.12.79.49 preference 60 detect-group 2 ip route-static 222.160.0.0 255.252.0.0 221.12.79.49 preference 60 detect-group 2 ip route-static 222.163.0.0 255.255.224.0 221.12.79.49 preference 60 detect-group 2 ip route-static 0.0.0.0
42、0.0.0.0 20.1.1.2 preference 60 注:以上路由已包含大部分网通地址段,如有更新能动态添加。 经过如上三个设置步骤后,路由器便能自动区分网通流量和电信流量,使访问网通站点走网通线路,访问电信站点走电信线路。并且当网通线路出问题后所有流量都会自动转换到电信线路上,使用户能够不间断访问网络。 添加防火墙设置,增加网络的可性: 定义电信线路使用的acl 3001: DL.网管软件下载 能用实际电信网关地址替换地址60.190.80.112,实际内网地址网段替换192.168.2.0 0.0.0.255后直接复制粘贴: acl number 3001 rule 10 deny
43、 tcp destination-port eq 445 rule 11 deny udp destination-port eq 445 rule 20 deny tcp destination-port eq 135 rule 21 deny udp destination-port eq 135 rule 30 deny tcp destination-port eq 137 rule 31 deny udp destination-port eq netbios-ns rule 40 deny tcp destination-port eq 138 rule 41 deny udp d
44、estination-port eq netbios-dgm rule 50 deny tcp destination-port eq 139 rule 51 deny udp destination-port eq netbios-ssn rule 61 deny udp destination-port eq tftp rule 70 deny tcp destination-port eq 593 rule 80 deny tcp destination-port eq 4444 rule 90 deny tcp destination-port eq 707 rule 100 deny
45、 tcp destination-port eq 1433 rule 101 deny udp destination-port eq 1433 rule 110 deny tcp destination-port eq 1434 rule 111 deny udp destination-port eq 1434 rule 120 deny tcp destination-port eq 5554 rule 130 deny tcp destination-port eq 9996 rule 141 deny udp source-port eq bootps rule 160 permit
46、 icmp icmp-type echo rule 161 permit icmp icmp-type echo-reply rule 162 permit icmp icmp-type ttl-exceeded rule 165 deny icmp rule 200 deny tcp destination-port eq www rule 202 deny tcp destination-port eq ftp rule 204 deny tcp destination-port eq 3389 rule 2000 permit ip destination 60.190.80.112 0
47、 rule 2001 permit ip destination 192.168.2.0 0.0.0.255 rule 2002 deny ip 定义网通线路使用的acl 3002 能用实际网通网关地址替换地址221.12.79.49,实际内网地址网段替换192.168.2.0 0.0.0.255后直接复制粘贴: acl number 3002 rule 10 deny tcp destination-port eq 445 rule 11 deny udp destination-port eq 445 rule 20 deny tcp destination-port eq 135 rul
48、e 21 deny udp destination-port eq 135 rule 30 deny tcp destination-port eq 137 rule 31 deny udp destination-port eq netbios-ns rule 40 deny tcp destination-port eq 138 rule 41 deny udp destination-port eq netbios-dgm rule 50 deny tcp destination-port eq 139 rule 51 deny udp destination-port eq netbios-ssn rule 61 deny udp destination-port eq tftp rule 70 deny tcp destination-port eq 593 rule 80 deny tcp destination-port eq 4444 rule 90 deny tcp destination-port eq 707 rule 100 deny tcp destination-port eq 1433 rule 101 deny udp destination-port eq 1433 rule 110 deny tcp d