CS FundamentalsHardGATE CS · ISRO Scientist
A router's forwarding table holds 131.16.0.0/12 → R1, 131.28.0.0/14 → R2, 131.30.0.0/15 → R3, 131.30.128.0/17 → R4 and a default route → R5. Where are packets for 131.31.200.1, 131.29.4.4 and 131.15.0.1 sent, in that order?
- A. R4, R2, R1
- B. R3, R2, R5
- C. R3, R1, R5
- D. R4, R2, R5
Correct answer: B. R3, R2, R5
131.31.200.1 is inside 131.30.0.0/15 (covers 131.30–131.31) but not 131.30.128.0/17 (only 131.30.128–255), so R3. 131.29.4.4 matches the /12 and /14; the longer /14 wins → R2. 131.15.x is below 131.16.0.0/12 (131.16–131.31), so only the default matches → R5.
More Computer Networks questions
- A router must summarise 198.51.96.0/21, 198.51.104.0/22 and 198.51.110.0/23 into the smallest single prefix. Which prefix is it, and how…
- 192.168.40.0/24 is split with VLSM, largest requirement first, each at the lowest free aligned address, for LANs needing 60, 28 and 12…
- An organisation owns 150.80.0.0/16 and subnets it so that every subnet supports at least 500 hosts while creating as many subnets as…
- An IPv4 datagram with total length 2400 bytes (20-byte header, DF = 0) first crosses a link with MTU 1000 and then a link with MTU 576…
- Host A sends three TCP segments to B: seq 3200 (400 bytes), seq 3600 (500 bytes) and seq 4100 (300 bytes). The second is lost; B ACKs…
- A TCP Reno sender begins round 1 with cwnd = 1 MSS and ssthresh = 20 MSS. In slow start cwnd doubles every round but never jumps past…