Virtual IP
Virtual MAC
Master IP
The output shows that when Router A detects that the uplink fails through BFD, it decreases its priority by
20. Router B then preempts as the master.
Static routing-Track-NQA collaboration configuration example
Network requirements
As shown in
•
Router A is the default gateway of the hosts in network 20.1.1.0/24.
Router D is the default gateway of the hosts in network 30.1.1.0/24.
•
Hosts in the two networks communicate with each other through static routes.
•
To ensure network availability, configure route backup and static routing-Track-NQA collaboration on
Router A and Router D as follows:
On Router A, assign a higher priority to the static route to 30.1.1.0/24 with the next hop Router B.
•
This route is the master route. The static route to 30.1.1.0/24 with the next hop Router C acts as the
backup route. When the master route is unavailable, the backup route takes effect.
•
On Router D, assign a higher priority to the static route to 20.1.1.0/24 with the next hop Router B.
This route is the master route. The static route to 20.1.1.0/24 with the next hop Router C acts as the
backup route. When the master route is unavailable, the backup route takes effect.
Figure 26 Network diagram
Configuration procedure
1.
Configure the IP address of each interface, as shown in
2.
Configure Router A:
# Configure a static route to 30.1.1.0/24 with the next hop 10.1.1.2 and the default priority 60.
Associate this static route with track entry 1.
<RouterA> system-view
: 192.168.0.10
: 0000-5e00-0101
: 192.168.0.102
Figure
26:
Figure
90
26. (Details not shown.)