Today, we will introduce three common high availability links: Floating routing, backup center, and link bundling. First: floating route 1 floating route Introduction: Floating static route is a special static route. By configuring a static route with a higher management distance than the main route, if the active route in the network fails, the backup route is provided. However, if the primary route exists, it does not appear in the routing table. Floating Static Routing is mainly used for number backup.
Static Routing is used when the Ethernet link is preferentially selected. When the Ethernet link fails, the serial link is used. After the Ethernet link is restored, the Ethernet link is preferentially selected. Therefore, you only need to change the Management Distance of the serial link. 2. Test topology:
3. floating route configuration method: [R1 route configuration information] [configuration interface ip address and other related information] [Router] SYSNA R1 [R1] int s0 [R1-Serial0] ip add 192.168.10.1 24 [R1-Serial0] int s1 [R1-Serial1] ip add 192.168.20.1 24 [R1] int e0 [R1-Ethernet0] ip add 192.168.1.254 24
[Configure ospf routing protocol and Static Routing Protocol] [R1] ospf enable [enable ospf] [R1-ospf] quit [R1] int e0 [enable ospf on interface] [R1-Ethernet0] ospf enable area 0 [R1-Ethernet0] int s0 [R1-Serial0] ospf enable area 0 [R1-Serial0] quit [R1] ip route-static 192.168.2.0 24 192.168.20.2 [static Routing]
[R2 route configuration information] [configure interface ip address and other related information] [R2] int e0 [R2-Ethernet0] ip add 192.168.2.254 24 [R2-Ethernet0] int s0 [R2-Serial0] ip add 192.168.10.2 24 [R2-Serial0] int s1 [R2-Serial1] ip add 192.168.20.2 24
[Configure Routing Protocol] [R2] ospf enable [enable ospf] [R2-ospf] quit [R2] int e0 [R2-Ethernet0] ospf enable area 0 [enable ospf on interface] [R2-Ethernet0] int s0 [R2-Serial0] ospf enable area 0 [R2-Serial0] quit [R2] ip route-static 192.168.1.0 24 192.168.20.1 [configure static Routing] [R2] int e0 [R2-Ethernet0] ip add 192.168.2.254 24 [R2-Ethernet0] undo shut4 connectivity test R1 route table
Disconnect s0 Interface
Type 2: backup center standby interface1 backup center Introduction: it enables high availability and backup functions for the network. Any interface can be used as a backup interface or a primary interface. You can also provide multiple backup interfaces for a primary interface. The backup Center supports the backup load sharing function. When the traffic of all active interfaces in the backup chain reaches the set threshold, the router starts an available backup interface with the highest priority to share the load with the main interface; when the traffic of all active interfaces in the backup chain is less than the set threshold, the router closes a backup interface with the lowest priority. 2. Test topology:
3 backup center configuration method [R1] int s0 [R1-Serial0] ip add 192.168.10.1 24 [configuration address information] [R1-Serial0] int s1 [configuration interface ip address information] [R1-Serial1] ip add 192.168.20.1 24 [R1] int e0 [R1-Ethernet0] ip add 192.168.1.254 24 [R1] ip route-static 192.168.2.0 24 192.168.10.2 [configure static ip address] [R1] ip route-static 192.168.2.0 24 192.168.20.2 [configure static IP Address [R1] int s0 [enter interface S0] [R1-Serial0] standby interface s1 [declare s1 as the backup interface of s0 interface] [R1-Serial0] standby timer enable-delay 5 [Set confirmation time from Master interface to backup interface is 5 seconds] [R1-Serial0] standby timer disable-delay 5 [set confirmation time from backup interface to master interface to 5 seconds ][ r1-Serial0] quit
[R2 route configuration information] [R2] int e0 [R2-Ethernet0] ip add 192.168.2.254 24 [R2-Ethernet0] int s0 [R2-Serial0] ip add 192.168.10.2 24 [R2-Serial0] int s1 [R2-Serial1] ip add 192.168.20.2 24 [R2] ip route-static 192.168.1.0 24 192.168.10.1 [R2] ip route-static 192.168.1.0 24 192.168.20.1 [R2] int s0 [Entry main interface] [R2-Serial0] standby interface s1 [Declaration backup interface is s1 [R2-Serial0] standby timer enable-delay 5 [set confirmation time from Master interface to backup interface to 5 seconds] [R2-Serial0] standby timer disable-delay 5 【 set the confirmation time from backup interface to master interface to 5 seconds] [R2-Serial0] quit4 connectivity test: r1 route table
Disconnect S0
Third: ppp link bundle 1 link bundle introduction in order to increase bandwidth, multiple PPP links can be used together, called MultiLink PPP (MP for short. After the MP splits the packets (less than the minimum packet length), multiple PPP channels under the MP link are sent to the PPP peer end. The peer end assembles the packets and passes them to the network layer. 2. Test topology:
3 link bundle configuration information [R1] int e0 [R1-Ethernet0] ip add 192.168.1.254 24 [configure interface ip address information] [R1] int virtual-template 1 [create virtual Link Interface vir 1] [R1-Virtual-Template1] ip add 192.168.100.1 24 [configure ip address for virtual Link Interface] [R1-Virtual-Template1] int s0 [enter interface S0] [R1-Serial0] ppp mp int virtual-template 1 [bind s0 to virtual link] [R1-Serial0] int s1 [Entry s1 interface] [R1-Serial1] ppp mp int virtual-template 1 [bind s1 to virtual link] [R1-Serial0] int s1 【 enter interface S1 [R1-Serial1] ppp mp [start multi-link bundle on interface] [R1-Serial1] int s0 [enter interface S0] [R1-Serial0] ppp mp [start link bundle on this interface] [R1] ip route 192.168.2.0 24 192.168.100.2 [configure Static Routing]
[R2 router configuration information] [R2] int e0 [R2-Ethernet0] ip add 192.168.2.254 24 [configure ip address and other related information] [R2] int virtual-template 1 [create virtual bundle link vir1] [R2-Virtual-Template1] ip add 192.168.100.2 24 [R2-Virtual-Template1] int s0 [entering interface S0] [R2-Serial0] ppp mp int virtual-template 1 [Starting virtual link bundle on this interface] [R2-Serial0] int s1 [R2-Serial1] ppp mp int virtual-template 1 [R2-Serial0] int s1 [R2-Serial1] ppp mp [Starting virtual link bundle on interface s1] [R2-Serial1] int s0 [R2-Serial0] ppp mp [R2] ip route 192.168.1.0 24 192.168.100.14 "connectivity test: test the connectivity between pc1 and pc2
Disconnect s0