beautypg.com

Multiple-vrrp group configuration, Network requirements, Network diagram – H3C Technologies H3C S3600 Series Switches User Manual

Page 589: Configuration procedure

background image

1-15

When VLAN-interface 3 recovers, switch A will resume its gateway function as the master.

Multiple-VRRP Group Configuration

Network requirements

A switch can function as a backup of multiple VRRP groups.

Multiple-VRRP group configuration can implement load balancing. For example, Switch A acts as the

master of VRRP group 1 and a backup in VRRP group 2. Similarly, Switch B acts as the master of VRRP

group 2 and a backup in VRRP group 1. Some hosts in the network take virtual router 1 as the gateway,

while others take virtual router 2 as the gateway. In this way, both load balancing and mutual backup are

implemented.

Network diagram

Figure 1-5 Network diagram for multiple-VRRP group configuration

Switch A

Host C

Host B

Switch B

Vlan-int3

10.100.10.2/24

Vlan-int2

202.38.160.1/24

VLAN-int2

202.38.160.2/24

202.38.160.3/24

10.2.3.1/24

Host A

202.38.160.4/24

Internet

VRRP group 1

Virtual IP address

202.38.160.111/24

VRRP group 2
Virtual IP address 202.38.160.112/24

Vlan-int3

10.100.10.3/24

Configuration procedure

z

Configure Switch A.

# Configure VLAN 3.

system-view

[LSW-A] vlan 3

[LSW-A-vlan3] port Ethernet1/0/10

[LSW-A-vlan3] quit

[LSW-A] interface Vlan-interface 3

[LSW-A-Vlan-interface3] ip address 10.100.10.2 255.255.255.0

[LSW-A-Vlan-interface3] quit

# Configure VLAN 2.

[LSW-A] vlan 2

This manual is related to the following products: