Title: How to configure VRRP on Ruijie switch? [Print this page] Author: linyonghang1@ru Time: 2023-8-15 13:31 Title: How to configure VRRP on Ruijie switch? Introduction of VRRP
VRRP (Virtual Router Redundancy Protocol) is a routing fault tolerance protocol. When the device that undertakes the routing and forwarding function in the LAN fails, another one will automatically take over, thus realizing hot backup and fault tolerance of IP routing, and also ensuring the continuity and reliability of host communication in the LAN, mainly used in the scenario of redundant backup of LAN routing egress.
Applied scenario:
If a host in the existing network uses the default gateway to contact the external network, if the Gateway fails, the hosts connected to it will lose contact with the outside world, resulting in service interruption.
VRRP solves this problem by forming multiple devices into a virtual device and configuring the IP address of the virtual device as the default gateway to enable backup of the default gateway. When a gateway device fails, the VRRP mechanism is able to elect a new gateway device to take up the data traffic, thus guaranteeing reliable communication in the network.
Case of configuration
a) Requirement
The cluster of Work Station A and Work Station B (192.168.201.0/24) uses the virtual IP address 192.168.201.1of the VRRP group constituted by the routers R1 and R2asthe gateway address to communicate with Work Station B (192.168.12.0 /24).
GigabitEthernet 2/1on R1 is configured as the tracked interface.
No VRRP but an ordinary routing function is configured on R3.
b) Network Topology
c) Configuration
R3
R3#configure terminal
R3(config)#interface GigabitEthernet0/0// The command “no switchport” is only required for a switch. R3(config-if-GigabitEthernet0/0)#no switchport
R2(config-router)#network 60.154.101.0 0.0.0.255 area 10
R2(config-router)#network 192.168.201.0 0.0.0.255 area 10
Verification
Run the show vrrp command to verify the configuration.
Check whether R1, which acts as the Master, reduces its VRRP priority from 120 to 90 when GigabitEthernet2/1 connected to the Wide Area Network(WAN) is unavailable. If yes, R2 becomes the Master.
Check whether R1 resumes its VRRP priority from 30 to 120 when GigabitEthernet 2/1 connected to the WAN recovers. If yes, R1 is re-elected as the Master.
Welcome to Ruijie Community (https://community.ruijienetworks.com/)