Router Advertisement (RA) messages that carry the default router priority and route information can be transmitted over the local link. In this manner, a proper router can be selected to forward the messages of a host.
If a host is connected to multiple routers, the host must select a router to forward messages based on the destination addresses of the messages. The FW can advertise the default router priority and specified route information to the host so that the host can select a proper forwarding router based on the destination addresses of the messages.
After receiving the RA messages carrying the route information, the host updates its routing table. When sending the messages to another device, the host queries the routing table and selects a proper route to send the messages.
When receiving the RA messages that carry the priority of default routers, the host updates its default router table. When sending the messages to another device, if there is no route to be selected, the host queries the default router table. Then, the host selects a router with the highest priority on the local link to send the messages. If the router is faulty, the host selects another router in descending order of priority.
system-view
interface interface-type interface-number
ipv6 nd ra preference { high | medium | low }
ipv6 nd ra route-information ipv6-address prefix-length lifetime route-lifetime [ preference { high | medium | low } ]
Route information is configured in RA messages.