High Availability (HA) in enterprise networking ensures continuous operational uptime and eliminates single points of failure through redundant hardware, links, and protocols. First Hop Redundancy Protocols (FHRP) like HSRP (Hot Standby Router Protocol) and VRRP (Virtual Router Redundancy Protocol) share a single Virtual IP (VIP) and Virtual MAC address across multiple physical gateways.
FHRP Election & Failover Mechanics
Active / Master Router: The gateway with the highest priority value (Default: 100). It actively routes traffic sent to the Virtual IP and responds to ARP requests.
Standby / Backup Router: Monitors the Active node via periodic multicast heartbeat messages (HSRP: 224.0.0.2 / VRRP: 224.0.0.18). If heartbeats miss the Hold Timer duration (typically 10s), it takes over the Active role.
Gratuitous ARP (GARP): Upon failover, the new Active gateway broadcasts a GARP frame to immediately update LAN switch MAC address tables to point the VIP to its physical interface.
Preemption: Allows a higher-priority router recovering from a failure to regain the Active state immediately.
Interface Tracking: Decrements router priority dynamically if a WAN interface drops, triggering proactive failover to the Standby peer.
Key HSRP State Machine Definitions
Initial: Interface is down or HSRP is disabled.
Listen: Router knows the VIP address, but is neither Active nor Standby.
Speak: Sends periodic Hello messages to compete for Active/Standby roles.
Standby: Selected as the candidate to become Active if the current Active router fails.
Active: Actively forwards packets routed to the group Virtual IP address.