A gateway that survives failure — HSRP, VRRP and GLBP
Endpoints have one default gateway. If that router dies, every host loses connectivity. FHRPs put two routers behind one virtual IP so failover is invisible to hosts. This chapter compares HSRP, VRRP, and GLBP.
What you'll learn
- Explain why endpoints need a redundant first hop.
- Compare HSRP, VRRP, and GLBP feature by feature.
- Configure VRRP for a master/backup pair.
Why a single default gateway is a single point of failure
A PC has one default gateway IP. If the router behind that IP fails, the PC has no alternative — even though a redundant router may sit on the same VLAN, the PC has no way to use it. FHRPs solve this by giving the two routers a shared virtual IP and MAC, so the host is unaware of which physical router is currently master.
HSRP, VRRP, GLBP at a glance
| Protocol | Standard | Roles | Virtual MAC | In the NetForge lab |
|---|---|---|---|---|
| VRRP | IETF open (RFC 5798) | 1 master, rest backup | 0000.5e00.01XX | Simulated |
| HSRP | Vendor-proprietary | 1 active, rest standby | 0000.0c07.acXX | Not simulated |
| GLBP | Vendor-proprietary | Multiple active forwarders (load-balanced) | 0007.b400.XXYY | Not simulated |
12 more sections in this chapter, plus a 4-question quiz and a hands-on lab.
Modules 2–8 are part of the Course & Lab Pass and All-Access Max — start with a free account
You can see the title, summary, learning objectives and the opening sections. The rest of this chapter, like all of modules 2–8, comes with the Course & Lab Pass and All-Access Max. A free account opens Module 1: How Networks Work end-to-end and saves your labs — start there, no card required.
- Read every chapter in Module 1 — How Networks Work
- Save labs of up to 5 devices
- Save up to 3 topologies
- See the full course syllabus + chapter titles
Free account · no card required · compare plans any time
Build it step by step
- Two routers, one gatewayGive a LAN a gateway that survives a router failure: two routers share one virtual address with VRRP, and the hosts never notice the handover. · 7 steps · ~25 min · 5 devices
- Redundant campusDouble every link and box between a desk and HQ — bundled, spanning-tree protected, VRRP gateways, twin OSPF circuits — then break two of them and keep working. · 10 steps · ~50 min · 8 devices