CS FundamentalsHardGATE CS · ISRO Scientist
Router C runs distance-vector routing. Its link costs are C–B 6, C–D 3, C–E 5. It receives these vectors (distances to A, B, C, D, E, F): from B (5, 0, 8, 12, 6, 2), from D (16, 12, 6, 0, 9, 10), from E (7, 6, 3, 9, 0, 4). What are C's new routes to A and to F?
- A. A: 12 via E; F: 9 via E
- B. A: 11 via B; F: 9 via E
- C. A: 19 via D; F: 13 via D
- D. A: 11 via B; F: 8 via B
Correct answer: D. A: 11 via B; F: 8 via B
To A: via B 6 + 5 = 11, via D 3 + 16 = 19, via E 5 + 7 = 12, so 11 via B. To F: via B 6 + 2 = 8, via D 3 + 10 = 13, via E 5 + 4 = 9, so 8 via B. C ignores its own old table and the cheapest direct link (D) does not matter.
More Computer Networks questions
- A BGP router (no vendor-specific weight, all routes learned over eBGP, all valid) has three routes to 203.0.113.0/24: X: LOCALPREF 200…
- A laptop asks its local DNS server (recursive service) for www.campus.example.com. The local server has nothing cached except the address…
- A base HTML page references 8 small images on the same server. The browser uses NON-persistent HTTP with up to 4 parallel TCP connections…
- A 20 kHz channel has a signal-to-noise ratio of 63 (linear). How many signal levels are needed so that a Nyquist-rate signal reaches the…
- What baud rates do 10 Mbps Ethernet (Manchester coding) and 100BASE-TX's 4B/5B stage (100 Mbps of data) require?
- Router R has three interfaces. Interface 1 connects to switch S1 with 6 hosts. Interface 2 connects to hub H1 with 4 hosts. Interface 3…