FHRP (First Hop Redundancy Protocol): The Complete Guide

FHRP (First Hop Redundancy Protocol) is the family of Layer 3 protocols that lets a group of routers share a virtual IP and MAC address so end hosts have a single, stable default gateway even when the underlying router fails. The three protocols in the family - HSRP (Cisco), VRRP (IETF standard), and GLBP (Cisco) - all solve the same problem with slightly different mechanics. Without FHRP, end host default gateways become single points of failure; with FHRP, the failure of a primary router becomes a sub-second event invisible to users.

This is the cluster overview for the full PingLabz FHRP series: the protocol family, HSRP, VRRP, GLBP, and the design patterns that integrate FHRP with STP, Layer 2 VLANs, and the rest of a Cisco campus design. We will work through what FHRP solves, the three protocols in the family and how they differ, the configuration patterns, and the alignment with STP that is critical for clean failover.

What FHRP Solves

End hosts use a default gateway IP for any traffic destined outside their local subnet. Traditionally that gateway is a single router. If the router goes down, the gateway becomes unreachable, and the host has no path off the subnet. The user sees connectivity loss until DHCP renews to a new gateway (which never happens automatically) or someone reconfigures the host.

FHRP solves this by letting a group of routers share a virtual IP/MAC. The hosts use the virtual IP as their default gateway. The router currently active for that virtual IP forwards traffic; if it fails, another router takes over the virtual IP/MAC and traffic continues with sub-second interruption. The hosts never know anything changed.

The three FHRP protocols differ in details but share the architecture: a group of routers, a virtual IP and MAC, election of an active forwarder, and failover when the active fails.

The Three Protocols

ProtocolVendorRFCDefault HelloDefault HoldActive election
HSRP (v1)Cisco2281 (informational)3 sec10 secHighest priority; tiebreak by IP
HSRP (v2)Cisco22813 sec (sub-second tunable)10 secSame as v1
VRRP (v2)IETF standard3768 / 57981 sec3 secHighest priority; tiebreak by IP
VRRPv3IETF standard57981 sec (sub-second tunable)3 secSame as v2 + IPv6 support
GLBPCiscoNone (proprietary)3 sec10 secAVG (Active Virtual Gateway) elects; AVFs (Active Virtual Forwarders) load-balance

HSRP and VRRP do active/standby - one router forwards, the others wait. GLBP does active/active - multiple routers forward simultaneously, sharing the load via different virtual MAC addresses for the same virtual IP.

HSRP: Cisco's Default

HSRP (Hot Standby Router Protocol) is Cisco's proprietary FHRP and the dominant protocol in Cisco-only campuses. The version 1 group number is 0-255 (limited); version 2 supports group 0-4095 and is the modern default.

HSRP states each router walks through:

StateMeaning
InitialHSRP just started; not yet sending hellos
LearnWaiting to learn the virtual IP from a Hello (rare; typically configured)
ListenHeard from active and standby; not active or standby itself
SpeakSending hellos; participating in active/standby election
StandbyBackup; will take over if active fails
ActiveCurrently forwarding traffic for the virtual IP

Healthy steady state: one active, one standby, others in listen. For full configuration walkthrough including priority manipulation, preemption, and tracking, see HSRP High Availability: Configure Cisco HSRP Step-by-Step.

VRRP: The Open Standard

VRRP (Virtual Router Redundancy Protocol) is the IETF standard. RFC 5798 defines VRRPv3 for both IPv4 and IPv6. Functionally similar to HSRP with a few differences:

For details, see VRRP Explained.

GLBP: Active/Active Load Balancing

GLBP (Gateway Load Balancing Protocol) is Cisco-proprietary and unique among FHRPs in that it actively load-balances across multiple routers. One router is the AVG (Active Virtual Gateway) which manages the protocol; up to four AVFs (Active Virtual Forwarders) actually forward traffic, each with its own virtual MAC.

How it works: end hosts ARP for the virtual IP. The AVG responds with one of four virtual MACs, rotating across hosts. Each virtual MAC is owned by a different AVF, so different hosts naturally use different routers. Failover is per-AVF; if one AVF dies, the AVG redirects its virtual MAC to another AVF.

The benefit: utilization across redundant routers instead of one router idle as standby. The cost: more complex troubleshooting and Cisco-only.

For details, see GLBP for Active/Active Load Balancing.

FHRP Design with STP and VLANs

FHRP does not exist in isolation. In typical campus designs the active FHRP gateway should align with the STP root bridge, otherwise traffic from access switches takes a suboptimal path through the network: up to one distribution switch, across the inter-distribution trunk to the other, down to the actual gateway.

The pattern: per-VLAN, set the same router to be both the STP root bridge and the FHRP active gateway. For VLAN load balancing, alternate which distribution switch is root and active for each VLAN. With Rapid PVST+ this is straightforward; with MST it requires alignment of MST instances to FHRP groups.

Detail in Spanning Tree and First-Hop Redundancy: Aligning STP with HSRP/VRRP in the STP cluster.

HSRP vs VRRP vs GLBP

TraitHSRPVRRPGLBP
VendorCiscoOpen standardCisco
Active routers1 (others standby)1 (others backup)Up to 4 (AVG + 3 AVFs)
Load balancingPer-VLAN (different active per VLAN)Per-VLANPer-host (within VLAN)
Default hello3 seconds1 second3 seconds
Multicast address224.0.0.2 (v1) / 224.0.0.102 (v2)224.0.0.18224.0.0.102
Virtual MAC range0000.0c07.acXX0000.5e00.01XX0007.b400.XXYY
AuthenticationMD5, plain textNone (v3); plain text/MD5 (v2)MD5, plain text
Use caseCisco-only campus defaultMulti-vendor environmentsCisco shops wanting load balancing without per-VLAN role assignment

For the full comparison see HSRP vs VRRP vs GLBP.

FHRP Deep Dives in This Cluster

  1. HSRP High Availability: Configure Cisco HSRP Step-by-Step
  2. VRRP Explained: The Vendor-Neutral FHRP
  3. GLBP for Active/Active Load Balancing
  4. HSRP vs VRRP vs GLBP: Choosing the Right FHRP
  5. Spanning Tree and First-Hop Redundancy: Aligning STP with HSRP/VRRP

FAQ

What does FHRP stand for?

FHRP stands for First Hop Redundancy Protocol. It refers to the family of protocols (HSRP, VRRP, GLBP) that provide gateway redundancy for end hosts.

What is the difference between HSRP and VRRP?

Functionally similar. HSRP is Cisco-proprietary; VRRP is the IETF standard. HSRP has slightly slower default timers (3-second Hello vs 1-second); VRRP has slightly faster failover. In a Cisco-only environment, HSRP is the dominant choice; in mixed-vendor, VRRP is required.

What makes GLBP different from HSRP and VRRP?

HSRP and VRRP have one active router per group, with others on standby. GLBP has up to four active forwarders simultaneously, each with its own virtual MAC. ARP responses from the AVG distribute hosts across the AVFs, providing per-host load balancing without per-VLAN role tuning.

What is HSRP priority and how does it work?

HSRP priority is a 0-255 value (default 100). Higher priority wins the active election. With preemption enabled, a higher-priority router that comes up will take over from a lower-priority active. Track interface state to lower priority when uplinks fail, so the standby takes over.

What is the virtual MAC for HSRP?

HSRP virtual MACs are 0000.0c07.acXX where XX is the group number. So group 1 has MAC 0000.0c07.ac01; group 10 has 0000.0c07.ac0a. End hosts ARP for the virtual IP and receive this MAC; they use it as the destination for all upstream traffic.

Key Takeaways

FHRP is mandatory for any production network where users care about gateway uptime. Pick HSRP for Cisco-only environments, VRRP for multi-vendor, GLBP when you want active/active load balancing without per-VLAN tuning. Whichever you pick, align the active gateway with the STP root bridge per VLAN to avoid suboptimal traffic paths. Bookmark this page, work through the cluster articles in order, and lab every failover.

© 2025 Ping Labz. All rights reserved.