R3204P16-HP Load Balancing Module High Availability Configuration Guide-6PW101
28
NOTE:
• When VRRP works in the load balancing mode, the virtual IP address cannot be the same with IP
address of any interface in the VRRP group, that is, in the load balancin
g
mode, the VRRP
g
roup does
not have an IP address owner.
• A VRRP group is removed after you remove all the virtual IP addresses in it. In addition, confi
g
urations
on that VRRP group no longer take effect.
• The virtual IP address of the virtual router 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
g
roup. In the latter case, the
router is called the IP address owner.
• Removal of the VRRP
g
roup on the IP address owner will cause IP address collision. In such a case, it is
recommended to modify the IP address of the interface on the IP address owner to resolve the collision.
• The virtual IP address of the 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.
• Only when the configured virtual IP address and the interface IP address belon
g
to the same se
g
ment
and are le
g
al host addresses can the VRRP
g
roup operate normally. If the confi
g
ured virtual IP address
and the interface IP address do not belong to the same network segment, or the confi
g
ured IP address
is the network address or network broadcast address of the network segment that the interface IP
address belongs to, the state of the VRRP group is always initialize though you can perform the
configuration successfully, that is, VRRP does not take effect in this case.
Configuring router priority, preemptive mode and tracking
function
Configuration prerequisites
Before you configure these features, you should first create a VRRP group on the interface and configure
a virtual IP address for it.
Configuration procedure
By configuring router priority, preemptive mode, interface tracking, or a Track object, you can decide
which router in the VRRP group serves as the Master.
Follow these steps to configure router priority, preemptive mode and the Track object tracking function:
To do… Use the command…
Remarks
Enter system view system-view —
Enter interface view
interface interface-type
interface-number
—
Configure router priority
in the VRRP group
vrrp vrid virtual-router-id priority
priority-value
Optional
100 by default.
Configure the router in the
VRRP group to work in
preemptive mode and
configure preemption
delay
vrrp vrid virtual-router-id preempt-mode
[ timer delay delay-value ]
Optional
The router in the VRRP group works in
preemptive mode and the preemption
delay is 0 seconds by default.