CS FundamentalsHardGATE CS · Cisco/networking placement
A router's table has 131.23.0.0/16 → A, 131.23.128.0/17 → B, 131.23.144.0/20 → C, 131.23.148.0/22 → D and a default route → E. Where does it forward packets to 131.23.150.9, 131.23.160.1, 131.23.127.5 and 131.23.152.1, in that order?
- A. D, B, A, C
- B. C, B, A, C
- C. D, C, A, D
- D. D, B, E, C
Correct answer: A. D, B, A, C
The /22 covers third octet 148–151 (so .150 → D), the /20 covers 144–159 (.152 → C, but .160 is outside → B via the /17 that covers 128–255) and .127 matches only the /16 → A. Longest prefix wins in every case.
More Computer Networks questions
- An ISP wants to advertise the four customer networks 200.10.8.0/24, 200.10.9.0/24, 200.10.10.0/24 and 200.10.12.0/24 as a single CIDR…
- A firewall rule must match exactly the addresses 192.168.1.20 to 192.168.1.75 (inclusive) and nothing else, using CIDR blocks. What is the…
- A 4000-byte IPv4 datagram (20-byte header, no options, DF = 0) first crosses a link with MTU 1500, then a link with MTU 620; no reassembly…
- A 4 Mbps link carries 1000-byte frames with a one-way propagation delay of 20 ms. Go-Back-N uses 3-bit sequence numbers with the largest…
- Stop-and-wait runs at 1 Mbps with 1000-byte frames and a one-way propagation delay of 11 ms (ACKs take no transmission time). Each data…
- A TCP Tahoe sender starts with cwnd = 1 MSS and ssthresh = 16 MSS; cwnd doubles each round in slow start (but never jumps above ssthresh)…