Analysis of knowledge about Cisco backup Routers

Source: Internet
Author: User

With the development of the routing industry, its application is more extensive. Here we mainly analyze the knowledge about the backup router. Network Transmission of some key business data of some enterprises or organizations requires high reliability of network equipment and convenient maintenance.

There are multiple backup technologies for Cisco routers. Here we will introduce the router's own backup technology and line backup technology. Generally, a router is a bridge between a LAN and a wan. The so-called router's own backup technology is designed to solve some fault or local port fault of the router due to its hardware such as memory, CPU) or software IOS, network breakdown caused by the failure of the port or line of the connected local area device. A backup router must have at least one vro with the same functions as the active primary router. When the active router is paralyzed, it replaces the primary router in some way to provide routing services for LAN users. For LAN computers, how to find a backup router when the master router is paralyzed is as follows:

◆ Proxy ARP
◆ IRDP
◆ Dynamic Routing
◆ HSRP
◆ Proxy ARP

Computers that support Proxy ARP send ARP broadcasts to find the MAC address corresponding to the destination address, whether they communicate with computers in different network segments or in this network segment, the router that knows the destination address will respond to the ARP request and broadcast its MAC address to the source computer. Then, the source computer will send the IP packet to the router, the router finally sends the data packet to the destination. When the master router crashes and the computer communicates again, it will continue to send the Proxy ARP broadcast, back up the router to respond to the request and transmit data.

If the main router is paralyzed when data is being transmitted, the computer that is communicating before sending another Proxy ARP request. it is impossible to know that the master router is paralyzed and will continue to send packets to the router, resulting in transmission interruption, the computer that is in communication can find the backup router for transmission only after another Proxy ARP request is sent or restarted. Computers that support IRDP in the LAN will listen to the Multi-Point broadcast information packet "Hello" sent by the master router. If the computer no longer receives the "Hello" message, it uses the backup router for data transmission.

Dynamic Routing

Some computers support dynamic RIP routing to find routers. The disadvantage of this method is that the conversion between the primary router and the backup router is slow. The above three methods are mainly used on the computer side. The Cisco router provides the HSRP technology, which does not require any computer settings, the switching between the primary router and the backup router is transparent, and the switching speed between them is fast. A group of routers that use HSRP for backup share a virtual MAC address and virtual IP address. Each local port that participates in HSRP has a local IP address and MAC address, each vro has a weight value, and the highest weight is used as the master router. Others do not work. When the master router is paralyzed, The vro with the highest weight will act as the master router, and so on. Vrouters regularly exchange weights to determine the working status of the vro.

If the primary Router does not send this information packet for a period of time, other backup routers will think that the router is broken, and the backup router with a high weight will take over the virtual MAC address and IP address, responsible for data transmission. Once the primary router returns to normal, it will automatically switch back and take over data transmission again. Then, the backup router stops transmission and is in the backup state. In addition, HSRP allows the router to monitor the working status of some ports. Once the port fails, it also performs automatic failover. In short, for LAN computers, there is only one gateway, that is, a virtual IP address. All the backup work is automatically completed by the router. HSRP is applicable to the situations where the routes of the primary router and the backup router are exactly the same. Using the HSRP function, we recommend that you use dynamic routing protocols with fast convergence speed, such as OSPF and VPN. Basic HSRP configuration steps:

1. Under port configuration, set the port IP Address

Ip address port IP address Subnet Mask

2. Enable the HSRP function under port configuration and set the virtual IP Address

Standby group number IP virtual IP Address

Only routers with the same group number belong to the same hsrp group, and the virtual addresses of all routers belonging to the same hsrp group must be consistent.

3. Set HSRP preemption in the port setting status

Standby group number preempt

This setting allows other routers in the hsrp group to be the primary router. This option should be set for all routers so that each router can become a backup router for other routers. If this option is not set, the weight of the vro。 is higher than that of the primary router.

4. Set the hsrp weight of the vro

Standby group number priority weight

If this item is not set, the default weight is 100, and the weight number is large, the priority of preemptible master router is higher.

5. Set the hsrp group router authentication string

Standby group number authentication string

This option is optional. If this option is set, all vrouters In the hsrp group must perform this option, and only vrouters in the group with the same string can perform hsrp.

6. Set the hsrp switching time

Standby group number time parameter 1 time parameter 2

The Time Parameter 1 indicates how long the router exchanges the hello message at each interval to indicate whether the router is faulty or working properly. The Time Parameter 2 indicates the time in which other routers in the same group did not receive the information of the primary router, and the primary router is declared paralyzed. The default values are 3 seconds and 10 seconds respectively. If you want to change the default value, all the vrouters In the hsrp group must have the same settings.

7. Port tracking settings

This setting indicates that if the monitored port fails, the router is also switched. Multiple external ports can be tracked. NOTE: If multiple lines are tracked on the primary router, when one line fails, it will switch to the backup router, even if everything else works normally, the route can only be resold after the primary router works normally. This setting can be fully implemented by the line backup function in practical applications. In most cases, this setting does not make much sense. In addition, hsrp has many other settings and applications. For more information, see the Cisco site or Cisco Document or contact the Technical Support Center.

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.