CS FundamentalsHardGATE CS · ISRO Scientist

OSPF computes interface cost as 100 Mbps / bandwidth (minimum 1). Path X uses two 1 Gbps links and one 10 Mbps link; path Y uses four 100 Mbps links. Which path is chosen and with what cost?

  1. A. Path X, cost 3
  2. B. Path Y, cost 4
  3. C. Path X, cost 12
  4. D. Path Y, cost 0.4

Correct answer: B. Path Y, cost 4

With a 100 Mbps reference, 1 Gbps and 100 Mbps links both cost 1 (the minimum), and 10 Mbps costs 10. X = 1 + 1 + 10 = 12, Y = 4 × 1 = 4, so Y wins. Counting hops (3 vs 4) is what RIP would do.

More Computer Networks questions

Exams that ask this topic