In the network, the use of various hardware will cause a high temperature environment. So we can use the hot backup routing protocol HSRP) for configuration. So what is the hot backup routing protocol HSRP )? The Hot backup routing Protocol HSRP, Hot Standby Router Protocol) is a routing Protocol that allows hosts on the Internet to use multiple routers as a single virtual Router) to maintain the connection, in this way, even if the first hop router fails, other routers can be enabled immediately because they are in the "hot backup" status. The hot backup routing protocol is configured on the Cisco router that runs the Ethernet Internet protocol, the fiber distributed data interface FDDI) and the ring LAN. The hot backup routing protocol provides automatic route backup. This Protocol is fully compatible with Novell's IPX protocol, AppleTalk and Banyan VINES, and is compatible with Xerox network system XNS and DECnet in some configurations.
Hot Backup routing protocol (HSRP) is developed by Cisco) and is specified in request annotation RFC 2281 in the Internet Engineering Task Group IETF, the hot backup routing protocol ensures that only one router is called an active router in a certain period of time. The backup router is selected and always ready to become the active router when the current active router fails ). The hot backup routing protocol defines a mechanism for determining active and backup routers through IP addresses. Once these conditions are determined, an active router will not experience major connection interruptions if it fails.
In any particular network, there may be multiple or overlapping Hot Backup groups, each of which has a single media access control MAC address and IP address; the IP address should belong to the primary subnet, but it must be different from the actual or virtual address assigned to the router or host address in the network.
The so-called hot backup routing protocol (HSRP) is designed to provide us with such a mechanism. It is designed to support uninterrupted services when IP transmission fails. Specifically, this protocol is used to prevent the failure of the first hop route when the source host cannot dynamically learn the IP address of the first hop router. It is mainly used for multi-access, multicast, and broadcast LAN, such as Ethernet ).
Of course, HSRP is not intended to replace the existing dynamic routing discovery mechanism, and these existing routing protocols can still be used, but not in any possible situation. In the past, most hosts did not support the dynamic routing discovery protocol. They work by configuring the default routing. However, HSRP provides them with a failure service mechanism. All the routers involved in HSRP are assumed to have configured the appropriate IP routing protocol, there are also several routes.
The purpose of the hot backup routing protocol (HSRP) is to make the host look like it only uses one vro, and maintain the connectivity of the route even if the current first hop router fails. All vrouters involved in this Protocol are mapped to a virtual router. This protocol guarantees that only one vro sends packets on behalf of the vro. The terminal sends data packets to the vro. The router of the forwarding packet is changed to a live router. If the active router cannot work for some reason at some time, the backup router will be chosen to replace the original active router. This Protocol provides a mechanism for defining Active Routers and backup routers. Use the IP address on the router designed by the Protocol. If the active router fails, the backup router will immediately replace the active router without causing a major interruption to the host's connectivity.
When using HSRP, the work of a group of routers will be consistent as the work of a virtual router connecting the LAN to the host. This group of routers is called an HSRP group or a backup group. In this group, a vro is selected to forward data packets sent from the host to the vro. This router is called a live router. Another vro will be selected as a backup vro. If the active router fails, the backup router will be responsible for the packet forwarding function of the active router. Even if you can specify the number of routers running HSRP at will, only the active router can forward the data packets sent to the virtual router.
To minimize network congestion, only Active Routers and backup routers in the network can send an HSRP message packet after the HSRP protocol is selected. If the active router fails, the backup router replaces it as a new active router. When the backup router fails or becomes a live router, the other router will be selected as the backup router.
In a LAN, multiple hot standby groups can coexist and overlap. Each backup group imitates a vro. Each backup group has a known MAC address and an IP address. This IP address should be the address in the first subnet of the LAN, but it must be different from the address set on all router ports and the address of the host in the LAN, it even includes addresses set for other HSRP groups.
If multiple hot backup routing protocols (HSRP) are set in a LAN, assigning hosts to different backup groups will result in a network load explosion.