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

Try it free for 30 minutesRun it on Lite from £3 a day

The free demo needs no card and no email. Every lab plan includes every guided lab.

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.

DeviceInterfaceAddress
R1Gi0/1 (VLAN 10) / Gi0/2 (VLAN 20)10.23.10.2 / 10.23.20.2
R2Gi0/1 (VLAN 10) / Gi0/2 (VLAN 20)10.23.10.3 / 10.23.20.3
Virtual gatewaysHSRP group 10 / VRRP group 2010.23.10.1 / 10.23.20.1
R1, R2 uplinksGi0/0 to R310.0.13.1/30, 10.0.23.1/30
R3Loopback0192.0.2.1/24 (data centre)
PC1 / PC2VLAN 10 / VLAN 2010.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

  1. Understand the problem
  2. Configure HSRP for VLAN 10
  3. Track the uplink
  4. Configure VRRP for VLAN 20 with R2 as master
  5. Read the details
  6. 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.

Topology of First-hop redundancy with HSRP and VRRP6 nodes, 8 links. Every link is listed as text below the diagram.R1R2R3S1PC1PC2Gi0/0Gi0/0Gi0/0Gi0/1Gi0/1Gi0/1Gi0/2Gi0/2Gi0/1Gi1/1Gi0/2Gi1/2Gi0/3eth0Gi1/0eth0
6 nodes, with the interface names each link uses. On a narrow screen, scroll the diagram sideways.
Nodes in First-hop redundancy with HSRP and VRRP, with the image each runs and the vCPU and RAM it’s set to
NodeDeviceImage in Add NodeSet to
R1Cisco IOSvvios-adventerprisek9-m.SPA.159-3.M61 vCPU, 1,024 MB
R2Cisco IOSvvios-adventerprisek9-m.SPA.159-3.M61 vCPU, 1,024 MB
R3Cisco IOSvvios-adventerprisek9-m.SPA.159-3.M61 vCPU, 1,024 MB
S1Cisco IOSvL2viosl2-adventerprisek9-m.ssa.high_iron_202009291 vCPU, 1,024 MB
PC1VPCS hostBuilt in to EVE-NGCounted as 1 vCPU, 1,024 MB
PC2VPCS hostBuilt in to EVE-NGCounted as 1 vCPU, 1,024 MB

How to open this lab

  1. Sign in to your workspace at lab.cloudlabbox.com.

  2. In File Manager, open Shared, then the folder CCNA 200-301 guided labs.

  3. Open 23 - First-hop redundancy with HSRP and VRRP and 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

All 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.