双WAN链路采用offsetlist做链路负载均衡.docx
《双WAN链路采用offsetlist做链路负载均衡.docx》由会员分享,可在线阅读,更多相关《双WAN链路采用offsetlist做链路负载均衡.docx(20页珍藏版)》请在冰豆网上搜索。
双WAN链路采用offsetlist做链路负载均衡
双WAN链路采用offset-list做链路负载均衡
本网络采用双WAN链路连接,生厂网络数据通过生厂链路发送,OA网络数据通过OA链路发送,当一条链路失效情况所有数据切换到第二条链路,对生厂网络数据进行QOS优化,生厂网络与OA网络不能进行通迅
以下为配置清单:
采用EIGRP+offset-list+HSRP进行冗余备份
以下为配置清单,但没有加入ACL与QOS部份的配置。
ACL可在交换机上启用,QOS在路由器上启用。
启用QOS时注意两条链路的数据优先级(正常情况下,生厂链路以生厂数据为主,OA链路以OA数据以主,不管哪条链路出现问题,另一条链路将以生厂数据为主。
)
R1配置清单
R1#shrun
Buildingconfiguration...
Currentconfiguration:
1465bytes
!
version12.4
servicetimestampsdebugdatetimemsec
servicetimestampslogdatetimemsec
noservicepassword-encryption
!
hostnameR1
!
boot-start-marker
boot-end-marker
noaaanew-model
memory-sizeiomem5
!
!
ipcef
noipdomainlookup
interfaceSerial0/0
bandwidth30000
ipaddress192.168.1.1255.255.255.240
serialrestart-delay0
!
interfaceSerial0/1
noipaddress
shutdown
serialrestart-delay0
!
interfaceSerial0/2
noipaddress
shutdown
serialrestart-delay0
!
interfaceSerial0/3
noipaddress
shutdown
serialrestart-delay0
!
interfaceFastEthernet1/0
ipaddress172.16.1.1255.255.255.252
duplexauto
speedauto
!
interfaceFastEthernet2/0
ipaddress172.16.1.10255.255.255.248
duplexauto
speedauto
standby1ip172.16.1.12
standby1priority105
standby1preempt
standby2ip172.16.1.14
standby2preempt
!
interfaceFastEthernet3/0
noipaddress
duplexauto
speedauto
!
routereigrp100
redistributeconnected
redistributestatic
offset-list1out50000
offset-list1out50000Serial0/0
network172.16.1.10.0.0.0
network172.16.1.100.0.0.0
network192.168.1.10.0.0.0
noauto-summary
!
iphttpserver
!
ipforward-protocolnd
iproute192.168.40.0255.255.255.0172.16.1.13
iproute192.168.50.0255.255.255.0172.16.1.13
!
!
access-list1permit192.168.40.00.0.0.255
!
!
!
control-plane
!
!
!
!
!
!
!
!
!
linecon0
lineaux0
linevty04
login
!
!
end
R2配置清单
R2#shrun
Buildingconfiguration...
Currentconfiguration:
1465bytes
!
version12.4
servicetimestampsdebugdatetimemsec
servicetimestampslogdatetimemsec
noservicepassword-encryption
!
hostnameR2
!
boot-start-marker
boot-end-marker
!
!
noaaanew-model
memory-sizeiomem5
!
!
ipcef
noipdomainlookup
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interfaceSerial0/0
bandwidth20000
ipaddress192.168.2.1255.255.255.252
serialrestart-delay0
!
interfaceSerial0/1
noipaddress
shutdown
serialrestart-delay0
!
interfaceSerial0/2
noipaddress
shutdown
serialrestart-delay0
!
interfaceSerial0/3
noipaddress
shutdown
serialrestart-delay0
!
interfaceFastEthernet1/0
ipaddress172.16.1.2255.255.255.252
duplexauto
speedauto
!
interfaceFastEthernet2/0
ipaddress172.16.1.11255.255.255.248
duplexauto
speedauto
standby1ip172.16.1.12
standby1preempt
standby2ip172.16.1.14
standby2priority105
standby2preempt
!
interfaceFastEthernet3/0
noipaddress
duplexauto
speedauto
!
routereigrp100
redistributeconnected
redistributestatic
offset-list1out50000
offset-list1out50000Serial0/0
network172.16.1.20.0.0.0
network172.16.1.110.0.0.0
network192.168.2.10.0.0.0
noauto-summary
!
iphttpserver
!
ipforward-protocolnd
iproute192.168.40.0255.255.255.0172.16.1.13
iproute192.168.50.0255.255.255.0172.16.1.13
!
!
access-list1permit192.168.50.00.0.0.255
!
!
!
control-plane
!
!
!
!
!
!
!
!
!
linecon0
lineaux0
linevty04
login
!
!
end
R3配置清单
R3#shrun
Buildingconfiguration...
Currentconfiguration:
1426bytes
!
version12.4
servicetimestampsdebugdatetimemsec
servicetimestampslogdatetimemsec
noservicepassword-encryption
!
hostnameR3
!
boot-start-marker
boot-end-marker
!
!
noaaanew-model
memory-sizeiomem5
!
!
ipcef
noipdomainlookup
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interfaceSerial0/0
bandwidth30000
ipaddress192.168.1.2255.255.255.240
serialrestart-delay0
!
interfaceSerial0/1
noipaddress
shutdown
serialrestart-delay0
!
interfaceSerial0/2
noipaddress
shutdown
serialrestart-delay0
!
interfaceSerial0/3
noipaddress
shutdown
serialrestart-delay0
!
interfaceFastEthernet1/0
ipaddress172.16.3.1255.255.255.252
duplexauto
speedauto
!
interfaceFastEthernet2/0
ipaddress172.16.3.10255.255.255.248
duplexauto
speedauto
standby1ip172.16.3.12
standby1priority105
standby1preempt
standby2ip172.16.3.14
standby2preempt
!
interfaceFastEthernet3/0
noipaddress
duplexauto
speedauto
!
routereigrp100
redistributeconnected
redistributestatic
offset-list1in50000
network172.16.3.10.0.0.0
network172.16.3.100.0.0.0
network192.168.1.20.0.0.0
noauto-summary
!
iphttpserver
!
ipforward-protocolnd
iproute172.16.2.0255.255.255.0172.16.3.13
iproute172.16.12.0255.255.255.0172.16.3.13
!
!
access-list1permit192.169.40.00.0.0.255
!
!
!
control-plane
!
!
!
!
!
!
!
!
!
linecon0
lineaux0
linevty04
login
!
!
end
R4配置清单
R4#shrun
Buildingconfiguration...
Currentconfiguration:
1426bytes
!
version12.4
servicetimestampsdebugdatetimemsec
servicetimestampslogdatetimemsec
noservicepassword-encryption
!
hostnameR4
!
boot-start-marker
boot-end-marker
!
!
noaaanew-model
memory-sizeiomem5
!
!
ipcef
noipdomainlookup
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interfaceSerial0/0
bandwidth20000
ipaddress192.168.2.2255.255.255.252
serialrestart-delay0
!
interfaceSerial0/1
noipaddress
shutdown
serialrestart-delay0
!
interfaceSerial0/2
noipaddress
shutdown
serialrestart-delay0
!
interfaceSerial0/3
noipaddress
shutdown
serialrestart-delay0
!
interfaceFastEthernet1/0
ipaddress172.16.3.2255.255.255.252
duplexauto
speedauto
!
interfaceFastEthernet2/0
ipaddress172.16.3.11255.255.255.248
duplexauto
speedauto
standby1ip172.16.3.12
standby1preempt
standby2ip172.16.3.14
standby2priority105
standby2preempt
!
interfaceFastEthernet3/0
noipaddress
duplexauto
speedauto
!
routereigrp100
redistributeconnected
redistributestatic
offset-list1in50000
network172.16.3.20.0.0.0
network172.16.3.110.0.0.0
network192.168.2.20.0.0.0
noauto-summary
!
iphttpserver
!
ipforward-protocolnd
iproute172.16.2.0255.255.255.0172.16.3.13
iproute172.16.12.0255.255.255.0172.16.3.13
!
!
access-list1permit192.168.50.00.0.0.255
!
!
!
control-plane
!
!
!
!
!
!
!
!
!
linecon0
lineaux0
linevty04
login
!
!
end
SW-1配置清单
sw1#shrun
Buildingconfiguration...
Currentconfiguration:
1138bytes
!
version12.4
servicetimestampsdebugdatetimemsec
servicetimestampslogdatetimemsec
noservicepassword-encryption
!
hostnamesw1
!
boot-start-marker
boot-end-marker
!
!
noaaanew-model
memory-sizeiomem5
!
!
ipcef
noipdomainlookup
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interfaceFastEthernet0/0
!
interfaceFastEthernet0/1
!
interfaceFastEthernet0/2
!
interfaceFastEthernet0/3
!
interfaceFastEthernet0/4
!
interfaceFastEthernet0/5
!
interfaceFastEthernet0/6
!
interfaceFastEthernet0/7
!
interfaceFastEthernet0/8
!
interfaceFastEthernet0/9
!
interfaceFastEthernet0/10
!
interfaceFastEthernet0/11
!
interfaceFastEthernet0/12
!
interfaceFastEthernet0/13
!
interfaceFastEthernet0/14
switchportaccessvlan3
!
interfaceFastEthernet0/15
switchportaccessvlan2
!
interfaceVlan1
ipaddress172.16.1.13255.255.255.248
!
interfaceVlan2
ipaddress192.168.40.1255.255.255.0
!
interfaceVlan3
ipaddress192.168.50.1255.255.255.0
ipaccess-group101in
noipunreachables
!
iphttpserver
!
ipforward-protocolnd
!
!
!
!
!
control-plane
!
!
!
!
!
!
!
!
!
linecon0
lineaux0
linevty04
login
!
!
end
SW-2配置清单
sw2#shrun
Buildingconfiguration...
Currentconfiguration:
1108bytes
!
version12.4
servicetimestampsdebugdatetimemsec
servicetimestampslogdatetimemsec
noservicepassword-encryption
!
hostnamesw2
!
boot-start-marker
boot-end-marker
!
!
noaaanew-model
memory-sizeiomem5
!
!
ipcef
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interfaceFastEthernet0/0
!
interfaceFastEthernet0/1
!
interfaceFastEthernet0/2
!
interfaceFastEthernet0/3
!
interfaceFastEthernet0/4
!
interfaceFastEthernet0/5
!
interfaceFastEthernet0/6
!
interfaceFastEthernet0/7
!
interfaceFastEthernet0/8
!
interfaceFastEthernet0/9
!
interfaceFastEthernet0/10
!
interfaceFastEthernet0/11
!
interfaceFastEthernet0/12
!
interfaceFastEthernet0/13
!
interfaceFastEthernet0/14
switchportaccessvlan3
!
interfaceFastEthernet0/15
switchportaccessvlan2
!
interfaceVlan1
ipaddress172.16.3.13255.255.255.248
!
interfaceVlan2
ipaddress172.16.2.1255.255.255.0
noipredirects
noipunreachables
!
interfaceVlan3
ipaddress172.16.12.1255.255.255.0
!
iphttpserver
!
ipforward-protocolnd
!
!
!
!
!
control-plane
!
!
!
!
!
!
!
!
!
linecon0
lineaux0
linevty04
login
!
!
end
现在在左边OFFICE的路由器R1与R2上加入了offset-list命令,我们将从R3与R4查看相关信息
R3#shipeigrptopology
IP-EIGRPTopologyTableforAS(100)/ID(192.168.1.2)
Codes:
P-Passive,A-Active,U-Update,Q-Query,R-Reply,
r-replyStatus,s-siaStatus
P192.168.40.0/24,2successors,FDis645120
via172.16.3.2(645120/642560),FastEthernet1/0
via172.16.3.11(645120/642560),FastEthernet2/0
v