Get the App
SLTechnology News&Howtos  ›  Network Security  › 

Configure VRRP single backup group

Shulou Source: shulou.com Published: 2022-06-01 06:06:50 10月04日 Update

Networking requirements

Host A needs to access Host Bjigeng Host An on Internet. The default gateway for Host An is 10.1.1.111Plus 24.

When Switch An is working properly, the message sent by Host A to Host B is forwarded through Switch A; when Switch An appears

In the event of a failure, the message sent by Host A to Host B is forwarded through Switch B.

two。 Configuration step

Note: IntranetSwitch is only used for exchange, and no configuration is required in this example.

(1) configure Switch A

1. Configure VLAN2

two。 Create backup group 1 and configure the virtual IP address of backup group 1 as 10.1.1.111

3. Set the priority of Switch An in backup group 1 to 110, which is higher than that of Switch B

4.Switch A works in preemptive mode to ensure that after the failure of Switch A recovers, it can preempt to become Master again, that is, as long as Switch An is working properly, Switch An is responsible for forwarding traffic. In order to avoid frequent state switching, the preemption delay is configured to be 5 seconds.

(2) configure Switch B

1. Configure VLAN2

two。 Create backup group 1 and configure the virtual IP address of backup group 1 as 10.1.1.111

3. Set the priority of Switch B in backup group 1 to 100

4. Set Switch B to work in preemptive mode with a preemption delay of 5 seconds

(3) configure Switch C

1. Configure VLAN2

3. After the configuration is complete, you can ping Host B on Host A. View the results of the configuration through the display vrrp verbose command. Displays the details of backup group 1 on Switch A.

(1) HostA

(2) HostB

(3) display vrrp verbose displays the details of backup group 1 on Switch A.

Tags: Configuration backup work priority information address message fault mode time delay frequency action example again command step traffic status result Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Redmi macOS NVidia MariaDB Shulou Technology