Configuration prerequisites, Configuration procedure – H3C Technologies H3C MSR 50 User Manual

Page 76

Advertising
background image

68

The virtual IP address assigned to the VRRP group must be a legal host address and in the same

subnet as the interface IP address. If not, the state of the VRRP group is always initialize and VRRP
does not take effect. For example, although you can successfully configure a network address or

broadcast address as the virtual IP address of a VRRP group, the group cannot work.

H3C recommends not creating a VRRP group on the VLAN interface of a super VLAN because
network performance might be adversely affected.

When VRRP operates in standard mode, the virtual IP address of a VRRP group can be either an
unused IP address on the subnet 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, HP recommends not configuring the
network command on the interface to use the IP address of the interface, or the virtual IP address

of the VRRP group, to establish a neighbor relationship with the adjacent router. For more

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

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.

A VRRP group is removed after you remove all its virtual IP addresses, and all its configurations
become invalid.

Removal of the VRRP group on the IP address owner causes IP address collision, because the

backup routers still record the VRRP group with the virtual IP address as the original IP address
owner. To avoid the collision, change the IP address of the interface on the IP address owner before

you remove the VRRP group from the interface.

The virtual IP address of a VRRP group cannot be 0.0.0.0, 255.255.255.255, loopback addresses,
non-class A/B/C addresses or other illegal IP addresses such as 0.0.0.1.

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

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 subnet as the virtual IP address.

Configuration procedure

To create a VRRP group and configure a virtual IP address:

Step Command

Remarks

58.

Enter system view.

system-view

N/A

59.

Enter the specified interface

view.

interface interface-type
interface-number

N/A

60.

Create a VRRP group and
configure a virtual IP address

for the VRRP group.

vrrp vrid virtual-router-id virtual-ip
virtual-address

VRRP group is not created by
default.

NOTE:

The maximum number of VRRP groups on an interface is 16 and varies with device model and interface
cards. The maximum number of virtual IP addresses in a VRRP group is 16.

Advertising
This manual is related to the following products: