CCNA lab 23 of 46
First-hop redundancy with HSRP and VRRP
Give two VLANs a default gateway that survives a router failure: HSRP for one VLAN and VRRP for the other, each active on a different router, with interface tracking. Then pull the uplink and read every state change.
Run this lab
It needs Lite: its 6 nodes are set to 6 vCPU and 6,144 MB in total. That fits the free demo too.
In your workspace: Shared, then CCNA 200-301 guided labs, then 23 - First-hop redundancy with HSRP and VRRP
- Level
- Intermediate
- Time
- About 55 minutes
- Nodes need
- 6 vCPU, 6,144 MB
- Smallest plan
- Lite
The scenario
Highgate Clinic's staff (VLAN 10) and servers (VLAN 20) each have two routers, R1 and R2, both connected to the data centre router R3 (192.0.2.1). The PCs can only have one default gateway, 10.23.x.1, and right now that address doesn't exist anywhere. You'll create it as a virtual gateway: HSRP for VLAN 10 with R1 active, VRRP for VLAN 20 with R2 as master, so both routers carry traffic and either can fail.
| Device | Interface | Address |
|---|---|---|
| R1 | Gi0/1 (VLAN 10) / Gi0/2 (VLAN 20) | 10.23.10.2 / 10.23.20.2 |
| R2 | Gi0/1 (VLAN 10) / Gi0/2 (VLAN 20) | 10.23.10.3 / 10.23.20.3 |
| Virtual gateways | HSRP group 10 / VRRP group 20 | 10.23.10.1 / 10.23.20.1 |
| R1, R2 uplinks | Gi0/0 to R3 | 10.0.13.1/30, 10.0.23.1/30 |
| R3 | Loopback0 | 192.0.2.1/24 (data centre) |
| PC1 / PC2 | VLAN 10 / VLAN 20 | 10.23.10.10, 10.23.20.10 (gateway .1) |
OSPF already runs between R1, R2 and R3.
What you’ll practise
- Explain the single default gateway problem and how FHRPs solve it
- Configure HSRPv2 with priority, preemption and interface tracking
- Configure VRRP and share the load between two routers
- Interpret show standby brief and show vrrp brief
- Test a failover and recognise the virtual MAC addresses
The tasks
- Understand the problem
- Configure HSRP for VLAN 10
- Track the uplink
- Configure VRRP for VLAN 20 with R2 as master
- Read the details
- Fail the uplink and watch the switchover
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
- R1
Gi0/0to R3Gi0/0 - R2
Gi0/0to R3Gi0/1 - R1
Gi0/1to S1Gi0/1 - R1
Gi0/2to S1Gi0/2 - R2
Gi0/1to S1Gi1/1 - R2
Gi0/2to S1Gi1/2 - S1
Gi0/3to PC1eth0 - S1
Gi1/0to PC2eth0
| Node | Device | Image in Add Node | Set to |
|---|---|---|---|
| R1 | Cisco IOSv | vios-adventerprisek9-m.SPA.159-3.M6 | 1 vCPU, 1,024 MB |
| R2 | Cisco IOSv | vios-adventerprisek9-m.SPA.159-3.M6 | 1 vCPU, 1,024 MB |
| R3 | Cisco IOSv | vios-adventerprisek9-m.SPA.159-3.M6 | 1 vCPU, 1,024 MB |
| S1 | Cisco IOSvL2 | viosl2-adventerprisek9-m.ssa.high_iron_20200929 | 1 vCPU, 1,024 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
CCNA 200-301 guided labs.Open
23 - First-hop redundancy with HSRP and VRRPand 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 CCNA 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.