Back
Lab 08Hands-on Lab

Implement VRRP

Gateway Redundancy

Goal

Configure VRRP so R1 is Master by default, R2 takes over on failure, and the virtual IP stays reachable.

VRRPMaster/BackupRedundancyFailoverTracking
1

Implement VRRP

Configure VRRP so R1 is Master by default, R2 takes over on failure, and the virtual IP stays reachable.

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

Standard Addressing (template)

R1#
interface g0/0/0
 vrrp 1 ip 192.168.1.1
 vrrp 1 priority 150
 vrrp 1 preempt
 vrrp 1 track interface g0/0/1 decrement 20
4

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 → 10.0.0.1 upstream. Host PC: 192.168.1.10, gateway 192.168.1.1.

R1#
interface g0/0/0
 vrrp 1 ip 192.168.1.1
 vrrp 1 preempt

Baseline Interface Config (both routers)

5

VRRP on R1 (Master)

R1#
show vrrp
show vrrp brief

VRRP on R2 (Backup)

6

Priority default 100 → R1 is Master while its uplink is up.

Verify

Common Pitfalls