beautypg.com

Network requirements, Vrrp load balancing configuration example – H3C Technologies H3C MSR 50 User Manual

Page 94

background image

86

Auth Type : None

Virtual IP : 202.38.160.112

Master IP : 202.38.160.2

# Display the detailed information about the VRRP group on Router B.

[RouterB-Ethernet1/1] display vrrp verbose

IPv4 Standby Information:

Run Mode : Standard

Run Method : Virtual MAC

Total number of virtual routers : 2

Interface Ethernet1/1

VRID : 1 Adver Timer : 1

Admin Status : Up State : Backup

Config Pri : 100 Running Pri : 100

Preempt Mode : Yes Delay Time : 0

Become Master : 2200ms left

Auth Type : None

Virtual IP : 202.38.160.111

Master IP : 202.38.160.1

Interface Ethernet1/1

VRID : 2 Adver Timer : 1

Admin Status : Up State : Master

Config Pri : 110 Running Pri : 110

Preempt Mode : Yes Delay Time : 0

Auth Type : None

Virtual IP : 202.38.160.112

Virtual MAC : 0000-5e00-0102

Master IP : 202.38.160.2

The output shows that in VRRP group 1 Router A is the master, Router B is the backup and the host

with the default gateway of 202.38.160.111/24 accesses the Internet through Router A. In VRRP
group 2 Router A is the backup, Router B is the master and the host with the default gateway of

202.38.160.112/24 accesses the Internet through Router B.

NOTE:

To implement load balancing between the VRRP groups, be sure to configure the default gateway as
202.38.160.111 or 202.38.160.112 on the hosts on network segment 202.38.160.0/24.

VRRP load balancing configuration example

Network requirements

Router A, Router B, and Router C belong to VRRP group 1 with the virtual IP address of 10.1.1.1/24.

Hosts on network segment 10.1.1.0/24 use 10.1.1.1/24 as their default gateway. Use the VRRP
group to make sure that when a gateway (Router A, Router B, or Router C) fails, the hosts on the

LAN can access the external network through another gateway.

VRRP group 1 operates in load balancing mode to make good use of network resources.

This manual is related to the following products: