Network Implementation

A router running only OSPF learns 192.168.50.0/24 over three paths. Via R1 the link costs are 10, 10 and 10; via R2 they are 5 and 30; via R3 there is one link of cost 40. Which next hop does the router install?

Show the answer

Correct answerD. R1

AWhy not this: The totals are 30, 35 and 40, so the paths are not equal cost and only the best is installed.

BWhy not this: It has the fewest hops, but hop count is the RIP metric, and its cost of 40 is the highest.

CWhy not this: Its first link is cheapest, but the total of 35 is higher than the R1 total.

DWhy this is right: Its total cost of 30 is the lowest of the three, so OSPF installs it.

OSPF adds link costs along each path and installs the lowest total. R1 totals 30, R2 totals 35 and R3 totals 40. R3 has the fewest hops, but OSPF does not use hop count.