Configuration prerequisites, Configuration guidelines – H3C Technologies H3C S12500 Series Switches User Manual

Page 153

Advertising
background image

142

Step Command

Remarks

2.

Specify the type of MAC
addresses mapped to virtual

IP addresses.

vrrp method { real-mac |
virtual-mac }

Optional.
Virtual MAC address by default.

NOTE:

When VRRP is operating in load balancing mode, a virtual IP address is always mapped to a virtual MAC
address regardless of which type of MAC addresses are specified to be mapped to virtual IP addresses.

Creating a VRRP group and configuring virtual IP address

IMPORTANT:

Do not create VRRP groups on the VLAN interface of a super VLAN. Otherwise, network performance
might be affected.

When creating a VRRP group on an interface, configure a virtual IP address for the VRRP group. If the

interface connects to multiple sub-networks, you can configure multiple virtual IP addresses for the VRRP

group to realize router backup on different sub-networks.
A VRRP group is automatically created when you specify the first virtual IP address for the VRRP group.

If you specify another virtual IP address for the VRRP group later, the virtual IP address is added to the

virtual IP address list of the VRRP group.

Configuration prerequisites

Before creating a VRRP group and configuring a virtual IP address on an interface, configure an IP
address for the interface and make sure that it is in the same network segment as the virtual IP address

to be configured.

Configuration guidelines

When you create a VRRP group and configure a virtual IP address, follow these guidelines:

When VRRP is operating in standard protocol mode, the virtual IP address of a VRRP group can be

either an unused IP address on the segment where the VRRP group resides or the IP address of an
interface on a router in the VRRP group. In the latter case, the router is called the IP address owner.

When a router is the IP address owner in a VRRP group, H3C recommends not using the IP address
of the interface (virtual IP address of the VRRP group) to establish a neighbor relationship with the

adjacent router, which means not using the network command to enable OSPF on the interface. For

more information about network command, see Layer 3—IP Routing Command Reference.

When VRRP is operating in load balancing mode, the virtual IP address of a VRRP group cannot be

the same as the IP address of any interface in the VRRP group. In other words, in load balancing
mode, the VRRP group does not have an IP address owner.

You can create up to 16 VRRP groups on an interface and assign up to 16 virtual IP addresses in a
VRRP group.

A VRRP group is removed after you remove all the virtual IP addresses configured for it. In addition,
configurations on that VRRP group do not take effect any longer.

Removal of the VRRP group on the IP address owner causes IP address collision. To solve the
collision, modify the IP address of the interface on the IP address owner first and then remove the

VRRP group from the interface.

Advertising
This manual is related to the following products: