Analysis on the Application of high network availability in Enterprise Networks

Source: Internet
Author: User


There are many ways to build high network availability, such:
1. server clusters include LB: Server Load balancer cluster HA: high availability cluster 2. router device HSRP: hot backup routing protocol VRRP: vro redundancy protocol 3. linux Network interface binding bond4. lan: stp rstp mstp5, Wan Link: Floating Static Routing standby interface link binding
This time we will mainly talk about the methods in the WAN link: The following is a case to describe the configuration in detail:
A company's headquarters and its branches are located in different places. In this case, the Headquarters machine pc1 and its branch machine pc2 need to communicate securely and highly available. In this way, the communication between the Headquarters machine pc1 and the branch machine pc2 follows the network of the telecommunications provider and the isdn dial-up network, however, the dial-up network bandwidth is relatively low, so in normal cases, it is based on China Telecom (that is, port s0 In). When the main link fails, it is automatically switched to the dial-up network to continue normal communication, the specific configuration is as follows:
 
1. Solution: static route floating: R0: Configuration: [R0] int s0 [R0-Serial0] ip add 192.168.2.1 24 configure ip for s0 port [R0-Serial0] int s1 enter Wan Link Interface [R0-Serial1] ip add 192.168.3.1 24 configure ip for s1 port [R0-Serial1] int eth 0 [R0-Ethernet0] ip add 192.168.1.1 24 configure ip [R0-Ethernet0] quit [R0] ospf enable ospf Protocol [R0-ospf] int eth 0 [R0-Ethernet0] ospf en area for port eth0 0 add Port eth0 to area 0 of ospf Protocol [R0-Ethernet0] int s0 [R0-Serial0] ospf en area 0 also add Port s0 to area 0 [R0-Serial0] quit [R0] ip route 192.168.4.0 24 192.168.3.2 then configures a static route, another link is used.
R1: [Router] sysname R1 [R1] int s0 [R1-Serial0] ip add 192.168.2.2 24 [R1-Serial0] int s1 [R1-Serial1] ip add 192.168.3.2 24 [R1-Serial1] int eth 0 [R1-Ethernet0] ip add 192.168.4.1 24 [R1-Ethernet0] quit [R1] ospf en [R1-ospf] int eth 0 [R1-Ethernet0] ospf en area 0 [R1-Ethernet0] int s0 [R1-Serial0] ospf en area 0 [R1-Serial0] quit [R1] ip route 192.168.1.0 24 192.168.3.1 view the communication result and Path:
 
Because the ospf priority is 10 and the static route priority is 60, only the ospf route table is displayed here.
 
When one of the primary paths is disconnected:
View the communication status and Path:
 
 
We can see the link of the static route.
 
When the primary path is connected again:
 
Return to the main link again for communication:
 
2. Solution standby interface:
 
R 1 Configuration: r1] int s0 [R1-Serial0] ip add 192.168.2.2 24 configure ip address for Port [R1-Serial0] int s1 [R1-Serial1] ip add 192.168.3.2 24 [R1-Serial1] int eth 0 [R1-Ethernet0] ip add 192.168.4.1 24
[R1-Ethernet0] quit [R1] ip route 192.168.1.0 24 192.168.3.1 configure Static Routing on the main chain, [R1] ip route 192.168.1.0 24 192.168.2.1 configure the static route on the secondary link [R1] int s0 to enter port s0, this is the Backbone link [R1-Serial0] standby int s1 configuration backup interface [R1-Serial0] standby timer enable-delay 10 Backbone link disconnected, the delay in entering the backup link is 10 seconds [R1-Serial0] standby timer disable-delay 10 if dry recovery, after 10 s, switch from the backup link to the trunk [R1-Serial0] quit [R1] dis cu to view the configuration information Now create configuration... current configuration!
Version 1.74 sysname R1 firewall enable aaa-enable aaa accounting-scheme optional! Interface Aux0 async mode flow link-protocol ppp! Interface Ethernet0 ip address 192.168.4.1 255.255.255.0! Interface Ethernet1! Interface Serial0 link-protocol ppp standby interface Serial 1 standby timer enable-delay 10 standby timer disable-delay 10 ip address 192.168.2.2 255.255.255.0! Interface Serial1 clock DTECLK1 link-protocol ppp ip address 192.168.3.2 255.255.255.0!
Interface Async0 physical-mode async mode protocol link-protocol ppp! Interface Async1 physical-mode async mode protocol link-protocol ppp quit ip route-static 192.168.1.0 255.255.255.0 192.168.3.1 preference 60 ip route-static 192.168.1.0 255.255.255.0 192.168.2.1 preference 60! Return
R 0 Configuration: [R0] int s0 [R0-Serial0] ip add 192.168.2.1 24 configure ip for s0 port [R0-Serial0] int s1 enter Wan Link Interface [R0-Serial1] ip add 192.168.3.1 24 configure ip for s1 port [R0-Serial1] int eth 0 [R0-Ethernet0] ip add 192.168.1.1 24 configure ip [R0-Ethernet0] quit [R0] ip route 192.168.4.0 24 192.168.3.2 configure static route for 3.0 CIDR Block [R0] ip route 192.168.4.0 24 192.168.2.2 configure static route for 2.0 CIDR Block [R0] int s0 enter Backbone link interface [R0-Serial0] standby int s1 configure backup link [R0-Serial0] standby time ena The ble 10 Backbone link is disconnected and the delay in entering the backup link is 10 seconds [R0-Serial0] standby time disable 10 when the Backbone link recovers normal, the delay in entering dry path is 10 seconds [R0-Serial0] dis cu Now create configuration... current configuration!
Version 1.74 local-user user1 service-type administrator password simple 123 sysname R0 firewall enable aaa-enable aaa accounting-scheme optional! Interface Aux0 async mode flow link-protocol ppp! Interface Ethernet0 ip address 192.168.1.1 255.255.255.0! Interface Ethernet1!
Interface Serial0 clock DTECLK1 link-protocol ppp standby interface Serial 1 standby timer enable-delay 10 standby timer disable-delay 10 ip address 192.168.2.1 255.255.0! Interface Serial1 link-protocol ppp ip address 192.168.3.1 255.255.255.0! Quit ip route-static 192.168.4.0 255.255.255.0 192.168.3.2 preference 60 ip route-static 192.168.4.0 255.255.255.0 192.168.2.2 preference 60! Return: Check the communication status after the configuration is complete.
 
Tracing path information:
 
When the R1 s0 is disconnected, check its status:
 
 
 
Disconnect s0 from R1:
 
Let's look at the tracing path:
Changed to the main path:
 
3. Solution: link binding: to increase the bandwidth between two machines, we can bind the port as follows:
 
Configure R1: [R1] int eth 0 [R1-Ethernet0] ip add 192.168.4.1 24 configure ip [R1-Ethernet0] quit [R1] int virtual 10 create virtual Interface Template 10 for port eth0; [R1-Virtual-Template10] ip add 192.168.6.2 24 configure ip address for virtual Interface [R1-Virtual-Template10] quit [R1] int s0 enter s0 port R1-Serial0] ppp mp int virtual 10 bind this interface to virtual Interface [R1-Serial0] int s1 enter S1 port [R1-Serial1] ppp mp int virtual 10 bind this interface to virtual Interface [R1-Serial1] ppp mp enable this port binding function [R1-Serial1] int s0 [r1-Serial0] ppp mp enable multi-channel binding [R1-Serial0] quit [R1] ospf enable open ospf Protocol [R1] int vir 10 into virtual port [R1-Virtual-Template10] ospf enable area 0 add this virtual Port to the ospf 0 region
R0 Configuration: [R0] int eth 0 [R0-Ethernet0] ip add 192.168.1.1 24 configure ip [R0-Ethernet0] quit [R0] int virtual 10 enter virtual port [R0-Virtual-Template10] ip add 192.168.6.1 24 configure virtual address [R0-Virtual-Template10] quit [R0] int s0 [R0-Serial0] ppp mp multi-channel binding on this port [R0-Serial0] ppp mp int virtual 10 bind this port to a virtual link [R0-Serial0] int s1 [R0-Serial1] ppp mp enable multi-link binding for s1 port [R0-Serial1] ppp mp int virtual 10 bind to virtual link [R0-Serial1] quit [R0] ospf enable open ospf protocol
Start OSPF task... OSPF enabled [R0-ospf] int virtual 10 [R0-Virtual-Template10] ospf enable area 0 add virtual Interface to area 0 [R0-Virtual-Template10] quit [R0] dis cu Now create configuration... current configuration! Version 1.74 local-user user1 service-type administrator password simple 123 sysname R0 firewall enable aaa-enable aaa accounting-scheme optional! Interface Aux0 async mode flow link-protocol ppp! Interface Ethernet0 ip address 192.168.1.1 255.255.255.0! Interface Ethernet1! Interface Serial0 clock DTECLK1 link-protocol ppp mp interface Virtual-Template10! Interface Serial1 link-protocol ppp mp interface Virtual-Template10! Interface Virtual-Template10 link-protocol ppp ip address 192.168.6.1 255.255.255.0 ospf enable area 0.0.0.0! Quit ospf enable! Quit! Return to view the communication result:
 
 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.