Multiple vrrp groups configuration example, Network requirements, Configuration procedure – H3C Technologies H3C SR8800 User Manual

Page 81

Advertising
background image

72

IPv4 Standby Information:

Run Mode : Standard

Run Method : Virtual MAC

Total number of virtual routers : 1

Interface GigabitEthernet4/1/1

VRID : 1 Adver Timer : 5

Admin Status : Up State : Master

Config Pri : 100 Running Pri : 100

Preempt Mode : Yes Delay Time : 5

Auth Type : Simple Key : hello

Virtual IP : 202.38.160.111

Virtual MAC : 0000-5e00-0101

Master IP : 202.38.160.2

The output shows that if interface GigabitEthernet 4/1/2 on Router A is not available, the priority

of Router A is reduced to 80 and it becomes the backup. Router B becomes the master and packets

sent from Host A to Host B are forwarded by Router B.

Multiple VRRP groups configuration example

Network requirements

In the segment 202.38.160.0/24, some hosts use 202.38.160.111/24 as their default gateway and

some hosts use 202.38.160.112/24 as their default gateway.

Load sharing and mutual backup between default gateways can be implemented by using VRRP
groups.

Figure 23 Network diagram

Configuration procedure

1.

Configure Router A:

<RouterA> system-view

[RouterA] interface GigabitEthernet 4/1/1

[RouterA-GigabitEthernet4/1/1] ip address 202.38.160.1 255.255.255.0

Host A

Host B

Host C

Router A

Router B

Virtual IP address 1:

202.38.160.111/24

Virtual IP address 2:

202.38.160.112/24

GE4/1/1

202.38.160.1/24

GE4/1/1

202.38.160.2/24

Gateway:
202.38.160.111/24

Gateway:
202.38.160.112/24

Gateway:
202.38.160.111/24

Internet

Advertising
This manual is related to the following products: