Skip to Content

CCNA 200-301: Which Route Is Preferred When Both OSPF and EIGRP Provide Path to the Same Destination?

Learn how Cisco routers choose between OSPF and EIGRP routes to the same destination for the CCNA 200-301 exam. Understand why the route with the longest prefix match is selected before considering administrative distance.

Table of Contents

Question

A router is configured with both OSPF and EIGRP for different network segments. A destination is reachable via both protocols. Which route will be preferred in the routing table?

A. The OSPF route
B. The EIGRP route
C. The route with the longest prefix match
D. The route learned first
E. The route with the highest metric

Answer

C. The route with the longest prefix match

Explanation

Longest prefix match (most specific subnet mask) is the primary factor in route selection, before administrative distance.

Routers first select the route with the longest prefix match (the most specific subnet mask) when multiple routes to the same destination exist, regardless of the routing protocol. This means the route that matches the most bits of the destination IP address will be chosen. Only if multiple routes have the same prefix length does the router then compare administrative distance to select the best path. This ensures the most specific and relevant route is always preferred in the routing table.

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.