CS FundamentalsHardGATE CS · networking placement
A link-state network sets each link's cost to the traffic it currently carries. Two equal routes connect the same pair of regions, and after each route computation most traffic moves to the cheaper route. What is the likely result?
- A. Routes settle after one recomputation, because Dijkstra always converges
- B. Traffic splits evenly at once, because both costs quickly become equal
- C. Routes oscillate, with traffic flipping between the two paths
- D. Count-to-infinity begins, because the link costs keep climbing with no limit
Correct answer: C. Routes oscillate, with traffic flipping between the two paths
Load-dependent costs make the chosen path expensive at the next computation, so everyone switches back and forth. Fixes include not making costs depend on load, or randomising when routers rerun the algorithm. Count-to-infinity is a distance-vector problem.
More Computer Networks questions
- Why does TCP wait for three duplicate ACKs, rather than one, before a fast retransmit?
- A 100,000-byte response is sent with MSS 1460 bytes over a path with plenty of bandwidth, no loss, no delayed ACKs and a large receive…
- A shared cache stores a response from origin that carries Vary: Accept-Encoding. A later client asks for the same URL with a different…
- A site's A record has a TTL of 86,400 s. The team will move the site to a new IP at 10:00 on Friday and wants every cache to pick up the…
- A bank sends Strict-Transport-Security: max-age=31536000 and is not on any browser's HSTS preload list. Which statement is correct?
- A bitmap image is encrypted with AES, and the ciphertext still shows the outline of the picture. Which mode of operation was used, and why?