lingjiashucn 2007-12-24 16:27
思科双WAN以太口实现链路备份和负载分担
以知华为路由器实现链路备份和负载分担的配置如下,欲知道思科路由器上如何配置?
实例1:
detect-group 1
detect-list 1 ip address 100.100.100.6
#
detect-group 2
detect-list 1 ip address 200.200.200.6
#
acl number 2000
rule 0 permit source 192.168.1.0 0.0.0.255
rule 1 deny
#
interface Ethernet1/0
ip address 100.100.100.1 255.255.255.248
nat outbound 2000
#
interface Ethernet2/0
ip address 200.200.200.1 255.255.255.248
nat outbound 2000
#
interface Ethernet3/0
ip address 192.168.1.1 255.255.255.0
#
ip route-static 0.0.0.0 0.0.0.0 100.100.100.6 preference 60 detect-group 1
ip route-static 0.0.0.0 0.0.0.0 200.200.200.6 preference 80 detect-group 2
备注:
这个配置里面的100.100.100.6
200.200.200.6都是指对端ip
这个配置里面的100.100.100.1
200.200.200.1都是指本地路由器上的ip
实例2:
在实例1的基础上添加若干到网通的网段
ip route-static 58.16.0.0 255.255.0.0 200.200.200.6 preference 60 detect-group 2
ip route-static 58.17.128.0 255.255.128.0 200.200.200.6 preference 60 detect-group 2
ip route-static 58.18.0.0 255.255.0.0 200.200.200.6 preference 60 detect-group 2 。。。 由于篇幅有限就不打全了,全部到网通的网段可参照轻松配AR18-四产品-AR18-22-24