Lesson 7 — First-Hop Redundancy (HSRP)
Week 5 outline
- Week 5 overview
- Lesson 1Reading show ip route
- Lesson 2Routing Failure Isolation
- QuizReading & Troubleshooting Routes
- Lesson 3OSPF Concepts and Neighbor Formation
- Lesson 4Single-Area OSPFv2 Configuration
- QuizOSPF Neighbours & Configuration
- Lesson 5OSPF Cost, DR/BDR, and Default Routes
- Lesson 6OSPF Verification and Troubleshooting
- QuizOSPF Tuning & Verification
- Lesson 7First-Hop Redundancy (HSRP) (current step)
- CheckpointWeek 5 Checkpoint
First-Hop Redundancy (HSRP)
Explain why hosts need a redundant default gateway and how HSRP delivers one — a shared virtual IP and virtual MAC with an active/standby pair — then predict failover and fail-back behaviour.
Lesson orientation
What you'll learn (4 objectives)~32 min: video → lesson → check → apply → lab prep
Learning objectives
- Explain the single-gateway problem FHRP solves and the role of the virtual IP and virtual MAC
- Describe HSRP active/standby operation and what happens when the active router fails
- Predict the active router from priority and the physical-IP tiebreaker, and explain preemption
- Read show standby brief to identify active, standby, virtual IP, and priority
Terms you will see
Time breakdown
- Read the notes20 min
- Failover prediction12 min
Assigned video

Free CCNA | First Hop Redundancy Protocols | Day 29 | CCNA 200-301 Complete Course
By Jeremy's IT Lab · Opens externally on YouTube
- Assigned watch
- ~6 min
The link opens in a new browser tab. Return here when you finish watching.
Watch for these concepts
- FHRP purpose and HSRP active/standby operation
Go beyond the video
The assigned video introduces the idea. CCNA Practice Labs completes the learning path: clarify core concepts, explore how each device behaves, visualize the communication path, check your understanding, and prepare for hands-on lab work.
Watch the concept → understand it → visualize it → practice it → apply it.
One gateway, two routers, no host reconfiguration
A host has exactly one default gateway address. Put two physical routers on the subnet and you face a dilemma: point every host at R1 and R1 becomes a single point of failure; split the hosts between R1 and R2 and a failure still strands half of them, with manual recovery needed on every affected PC.
First Hop Redundancy Protocols solve this by presenting a virtual gateway: a virtual IP and a matching virtual MAC, shared by the routers. Hosts use the virtual IP as their default gateway and never know — or need to care — which physical router is actually forwarding.
| Protocol | Standard | Model | Virtual MAC prefix |
|---|---|---|---|
| HSRP | Cisco proprietary | Active / standby | 0000.0C — full form 0000.0c07.acXX |
| VRRP | Open standard (RFC) | Active / standby | 0000.5E |
| GLBP | Cisco proprietary | Active / active, load-balancing | 0007 |
Active, standby, and who wins
In an HSRP group, routers exchange Hellos and elect one Active router, which owns the virtual IP and virtual MAC and forwards traffic, while another is Standby, monitoring the active's Hellos. If the standby stops hearing them it promotes itself and assumes the virtual IP and MAC. Each router also keeps its own physical address on the interface; only the virtual IP is shared.
| Rule | Detail |
|---|---|
| Priority | 0 to 255, default 100. Higher priority becomes active. |
| Tiebreaker | If priorities tie, the highest physical IP on the interface wins. |
| Preemption | Off by default. Without standby preempt, a recovered higher-priority router stays standby. |
| Versions | HSRPv1 supports groups 0–255 on multicast 224.0.0.2; HSRPv2 supports 0–4095 on 224.0.0.102. Both routers must run the same version. |
One further limit worth holding: standard HSRP is active/standby, so only one router forwards per group. To use both routers at once you run multiple groups — one active per VLAN or subnet, with the priorities swapped — or you use GLBP, which is genuinely active/active.
Configure and read the result
! R1 — preferred active
R1(config)# interface GigabitEthernet0/1
R1(config-if)# ip address 10.10.10.2 255.255.255.0
R1(config-if)# standby 1 ip 10.10.10.1
R1(config-if)# standby 1 priority 110
R1(config-if)# standby 1 preempt
! R2 — standby
R2(config)# interface GigabitEthernet0/1
R2(config-if)# ip address 10.10.10.3 255.255.255.0
R2(config-if)# standby 1 ip 10.10.10.1
R2(config-if)# standby 1 priority 90R1# show standby brief
P indicates configured to preempt.
|
Interface Grp Pri P State Active Standby Virtual IP
Gi0/1 1 110 P Active local 10.10.10.3 10.10.10.1Grp 1 is the HSRP group. Pri 110 with a P shows R1 is configured to preempt. State Active with Active shown as local means R1 is currently forwarding for the group, Standby is R2 watching, and the shared Virtual IP is what every host uses as its default gateway. The hosts point at .1 — never at .2 or .3.
What you should retain
- FHRP gives one virtual IP and virtual MAC shared by routers, so hosts need only one gateway address.
- HSRP active forwards for the virtual IP; standby monitors Hellos and takes over on failure with the same IP and MAC.
- Higher priority wins, default 100; ties break on the highest physical IP.
- Preemption is off by default — without it, a recovered higher-priority router stays standby.
- Verify with show standby brief; the HSRP virtual MAC prefix is 0000.0C.
- HSRP is active/standby per group — use multiple groups or GLBP to forward on both routers at once.
Before you read on
Using the configuration above: (1) R1 — priority 110, preempt — fails. What does R2 do, and does the host's gateway address or ARP entry change? (2) R1 recovers. Does it reclaim active, and would your answer differ if R1 had no preempt?
Study deeper
Topic guides extend this lesson — they do not replace the first-party walkthrough above.
HSRP & Redundancy
For FHRP purpose, the virtual MAC prefixes, priority and preemption, and fuller verification output
