Understand how Cisco routers select among multiple static routes to the same destination for the CCNA 200-301 exam. Learn why the route with the longest subnet mask (most specific prefix) is preferred.
Table of Contents
Question
A router has multiple static routes to the same destination. Which one will be used?
A. The one with the highest metric
B. The one with the lowest administrative distance
C. The one with the longest subnet mask
D. The one configured last
E. The one with the most next-hop addresses
Answer
C. The one with the longest subnet mask
Explanation
When multiple static routes exist, the router prefers the one with the longest subnet mask (most specific match).
When multiple static routes to the same destination exist, the router selects the route with the longest subnet mask, also known as the most specific prefix match. This means the route that matches the greatest number of bits in the destination IP address is preferred because it provides the most precise path. Administrative distance and metric values are considered only if multiple routes have the same prefix length. This longest prefix match rule ensures traffic is forwarded via the most specific and appropriate route available.
Cisco Certified Network Associate CCNA 200-301 certification exam practice question and answer (Q&A) dump with detail explanation and reference available free, helpful to pass the Cisco Certified Network Associate CCNA 200-301 exam and earn Cisco Certified Network Associate CCNA 200-301 certification.