Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Configure VRRP backup groups in multiple VLAN

2025-01-23 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >

Share

Shulou(Shulou.com)06/01 Report--

Example of VRRP backup group configuration in multiple VLAN

Networking requirements

The default gateway for hosts in VLAN 2 is 10.1.1.100 Universe 25. The default gateway for hosts in VLAN 3 is 10.1.1.200 Universe 25.

Both Switch An and Switch B belong to backup group 1 with the virtual IP address 10.1.1.100apper25 and the virtual IP address is

Backup group 2 for 10.1.1.200max 25

Switch A has higher priority than Switch B in backup group 1, and Switch B has higher priority than Switch in backup group 2.

A, so as to ensure that the hosts in VLAN 2 and VLAN 3 communicate through Switch An and Switch B respectively. When Switch An or Switch B fails, the host can continue to communicate through another device to avoid communication interruption.

two。 Configuration step

(1) configure Switch A

# configure VLAN 2

# create backup group 1 and configure the virtual IP address of backup group 1 as 10.1.1.100

# set the priority of Switch An in backup group 1 to 110, which is higher than the priority of Switch B, to ensure that Switch A becomes the Master in backup group 1 and is responsible for forwarding traffic.

# configure VLAN 3

# create backup group 2 and configure the virtual IP address of backup group 2 to be 10.1.1.200

(2) configure Switch B

# configure VLAN 2

# create backup group 1 and configure the virtual IP address of backup group 1 as 10.1.1.100

# configure VLAN 3

# create backup group 2 and configure the virtual IP address of backup group 2 to be 10.1.1.200

# set the priority of Switch B in backup group 2 to 110, which is higher than that of Switch A, to ensure that Switch B becomes a Master in backup group 2 and is responsible for forwarding traffic

(3) configure Switch C

(4) configure Switch D

Verify the configuration (you can view the results of the configuration and the default network through the display vrrp verbose command

The host with a connection of 10.1.1.200 Switch 25 accesses Internet through Web B)

SwitchA

SwitchB

Hosts with a default gateway of 10.1.1.200max 25 access Internet through Switch B.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Network Security

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report