Infrastructure
An OSPF router learns the same prefix as an intra-area route with cost 80 and an inter-area route with cost 20. Which route does OSPF prefer?
Show the answer
Correct answerD. The intra-area route because its route type takes precedence.
AWhy not this: Cost does not override OSPF's preference for an intra-area route over an inter-area route.
BWhy not this: Using the same protocol does not make routes with different types and costs eligible for equal-cost sharing.
CWhy not this: Learning an inter-area route through the backbone does not give it preference over an intra-area route.
DWhy this is right: OSPF ranks intra-area routes ahead of inter-area routes to the same prefix.
OSPF prefers an intra-area route over an inter-area route to the same prefix before comparing their costs. A lower inter-area cost does not override that route-type preference.