Courseiva
ENCOR lab 7

VRRP with uplink tracking

Give a LAN a VRRP virtual gateway, make R1 master, and track R1's uplink so the gateway moves to R2 when the uplink, not just the LAN port, fails.

About 25 minutes 5 devices 2 tasksIntermediate

Scenario

PC1 uses 192.168.1.254 as its gateway. R1 and R2 both connect the LAN to the core, which holds the internet host 8.8.8.8. Configure VRRP group 1 with virtual IP 192.168.1.254 so R1 (priority 110) is master. If R1's uplink to the core (Gi0/0/1) fails, R1 still answers on the LAN and would black-hole traffic, so make R1 lower its priority below R2's when that uplink goes down.

eth0Fa0/1Gi0/1Gi0/0/0Gi0/2Gi0/0/0Gi0/0/1Gi0/0Gi0/0/1Gi0/1PC1PC1 — PCSW1SW1 — Switch (Catalyst 2960-24)R1R1 — Router (ISR 4321)R2R2 — Router (ISR 4321)CORECORE — Router (2911)

Your tasks

  1. VRRP group 1 owns 192.168.1.254 with R1 as master (priority 110); PC1 can ping 8.8.8.8.
  2. When R1's uplink fails, R2 becomes master and PC1 still reaches 8.8.8.8.

The lab checks the result, not the exact commands. For example, a ping task passes only when the ping really succeeds through the network you built.

Start the lab