Hot Standby Router Protocol
In computer networking, the Hot Standby Router Protocol (HSRP) is a Cisco proprietary redundancy protocol for establishing a fault-tolerant default gateway. Version 1 of the protocol was described in RFC 2281. There is no RFC for version 2 of the protocol.
The protocol establishes a framework between network routers in order to achieve default gateway failover if the primary gateway becomes inaccessible, in close association with a rapid-converging routing protocol like EIGRP or OSPF. HSRP routers send multicast Hello messages to other routers to notify them of their priorities (which router is preferred) and current status (Active or Standby).
The primary router with the highest configured priority will act as a virtual router with a pre-defined gateway IP address and will respond to the ARP / ND request from machines connected to the LAN with a virtual MAC address. If the primary router should fail, the router with the next-highest priority would take over the gateway IP address and answer ARP requests with the same MAC address, thus achieving transparent default gateway failover.
|HSRP version||IP Protocol||Group address||UDP Port||Virtual MAC address range|
|1||IPv4||184.108.40.206 (all routers)||1985||00:00:0c:07:ac:XX|
In the virtual MAC address, Xs represent the group ID in hex.
HSRP has the ability to trigger a failover if one or more interfaces on the router go down. This can be useful for dual branch routers each with a single link back to the gateway. If the link of the primary router goes down, the backup router will take over the primary functionality and thus retain connectivity to the gateway.
Version 2 of the protocol introduces stability, scalability and diagnostic improvements. It is not compatible with version 1 HSRP. There is no RFC for version 2 of the protocol.
- Virtual Router Redundancy Protocol - standards-based alternative to HSRP
- Gateway Load Balancing Protocol - Cisco proprietary router redundancy solution providing load balancing
- Common Address Redundancy Protocol - open source, patent-free and unrestricted alternative to HSRP and VRRP
- First-hop redundancy protocols - List of default gateway redundancy protocols
- First Hop Redundancy Protocols Configuration Guide, Cisco IOS Release 15M&T, Cisco Systems, retrieved 2016-05-28