Creating a VRRP group and assigning a virtual IP address
A VRRP group can operate correctly after you create it and assign a minimum of one virtual IP address
to it. You can configure multiple virtual IP addresses for the VRRP group on an interface that connects to
multiple subnets for router backup on different subnets.
Configuration guidelines
An interface supports a maximum of 16 VRRP groups. A VRRP group supports a maximum of 16
•
virtual IP addresses.
In VRRP load balancing mode, the device supports a maximum of MaxVRNum/N VRRP groups.
•
MaxVRNum refers to the maximum number of VRRP groups supported by the device in VRRP
standard mode. N refers to the number of devices in the VRRP group.
When VRRP is operating in standard mode, the virtual IP address of a VRRP group can be either of
•
the following addresses:
Unused IP address on the subnet where the VRRP group resides.
IP address of an interface on a router in the VRRP group.
In load balancing mode, the virtual IP address of a VRRP group can be any unassigned IP address
•
of the subnet where the VRRP group resides. It cannot be the IP address of any interface in the VRRP
group. No IP address owner can exist in a VRRP group.
•
On an IP address owner, HP recommends not using the network command to enable OSPF on the
interface owning the virtual IP address of the VRRP group. For more information about the network
command, see Layer 3—IP Routing Command Reference.
If you create an IPv4 VRRP group without assigning virtual IP address to it, the VRRP group stays in
•
inactive state and does not function.
•
Removal of the VRRP group on the IP address owner causes IP address collision. 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 an IPv4 VRRP group and the downlink interface IP address of the VRRP
•
group must be in the same subnet. Otherwise, the hosts in the subnet might fail to access external
networks.
Configuration procedure
To create a VRRP group and assign a virtual IP address:
Step
1.
Enter system view.
2.
Enter interface view.
3.
Create a VRRP group and
assign a virtual IP
address.
Command
system-view
interface interface-type interface-number
vrrp vrid virtual-router-id virtual-ip
virtual-address
23
Remarks
N/A
N/A
By default, no VRRP group exists.