hardmultiple choiceObjective-mapped

Exhibit

R3 routing candidates for 10.50.0.0/16:
via 10.0.23.2 cost 20
via 10.0.34.4 cost 20
Both learned as OSPF intra-area routes

Exhibit: R3 learns 10.50.0.0/16 by OSPF through two equal-cost paths. What will R3 do by default?

Question 1hardmultiple choice
Full question →

Exhibit: R3 learns 10.50.0.0/16 by OSPF through two equal-cost paths. What will R3 do by default?

Answer choices

Why each option matters

Good practice is not just finding the correct option. The wrong answers often show the exact trap the exam wants you to fall into.

A

Best answer

Install both routes and load balance

Equal-cost OSPF paths are installed by default.

B

Distractor review

Choose the route from the neighbor with the highest router ID only

That is not the standard OSPF path-selection rule for equal costs.

C

Distractor review

Install only one route because OSPF does not support ECMP

OSPF does support equal-cost multipath.

D

Distractor review

Prefer the path with the lower next-hop IP address

Next-hop IP address is not the deciding factor here.

Common exam trap

Common exam trap: answer the scenario, not the keyword

A frequent exam trap is believing that OSPF will choose only one route when multiple equal-cost paths exist, often assuming it picks the route from the neighbor with the highest router ID or the path with the lowest next-hop IP address. This misconception leads to incorrect answers because OSPF’s path selection process installs all equal-cost routes by default. Misunderstanding this behavior can cause candidates to overlook OSPF’s load balancing capability and mistakenly select options that describe single-route preferences, which do not apply to equal-cost multipath scenarios.

Technical deep dive

How to think about this question

OSPF (Open Shortest Path First) is a link-state routing protocol that calculates the shortest path to each network using the Dijkstra algorithm. When a router learns multiple routes to the same destination with equal cost metrics, it can install multiple paths in its routing table. This capability allows OSPF to perform equal-cost multipath (ECMP) routing, which balances traffic across multiple links to optimize bandwidth and redundancy. By default, Cisco IOS routers running OSPF install all equal-cost routes up to a platform-specific maximum (commonly four or more) into the routing table. The router then load balances traffic across these paths, distributing packets evenly or based on per-flow hashing. This behavior improves network utilization and resilience without requiring manual configuration. A common exam trap is assuming OSPF selects a single route based on arbitrary criteria like the highest router ID or lowest next-hop IP address. These are not OSPF path selection rules for equal-cost routes. Instead, OSPF installs all equal-cost paths by default, and only when paths have unequal costs does it prefer the lowest cost route. Understanding this prevents misinterpretation of OSPF behavior and ensures accurate routing knowledge for the CCNA exam.

KKey Concepts to Remember

  • OSPF uses the Dijkstra algorithm to calculate the shortest path to each destination network based on link-state information.
  • When OSPF learns multiple equal-cost routes to the same destination, it installs all these routes into the routing table by default.
  • OSPF supports equal-cost multipath (ECMP) routing, allowing load balancing across multiple paths with the same metric.
  • Cisco routers have a default maximum number of equal-cost paths they can install, typically four or more, depending on the platform.
  • OSPF does not select a single route based on the highest router ID or lowest next-hop IP address when multiple equal-cost paths exist.
  • Load balancing in OSPF distributes traffic evenly or per-flow across all installed equal-cost routes to optimize bandwidth usage.
  • Unequal-cost routes in OSPF result in the router preferring the path with the lowest cost metric, ignoring higher cost paths.
  • Understanding OSPF ECMP behavior helps avoid common exam traps related to path selection and routing table installation.

TExam Day Tips

  • Watch for words such as best, first, most likely and least administrative effort.
  • Review why wrong options are wrong, not only why the correct option is correct.

Related practice questions

Related 200-301 practice-question pages

Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.

More questions from this exam

Keep practising from the same exam bank, or move into a focused topic page if this question exposed a weak area.

FAQ

Questions learners often ask

What does this 200-301 question test?

OSPF uses the Dijkstra algorithm to calculate the shortest path to each destination network based on link-state information.

What is the correct answer to this question?

The correct answer is: Install both routes and load balance — When OSPF has equal-cost routes to the same destination, the router installs multiple paths and can load balance across them, assuming the platform supports the default maximum-paths value.

What should I do if I get this 200-301 question wrong?

Then try more questions from the same exam bank and focus on understanding why the wrong options are tempting.

Discussion

Loading comments…

Sign in to join the discussion.