3.6 First Hop Redundancy Protocols (FHRP)

Key Takeaways

  • FHRPs provide gateway redundancy so that if the default-gateway router fails, another takes over transparently.
  • HSRP (Cisco proprietary) uses an active/standby model with a virtual IP and virtual MAC address.
  • VRRP (IEEE RFC 5798) uses a master/backup model similar to HSRP but is vendor-neutral.
  • GLBP (Cisco proprietary) provides both gateway redundancy and active load balancing across routers.
  • HSRP and VRRP keep one active forwarder; GLBP distributes traffic across multiple forwarders.
Last updated: June 2026

The Problem FHRPs Solve

End devices (PCs, phones, servers) are configured with a single default gateway IP. If that one router fails, every device on the subnet loses access to other networks — even if a second, perfectly healthy router sits on the same subnet — because the hosts have no way to learn about it.

First Hop Redundancy Protocols (FHRPs) fix this by sharing a virtual IP address (VIP) and a virtual MAC address across two or more routers. Hosts point at the VIP as their gateway. If the active router dies, a standby router assumes the same VIP and virtual MAC, so end devices keep sending to the unchanged gateway address and ARP entry — failover is invisible to them.

HSRP (Hot Standby Router Protocol)

FeatureDetail
StandardCisco proprietary
ModelActive / Standby
Virtual IPConfigured by administrator
Virtual MAC0000.0c07.acXX (XX = group in hex)
Multicast224.0.0.2 (v1) / 224.0.0.102 (v2)
Hello timer3 seconds (default)
Hold timer10 seconds (default)
PreemptionDisabled by default
Groupsv1: 0-255; v2: 0-4095

HSRP States

StateMeaning
InitialHSRP is starting
LearnRouter hasn't yet learned the VIP
ListenKnows the VIP, is neither active nor standby
SpeakSending Hellos, participating in election
StandbyBackup, ready to take over
ActiveCurrently forwarding for the VIP

HSRP Election and Preemption

  • The highest priority router becomes Active (default priority 100, range 0-255).
  • If priorities tie, the highest interface IP wins.
  • Preemption is off by default — without standby <grp> preempt, a recovered higher-priority router will not reclaim the Active role; it waits as Standby until the current Active fails.
Router(config-if)# standby 1 ip 10.0.0.1
Router(config-if)# standby 1 priority 110
Router(config-if)# standby 1 preempt

VRRP (Virtual Router Redundancy Protocol)

FeatureDetail
StandardIEEE / IETF (RFC 5798) — vendor-neutral
ModelMaster / Backup
Virtual IPMay equal the Master's real interface IP
Virtual MAC0000.5e00.01XX (XX = group number)
PreemptionEnabled by default
Multicast224.0.0.18

VRRP behaves much like HSRP but is an open standard, so it interoperates across vendors. A key contrast: VRRP preempts by default, while HSRP does not.

GLBP (Gateway Load Balancing Protocol)

FeatureDetail
StandardCisco proprietary
ModelAVG (Active Virtual Gateway) + AVFs (Active Virtual Forwarders)
Key advantageActive load balancing across multiple routers
Virtual MAC0007.b400.XXYY (one per AVF)

GLBP's distinguishing trait: HSRP and VRRP keep one router actively forwarding while the others sit idle, but GLBP forwards through multiple routers at once. A single AVG hands out different virtual MAC addresses to different clients (round-robin by default), so client traffic spreads across all active forwarders simultaneously.

FHRP Comparison

FeatureHSRPVRRPGLBP
StandardCiscoIEEE (RFC 5798)Cisco
Active forwarders11Multiple
Native load balancingNoNoYes
Preemption defaultOffOnOff
Virtual MAC prefix0000.0c07.acXX0000.5e00.01XX0007.b400.XXYY
RolesActive/StandbyMaster/BackupAVG/AVF

On the Exam: The CCNA tests FHRP concepts, not deep configuration. Lock in three facts: (1) FHRPs give transparent default-gateway failover via a shared virtual IP/MAC; (2) HSRP and GLBP are Cisco-proprietary while VRRP is the IEEE open standard; and (3) only GLBP load-balances across multiple active routers. Distractors love to claim HSRP or VRRP load-balances — they do not.

How Failover Actually Happens

The magic of an FHRP is the virtual MAC. When a host ARPs for its gateway VIP, the Active/Master router replies with the virtual MAC, not its own burned-in address. The host caches the VIP-to-virtual-MAC mapping. If the Active router fails, the Standby promotes itself, claims the same virtual MAC, and sends a gratuitous ARP so switches relearn which port owns that MAC. Because the host's ARP entry (VIP to virtual MAC) never changes, the PC keeps forwarding without re-ARPing — failover completes in seconds and is invisible to the user. This is why FHRPs use a virtual MAC rather than swapping in the new router's real MAC.

Object Tracking and Uplink Failures

A subtle real-world problem: the Active router can stay Active even if its uplink to the rest of the network fails, blackholing traffic. FHRPs solve this with interface or object tracking — the Active router monitors its uplink and decrements its priority when that uplink goes down. If preemption is enabled and the Standby's priority now exceeds the wounded Active's, the Standby takes over and forwards through its healthy uplink. The CCNA expects you to understand the concept: tracking lets an FHRP react to failures beyond the immediate LAN segment, not just to the gateway router crashing.

Picking the Right FHRP

If you need...Choose
All-Cisco shop, simple active/standbyHSRP
Multi-vendor interoperabilityVRRP (open standard)
Active use of every gateway routerGLBP

In practice HSRP dominates Cisco-only enterprises, VRRP appears wherever non-Cisco gear must participate, and GLBP shows up when an organization wants to recoup the cost of its standby routers by load-sharing. For the exam, anchor on the standards body (Cisco vs. IEEE) and the load-balancing distinction — those two facts answer most FHRP questions.

Test Your Knowledge

What is the primary purpose of First Hop Redundancy Protocols (FHRPs)?

A
B
C
D
Test Your Knowledge

Which FHRP is an open IEEE standard (vendor-neutral)?

A
B
C
D
Test Your Knowledge

Which FHRP provides both gateway redundancy AND active load balancing across multiple routers?

A
B
C
D
Test Your Knowledge

By default, is HSRP preemption enabled or disabled, and what does that mean?

A
B
C
D