Configuring Health Tracking based on Interface State
Example
-
If interface 1/3 goes down, the priority of address VIP1 is reduced by 20 (VIP1’s reduced priority value), because interface 1/3 is associated with VIP1:
-
Effective priority of VIP1 = (Current priority - reduced priority) = (90-20) = 70
-
-
Similarly, if interface 1/5 goes down, the priority of address VIP1 is further reduced:
-
Effective priority of VIP1 = (Current priority - reduced priority) = (70-20) = 50
-
-
At this point, the effective priority of VIP1 on NS1 is less than the priority of VIP1 on NS3. NS3 preempts NS1 for VIP1. VIP1 on NS3 takes over and becomes active (master).
-
Also, because interface 1/5 is also associated with VIP4, the priority of VIP4 is reduced by the VIP4’s reduced priority value (55).
-
Effective priority of VIP4 = (250 - 55) = 195
-
-
If interface 1/7 goes down, the priority of VIP4 is further reduced:
-
Effective priority of VIP4 = (Current priority - reduced priority) = (195-55) = 145
-
-
At this point, the effective priority of VIP4 on NS1 is less than the priority of VIP4 on NS2. NS2 preempts NS1 for VIP4. VIP4 on NS3 takes over and becomes active (master). This configuration ensures that none of the four VIP addresses are active on NS1 before it completely goes down.
Configuration Steps for IPv4 Active-Active Mode
-
bind vrID \<id> -trackifNum \<interface_name>
-
show vrID \<id>
> set vrID 125 -trackifNumPriority 10
Done
> bind vrID 125 -trackifNum 1/4 1/5
Done
-
Navigate to System > Network > VMAC.
-
On the VMACs tab, select a virtual router ID, and click Edit.
-
Under Configure virtual MAC, set the Reduced Priority parameter.
-
Select the Interfaces tracked for the VRID option and, under Associate Interfaces, add interfaces to the virtual router ID.
Configuration Steps for IPv6 Active-Active Mode
-
If adding a new virtual MAC6:
-
bind vrID6 \<id> -trackifNum \<interface_name>
-
show vrID6 \<id>
-
If reconfiguring an existing virtual MAC6:
-
bind vrID6 \<id> -trackifNum \<interface_name>
-
show vrID6 \<id>
> set vrID6 130 -trackifNumPriority 10
Done
> bind vrID6 130 -trackifNum 1/4 1/5
Done