1、双WAN链路采用offsetlist做链路负载均衡双WAN链路采用offset-list做链路负载均衡本网络采用双WAN链路连接,生厂网络数据通过生厂链路发送,OA网络数据通过OA链路发送,当一条链路失效情况所有数据切换到第二条链路,对生厂网络数据进行QOS优化,生厂网络与OA网络不能进行通迅以下为配置清单:采用EIGRP + offset-list + HSRP 进行冗余备份以下为配置清单,但没有加入ACL与QOS部份的配置。ACL可在交换机上启用,QOS在路由器上启用。启用QOS时注意两条链路的数据优先级(正常情况下,生厂链路以生厂数据为主,OA链路以OA数据以主,不管哪条链路出现问题,另
2、一条链路将以生厂数据为主。)R1配置清单R1#sh runBuilding configuration.Current configuration : 1465 bytes!version 12.4service timestamps debug datetime msecservice timestamps log datetime msecno service password-encryption!hostname R1!boot-start-markerboot-end-markerno aaa new-modelmemory-size iomem 5!ip cefno ip doma
3、in lookupinterface Serial0/0bandwidth 30000ip address 192.168.1.1 255.255.255.240serial restart-delay 0!interface Serial0/1no ip addressshutdownserial restart-delay 0!interface Serial0/2no ip addressshutdownserial restart-delay 0!interface Serial0/3no ip addressshutdownserial restart-delay 0!interfa
4、ce FastEthernet1/0ip address 172.16.1.1 255.255.255.252duplex autospeed auto!interface FastEthernet2/0ip address 172.16.1.10 255.255.255.248duplex autospeed autostandby 1 ip 172.16.1.12standby 1 priority 105standby 1 preemptstandby 2 ip 172.16.1.14standby 2 preempt!interface FastEthernet3/0no ip add
5、ressduplex autospeed auto!router eigrp 100redistribute connectedredistribute staticoffset-list 1 out 50000offset-list 1 out 50000 Serial0/0network 172.16.1.1 0.0.0.0network 172.16.1.10 0.0.0.0network 192.168.1.1 0.0.0.0no auto-summary!ip http server!ip forward-protocol ndip route 192.168.40.0 255.25
6、5.255.0 172.16.1.13ip route 192.168.50.0 255.255.255.0 172.16.1.13!access-list 1 permit 192.168.40.0 0.0.0.255!control-plane!line con 0line aux 0line vty 0 4login!endR2配置清单R2#sh runBuilding configuration.Current configuration : 1465 bytes!version 12.4service timestamps debug datetime msecservice tim
7、estamps log datetime msecno service password-encryption!hostname R2!boot-start-markerboot-end-marker!no aaa new-modelmemory-size iomem 5!ip cefno ip domain lookup!interface Serial0/0bandwidth 20000ip address 192.168.2.1 255.255.255.252serial restart-delay 0!interface Serial0/1no ip addressshutdownse
8、rial restart-delay 0!interface Serial0/2no ip addressshutdownserial restart-delay 0!interface Serial0/3no ip addressshutdownserial restart-delay 0!interface FastEthernet1/0ip address 172.16.1.2 255.255.255.252duplex autospeed auto!interface FastEthernet2/0ip address 172.16.1.11 255.255.255.248duplex
9、 autospeed autostandby 1 ip 172.16.1.12standby 1 preemptstandby 2 ip 172.16.1.14standby 2 priority 105standby 2 preempt!interface FastEthernet3/0no ip addressduplex autospeed auto!router eigrp 100redistribute connectedredistribute staticoffset-list 1 out 50000offset-list 1 out 50000 Serial0/0network
10、 172.16.1.2 0.0.0.0network 172.16.1.11 0.0.0.0network 192.168.2.1 0.0.0.0no auto-summary!ip http server!ip forward-protocol ndip route 192.168.40.0 255.255.255.0 172.16.1.13ip route 192.168.50.0 255.255.255.0 172.16.1.13!access-list 1 permit 192.168.50.0 0.0.0.255!control-plane!line con 0line aux 0l
11、ine vty 0 4login!endR3配置清单R3#sh runBuilding configuration.Current configuration : 1426 bytes!version 12.4service timestamps debug datetime msecservice timestamps log datetime msecno service password-encryption!hostname R3!boot-start-markerboot-end-marker!no aaa new-modelmemory-size iomem 5!ip cefno
12、ip domain lookup!interface Serial0/0bandwidth 30000ip address 192.168.1.2 255.255.255.240serial restart-delay 0!interface Serial0/1no ip addressshutdownserial restart-delay 0!interface Serial0/2no ip addressshutdownserial restart-delay 0!interface Serial0/3no ip addressshutdownserial restart-delay 0
13、!interface FastEthernet1/0ip address 172.16.3.1 255.255.255.252duplex autospeed auto!interface FastEthernet2/0ip address 172.16.3.10 255.255.255.248duplex autospeed autostandby 1 ip 172.16.3.12standby 1 priority 105standby 1 preemptstandby 2 ip 172.16.3.14standby 2 preempt!interface FastEthernet3/0n
14、o ip addressduplex autospeed auto!router eigrp 100redistribute connectedredistribute staticoffset-list 1 in 50000network 172.16.3.1 0.0.0.0network 172.16.3.10 0.0.0.0network 192.168.1.2 0.0.0.0no auto-summary!ip http server!ip forward-protocol ndip route 172.16.2.0 255.255.255.0 172.16.3.13ip route
15、172.16.12.0 255.255.255.0 172.16.3.13!access-list 1 permit 192.169.40.0 0.0.0.255!control-plane!line con 0line aux 0line vty 0 4login!endR4配置清单R4#sh runBuilding configuration.Current configuration : 1426 bytes!version 12.4service timestamps debug datetime msecservice timestamps log datetime msecno s
16、ervice password-encryption!hostname R4!boot-start-markerboot-end-marker!no aaa new-modelmemory-size iomem 5!ip cefno ip domain lookup!interface Serial0/0bandwidth 20000ip address 192.168.2.2 255.255.255.252serial restart-delay 0!interface Serial0/1no ip addressshutdownserial restart-delay 0!interfac
17、e Serial0/2no ip addressshutdownserial restart-delay 0!interface Serial0/3no ip addressshutdownserial restart-delay 0!interface FastEthernet1/0ip address 172.16.3.2 255.255.255.252duplex autospeed auto!interface FastEthernet2/0ip address 172.16.3.11 255.255.255.248duplex autospeed autostandby 1 ip 1
18、72.16.3.12standby 1 preemptstandby 2 ip 172.16.3.14standby 2 priority 105standby 2 preempt!interface FastEthernet3/0no ip addressduplex autospeed auto!router eigrp 100redistribute connectedredistribute staticoffset-list 1 in 50000network 172.16.3.2 0.0.0.0network 172.16.3.11 0.0.0.0network 192.168.2
19、.2 0.0.0.0no auto-summary!ip http server!ip forward-protocol ndip route 172.16.2.0 255.255.255.0 172.16.3.13ip route 172.16.12.0 255.255.255.0 172.16.3.13!access-list 1 permit 192.168.50.0 0.0.0.255!control-plane!line con 0line aux 0line vty 0 4login!endSW-1配置清单sw1#sh runBuilding configuration.Curre
20、nt configuration : 1138 bytes!version 12.4service timestamps debug datetime msecservice timestamps log datetime msecno service password-encryption!hostname sw1!boot-start-markerboot-end-marker!no aaa new-modelmemory-size iomem 5!ip cefno ip domain lookup!interface FastEthernet0/0!interface FastEther
21、net0/1!interface FastEthernet0/2!interface FastEthernet0/3!interface FastEthernet0/4!interface FastEthernet0/5!interface FastEthernet0/6!interface FastEthernet0/7!interface FastEthernet0/8!interface FastEthernet0/9!interface FastEthernet0/10!interface FastEthernet0/11!interface FastEthernet0/12!inte
22、rface FastEthernet0/13!interface FastEthernet0/14switchport access vlan 3!interface FastEthernet0/15switchport access vlan 2!interface Vlan1ip address 172.16.1.13 255.255.255.248!interface Vlan2ip address 192.168.40.1 255.255.255.0!interface Vlan3ip address 192.168.50.1 255.255.255.0ip access-group
23、101 inno ip unreachables!ip http server!ip forward-protocol nd!control-plane!line con 0line aux 0line vty 0 4login!endSW-2配置清单sw2#sh runBuilding configuration.Current configuration : 1108 bytes!version 12.4service timestamps debug datetime msecservice timestamps log datetime msecno service password-
24、encryption!hostname sw2!boot-start-markerboot-end-marker!no aaa new-modelmemory-size iomem 5!ip cef!interface FastEthernet0/0!interface FastEthernet0/1!interface FastEthernet0/2!interface FastEthernet0/3!interface FastEthernet0/4!interface FastEthernet0/5!interface FastEthernet0/6!interface FastEthe
25、rnet0/7!interface FastEthernet0/8!interface FastEthernet0/9!interface FastEthernet0/10!interface FastEthernet0/11!interface FastEthernet0/12!interface FastEthernet0/13!interface FastEthernet0/14switchport access vlan 3!interface FastEthernet0/15switchport access vlan 2!interface Vlan1ip address 172.
26、16.3.13 255.255.255.248!interface Vlan2ip address 172.16.2.1 255.255.255.0no ip redirectsno ip unreachables!interface Vlan3ip address 172.16.12.1 255.255.255.0!ip http server!ip forward-protocol nd!control-plane!line con 0line aux 0line vty 0 4login!end现在在左边OFFICE的路由器R1与R2上加入了offset-list命令,我们将从R3与R4
27、查看相关信息R3#sh ip eigrp topologyIP-EIGRP Topology Table for AS(100)/ID(192.168.1.2)Codes: P - Passive, A - Active, U - Update, Q - Query, R - Reply, r - reply Status, s - sia StatusP 192.168.40.0/24, 2 successors, FD is 645120 via 172.16.3.2 (645120/642560), FastEthernet1/0 via 172.16.3.11 (645120/642560), FastEthernet2/0 v
copyright@ 2008-2022 冰豆网网站版权所有
经营许可证编号:鄂ICP备2022015515号-1