VRRP Lab Guide
1 VRRP Lab Guide
1.1 Lab Introduction
1.1.1 Background
On a company's network, an L3 switch serves as the gateway of the network. However,
the device often malfunctions due to its long service duration. As a result, intranet users has a
very poor network experience. The company decides to purchase another L3 switch to
improve network reliability.
As the network administrator of the company, you need to use the Virtual Router
Redundancy Protocol (VRRP) technology to meet the requirements.
1.1.2 Lab Purpose
(1) Understand and master principles of the VRRP technology.
(2) Master the application scenarios and configurations of VRRP.
1.1.3 Lab Topology
Figure 1-1 Topology of the VRRP Lab
1.1.4 Lab Requirements
(1) The port connected to the PC belongs to VLAN 10, its IP address is [Link]/24, and its
gateway address is [Link]/24.
(2) The IP addresses of SVI 10 of SW1 and SW2 are [Link]/24 and [Link]/24
respectively. SW1 is required to be the master gateway. When SW1 is faulty, SW2 serves as
the gateway.
1
VRRP Lab Guide
1.1.5 Configuration Ideas
(1) Complete basic configurations such as VLANs and IP addresses.
(2) Configure the interconnected ports of the three switches to work in trunk mode and configure
VLANs on them.
(3) Configure STP and configure SW1 as the root bridge and SW2 as the backup root bridge.
(4) Configure VRRP and set the priority of SW1 to 120 so that SW1 is selected as the master
router.
1.1.6 Procedure
(1) Complete basic configurations such as VLANs and IP addresses (omitted).
(2) Configure the interconnected ports of the three switches to work in trunk mode and configure
VLANs on them (omitted).
(3) Configure STP (omitted).
(4) Configure VRRP and set the priority of SW1 to 120 so that SW1 is selected as the master
router.
Ruijie-SW1(config)#interface vlan 10
Ruijie-SW1(config-if-VLAN 10)#ip address [Link] 24
Ruijie-SW1(config-if-VLAN 10)#vrrp 10 ip [Link]
Ruijie-SW1(config-if-VLAN 10)#vrrp 10 priority 120
Ruijie-SW2(config)#interface vlan 10
Ruijie-SW2(config-if-VLAN 10)#ip address [Link] 24
Ruijie-SW2(config-if-VLAN 10)#vrrp 10 ip [Link]
1.1.7 Result Verification
(1) Verify the VRRP status. The show vrrp bri command shows that the VRRP status of SW1 is
master, which meets lab expectations.
(2) Check the ARP table of the PC. The ARP entry shows that MAC address of the gateway IP
address is 00:00:5e:00:01:0a. The VRRP status check shows that the MAC address is the
MAC address of the virtual gateway IP address.
2
VRRP Lab Guide
(3) Turn off SW1 and check the VRRP status and virtual MAC address switching. The results
show that SW2 becomes the master router and the communication of the PC is not affected.
The MAC address of the gateway checked on the PC is 00:00:5e:00:01:0a.
3
VRRP Lab Guide