CCNP ENCOR lab 19 of 36
HSRP: redundant gateways with load sharing and tracking
Give the warehouse VLANs a gateway that survives the loss of a distribution switch or its uplink: HSRP version 2 with one active switch per VLAN, pre-emption, MD5 authentication, fast timers and interface tracking.
Run this lab
It needs Lite: its 6 nodes are set to 6 vCPU and 4,864 MB in total. That fits the free demo too.
In your workspace: Shared, then CCNP ENCOR 350-401 guided labs, then 19 - HSRP - redundant gateways with load sharing and tracking
- Level
- Intermediate
- Time
- About 60 minutes
- Nodes need
- 6 vCPU, 4,864 MB
- Smallest plan
- Lite
The scenario
The warehouse PCs use 10.10.10.1 (staff, VLAN 10) and 10.10.20.1 (warehouse, VLAN 20) as their default gateways, but no device owns those addresses yet: the distribution switches use .2 and .3. The design calls for a first-hop redundancy protocol so that either distribution switch can be the gateway:
- HSRP version 2, group number = VLAN number, virtual IPs .1.
- DSW1 is active for VLAN 10 (priority 110), DSW2 for VLAN 20 (priority 110); the other switch is standby at the default 100. Both pre-empt, so roles return after a failure.
- Hellos every second with a 3-second hold time, and MD5 authentication with key string
Fh-HSRP-2026. - Each switch tracks its routed uplink to R1 and drops its priority by 20 if the uplink goes down.
Spanning tree already matches: DSW1 is root for VLAN 10, DSW2 for VLAN 20. OSPF runs between R1 and both distribution switches.
| Device | Interface | Address |
|---|---|---|
| DSW1 | Vlan10 / Vlan20 | 10.10.10.2 / 10.10.20.2 |
| DSW1 | Gi0/2 (routed uplink) | 10.0.11.2/30 → R1 10.0.11.1 |
| DSW2 | Vlan10 / Vlan20 | 10.10.10.3 / 10.10.20.3 |
| DSW2 | Gi0/2 (routed uplink) | 10.0.12.2/30 → R1 10.0.12.1 |
| R1 | Lo10 | 10.10.30.1/24 (HQ servers) |
| PC1 / PC2 | eth0 | 10.10.10.10 (VLAN 10) / 10.10.20.10 (VLAN 20), gateways .1 |
Topology: R1 at the top with a routed link to each distribution switch; DSW1 and DSW2 joined by an L2 trunk; ASW1 has a trunk to each; PC1 and PC2 hang off ASW1.
What you’ll practise
- Explain first-hop redundancy, HSRP roles and states, and how HA designs use redundancy, FHRP and SSO
- Configure HSRPv2 groups with virtual IP, priority, pre-emption, timers and MD5 authentication
- Share load by making each distribution switch active for a different VLAN, aligned with spanning tree
- Track an uplink so the gateway role moves when the uplink fails
- Verify HSRP state, the virtual MAC address and failover from a host
The tasks
- See the gap
- Build the HSRP groups
- Decide who's active, and keep it that way
- Track the uplinks
- Test failover
- Check what the hosts see
The Lab Tasks pane has the scenario, these tasks, the checks to run, hints and the full solution.
Topology and devices
The network as it opens in EVE-NG, drawn from the lab’s own canvas, and the image each node runs.
Every link, as text
- DSW1
Gi0/0to DSW2Gi0/0 - DSW1
Gi0/1to ASW1Gi0/1 - DSW2
Gi0/1to ASW1Gi0/2 - DSW1
Gi0/2to R1Gi0/0 - DSW2
Gi0/2to R1Gi0/1 - ASW1
Gi1/0to PC1eth0 - ASW1
Gi1/1to PC2eth0
| Node | Device | Image in Add Node | Set to |
|---|---|---|---|
| DSW1 | Cisco IOSvL2 | viosl2-adventerprisek9-m.ssa.high_iron_20200929 | 1 vCPU, 768 MB |
| DSW2 | Cisco IOSvL2 | viosl2-adventerprisek9-m.ssa.high_iron_20200929 | 1 vCPU, 768 MB |
| ASW1 | Cisco IOSvL2 | viosl2-adventerprisek9-m.ssa.high_iron_20200929 | 1 vCPU, 768 MB |
| R1 | Cisco IOSv | vios-adventerprisek9-m.spa.159-3.m9 | 1 vCPU, 512 MB |
| PC1 | VPCS host | Built in to EVE-NG | Counted as 1 vCPU, 1,024 MB |
| PC2 | VPCS host | Built in to EVE-NG | Counted as 1 vCPU, 1,024 MB |
How to open this lab
Sign in to your workspace at
lab.cloudlabbox.com.In File Manager, open Shared, then the folder
CCNP ENCOR 350-401 guided labs.Open
19 - HSRP - redundant gateways with load sharing and trackingand start its nodes, then open Lab Tasks for the scenario and the steps.
The lab is read-only. You can start the nodes and configure the devices, but changes to the topology can’t be saved. To change it, rebuild it in your own folder.
More CCNP ENCOR labs
Related labs in other courses
CloudLabBox is independent of Cisco. The lab follows exam topics and isn’t vendor training material; vendor names identify the exams and the images in the workspace.