CS FundamentalsModerateGATE CS
A router has these entries: 10.0.0.0/8 via R1; 10.1.4.0/22 via R2; 10.1.5.128/25 via R3; 10.1.5.64/26 via R4; default via R5. A packet for 10.1.5.77 is forwarded to:
- A. R1
- B. R2
- C. R3
- D. R4
Correct answer: D. R4
The /8, /22 and /26 entries all match, but 10.1.5.128/25 covers only .128 to .255 and does not. The longest matching prefix is the /26 (10.1.5.64 to .127), so the packet goes via R4.
More Computer Networks questions
- A link has a bandwidth of 1 Mbps, a one-way propagation delay of 20 ms and frames of 1000 bits (ACK transmission time negligible). The…
- A 4000-byte IP datagram (20-byte header, no options) is sent over a link with MTU 1500 bytes. Considering the last fragment, the fragment…
- A message 110101 is protected with CRC using the generator polynomial x³ + x + 1. The codeword transmitted is:
- A CSMA/CD Ethernet runs at 100 Mbps over a 1 km cable with signal speed 2 × 10⁸ m/s. Ignoring jam signal and repeater delays, the minimum…
- A TCP sender estimates the round-trip time with SRTT = (7/8)SRTT + (1/8)R and RTTVAR = (3/4)RTTVAR + (1/4)|SRTT - R| (RTTVAR updated…
- An idealised long-lived TCP flow has RTT = 100 ms and MSS = 1500 bytes. Each loss event happens exactly when cwnd reaches 40 segments…