H3C Technologies H3C S12500 Series Switches User Manual
Page 152

141
•
Load balancing mode—When VRRP is operating in this mode, all the routers (master and backups)
that have the AVF in a VRRP group can forward packets, thus implementing load balancing.
After the VRRP working mode is specified on a router, all VRRP groups on the router operate in the
specified working mode.
To configure a VRRP working mode:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Configure the VRRP
working mode.
•
Configure VRRP to operate in
standard protocol mode:
undo vrrp mode
•
Configure VRRP to operate in
load balancing mode:
vrrp mode load-balance
Use either command.
By default, VRRP operates in standard
protocol mode.
Specifying the type of MAC addresses mapped to virtual IP
addresses
IMPORTANT:
•
Specify the type of the MAC addresses mapped to the virtual IP addresses before creating a VRRP
group. Otherwise, you cannot change the type of the MAC addresses mapped to virtual IP addresses.
•
If VRRP groups with the same ID are created on multiple interfaces of a device, and the VRRP
advertisements of these VRRP groups will be sent through QinQ networks, H3C recommends that you
map the real MAC addresses of the interfaces to the virtual IP addresses of these VRRP groups.
Otherwise, the VRRP advertisements of these VRRP groups cannot be sent successfully.
After you specify the type of MAC addresses mapped to the virtual IP addresses of VRRP groups and
create a VRRP group, the master in the VRRP group uses the specified type of MAC address as the source
MAC address for sending packets and uses the specified type of MAC address to answer ARP requests
from hosts so that the hosts in the internal network can learn the mapping between the IP address and the
MAC address.
The following types of MAC addresses are available to be mapped to the virtual IP address of a VRRP
group:
•
Virtual MAC address—By default, a virtual MAC address is automatically created for a VRRP group
when the VRRP group is created, and the virtual IP address of the VRRP group is mapped to the
virtual MAC address. When such a mapping is adopted, the hosts in the internal network do not
need to update the mapping between the IP address and MAC address when the master changes.
•
Real MAC address of an interface—In case that an IP address owner exists in a VRRP group, if the
virtual IP address is mapped to the virtual MAC address, two MAC addresses are mapped to one
IP address. To avoid such as problem, map the virtual IP address of the VRRP group to the real MAC
address of an interface to forward the packets from a host to the IP address owner.
To specify the type of MAC addresses mapped to virtual IP addresses:
Step Command
Remarks
1.
Enter system view.
system-view N/A