Back
Lab 06Hands-on Lab
Implement HSRP
Gateway Redundancy
Goal
Configure HSRPv2 so R1 is the active gateway by default, R2 takes over if R1's uplink fails, then verify failover.
HSRPHSRPv2RedundancyFailoverTracking
1
Implement HSRP
Configure HSRPv2 so R1 is the active gateway by default, R2 takes over if R1's uplink fails, then verify failover.
2
Gateway Redundancy
R1#
interface g0/0/0
no shutdown
ip address 192.168.1.2 255.255.255.0 ! R2 uses .3
interface g0/0/1
no shutdown
ip address 10.0.0.2 255.255.255.0 ! R2 uses .33
Standard Addressing (template — use YOUR lab table)
R1#
interface g0/0/0
standby version 2
standby 1 ip 192.168.1.1
standby 1 priority 150
standby 1 preempt
standby 1 track interface g0/0/1 decrement 204
VLAN LAN: 192.168.1.0/24, virtual gateway IP 192.168.1.1. R1 G0/0/0 = 192.168.1.2 ; R2 G0/0/0 = 192.168.1.3. R1 G0/0/1 = 10.0.0.2 / R2 G0/0/1 = 10.0.0.3 (tracked uplinks) → 10.0.0.1 upstream. Host PC: 192.168.1.10, gateway 192.168.1.1.
R1#
interface g0/0/0
standby version 2
standby 1 ip 192.168.1.1
standby 1 preemptBaseline Interface Config (both routers)
5
HSRP on R1 (Active)
R1#
show standby brief
show standbyHSRP on R2 (Standby)
6
Priority stays at default 100, so R1 wins while its tracked uplink is up.
Verify HSRP