To find the attributes of an IPv4 address in the policy table, the IPv4 address should be represented as an IPv4-mapped address. For IPv6 addresses, the previous section specifies the source address selection algorithm. Source address selection for IPv4 addresses is not specified in this document. The pair-wise comparison of destination addresses consists of nine rules, which should be applied in order. If a rule determines a result, then the remaining rules are not relevant and should be ignored.
Subsequent rules act as tie-breakers for earlier rules.
Avoid unusable destinations. Prefer matching scope. Avoid deprecated addresses. Prefer higher precedence. Use longest matching prefix.