The one-sentence difference
Each protocol gives hosts one gateway that survives a router failure. HSRP is the Cisco original with one active router, VRRP is the open standard with one master, and GLBP is Cisco's variant in which every router forwards for part of the hosts. The rest is detail, and the detail is what the exam and real designs test.
Where the traffic goes
In HSRP and VRRP, the idle router is spare capacity you pay for. GLBP is the only one of the three that uses it inside a single group.
Side by side
| HSRP | VRRP | GLBP | |
|---|---|---|---|
| Standard | Cisco proprietary | Open: RFC 3768 (v2), RFC 5798 (v3) | Cisco proprietary |
| Roles | Active, standby (listen for others) | Master, backup | AVG, AVF (up to 4 active) |
| Who forwards | Active router only | Master router only | Every AVF, each for its own hosts |
| Load balancing in one group | No | No | Yes: round robin, weighted, host-dependent |
| Virtual MAC | 0000.0c07.acXX (v1); 0000.0c9f.fXXX (v2) | 0000.5e00.01XX | 0007.b400.XXYY, one per AVF |
| Hellos go to | 224.0.0.2 (v1); 224.0.0.102 (v2) | 224.0.0.18 | 224.0.0.102 |
| Transport | UDP 1985 | IP protocol 112 | UDP 3222 |
| Default timers | Hello 3 s, hold 10 s | Advertisement 1 s, master-down about 3.6 s | Hello 3 s, hold 10 s |
| Priority range, default | 0–255, default 100 | 1–254 (255 = owner), default 100 | 1–255, default 100 |
| Preempt by default | No | Yes | AVG: no. Forwarder: yes |
| Virtual IP can be a real interface IP | No | Yes (that router is the owner) | No |
| IPv6 | HSRP version 2 | VRRPv3 | Supported on many platforms |
| Authentication | Plain text or MD5 | None in the RFC; vendor-specific | Plain text or MD5 |
Failover, step by step
| HSRP | VRRP | GLBP | |
|---|---|---|---|
| What the others notice | Hellos stop from the active router | Advertisements stop from the master | Hellos stop from an AVF or the AVG |
| How long they wait | Hold time, 10 s | 3 × interval + skew, about 3.6 s | Hold time, 10 s |
| Who takes over | Standby becomes active | Best-priority backup becomes master | Another AVF takes the MAC; standby AVG takes the AVG role |
| What hosts see | Nothing changes: same IP and MAC | Nothing changes: same IP and MAC | Hosts of the failed router keep the same MAC; it is now served by another router |
| Gratuitous ARP | Yes, from the virtual MAC | Yes, for the virtual IP | Yes, for the taken-over MAC |
Choosing one
- All-Cisco network, simple needs: HSRP. It is the most widely supported and the one the CCNA labs use.
- Mixed vendors, or a standard is required: VRRP.
- Want every uplink in use for one subnet, on supported Cisco routers: GLBP, or two HSRP or VRRP groups with swapped priorities if the platform lacks GLBP.
- Stateful firewalls or NAT behind the gateways: be careful with GLBP; host-dependent balancing or an active/standby protocol keeps both directions on one path.
Mistakes people make when comparing them
- Assuming preempt is on everywhere: it is only a default in VRRP.
- Quoting one failover time for all three: 10 s for HSRP and GLBP, about 3.6 s for VRRP at defaults.
- Mixing up the multicast addresses: HSRPv2 and GLBP share 224.0.0.102, while VRRP uses 224.0.0.18.
- Thinking GLBP balances per packet: it balances per host, through ARP.
Exam tip: if a question mentions load balancing inside one group, the answer is GLBP. If it mentions an open standard or another vendor, the answer is VRRP. If it mentions active and standby, or a Cisco-only protocol with priority 100 and preempt that must be enabled, it is HSRP.
Comparison facts for the exam
- HSRP and GLBP are Cisco proprietary; VRRP is an open standard.
- Roles: active/standby, master/backup, AVG/AVF.
- Virtual MACs: 0000.0c07.acXX (HSRPv1), 0000.5e00.01XX (VRRP), 0007.b400.XXYY (GLBP).
- Transport: UDP 1985 (HSRP), IP 112 (VRRP), UDP 3222 (GLBP).
- Only GLBP load balances within one group; only VRRP preempts by default.
Test yourself on the comparison
Which FHRP is an open standard defined in an RFC?
Which protocol uses IP protocol number 112 instead of UDP?
Which FHRP has preempt enabled by default?
Hosts must be spread across three routers with a single virtual IP. Which protocol?
Which multicast address do both HSRP version 2 and GLBP use?