CS FundamentalsVery hardGATE CS · ISRO Scientist
Link-state routing on: R1–R2 2, R1–R3 5, R2–R3 1, R2–R4 7, R3–R4 2, R3–R5 6, R4–R5 1, R4–R6 4, R5–R6 2. In R1's forwarding table, what is the next hop and cost for R6?
- A. Next hop R3, cost 8
- B. Next hop R2, cost 9
- C. Next hop R3, cost 9
- D. Next hop R2, cost 8
Correct answer: D. Next hop R2, cost 8
Shortest path R1 → R2 → R3 → R4 → R5 → R6 costs 2 + 1 + 2 + 1 + 2 = 8 (R1 → R3 directly costs 5 > 3 via R2). The next hop is the first router on that path, R2. Going R4 → R6 directly costs 9.
More Computer Networks questions
- Which statement about OSPF areas is correct?
- A NAT router (public IP 203.0.113.5) holds the entry 192.168.1.20:51000 ↔ 203.0.113.5:62001 for a connection to 93.184.216.34:443. A…
- With HTTP/1.1 pipelining, a client sends requests for A (large, slow to generate), B and C on one connection without waiting. In what…
- An institution's users request 15 web objects per second on average, each 1 Mb, over a 15 Mbps access link. A proxy cache is installed…
- A browser needs www.shop.example: the local resolver (RTT 2 ms) has nothing cached and contacts the root, TLD and authoritative servers…
- example.com has MX records with preference 10 (mx1.example.com) and 20 (mx2.example.com). How does a sending mail server deliver to…