concept
Longest prefix match
Destination lookup selects the most specific matching installed prefix in an ordinary destination-based forwarding table.
Formal Syntax & Structure
networking syntaxnetworking
Longest prefix matchWorking Example
Example Snippetnetworking
10.20.4.10 matches 10.20.0.0/16 and 10.20.4.0/24; /24 wins.