CS FundamentalsVery hardGATE CS
A 2024-byte IPv4 datagram has a 24-byte header (4 bytes of options that are copied into every fragment). It must cross a link with MTU 600. How many fragments are made, and what is the total-length field of the last one?
- A. 4 fragments; last total length 280
- B. 5 fragments; last total length 296
- C. 4 fragments; last total length 296
- D. 4 fragments; last total length 272
Correct answer: C. 4 fragments; last total length 296
Each fragment carries at most 600 − 24 = 576 data bytes (already a multiple of 8). 2000 bytes → 576 + 576 + 576 + 272, offsets 0, 72, 144, 216. The last fragment's total length is 272 + 24 = 296. Assuming a 20-byte header gives 580-byte pieces and a different tail.
More Computer Networks questions
- Stop-and-wait with 1-bit sequence numbers: the receiver gets frame 0 and its ACK is lost. What happens next?
- Go-Back-N with cumulative ACKs sends frames 0–9 with a window of 5. Only the ACK for frame 2 is lost; every frame and every other ACK…
- A 10 Gbps path has an RTT of 100 ms. With 1500-byte frames, at least how many frames must be outstanding to keep it fully busy?
- A client downloads a 64 KB file (MSS = 1 KB, so 64 segments) over a fast link with RTT = 100 ms. TCP starts with cwnd = 1 MSS, slow start…
- A TCP sender has cwnd = 20 MSS but the receiver's window is only 12 MSS, so 12 segments are in flight when a retransmission timeout…
- Two TCP flows share a bottleneck and both use AIMD (additive increase, multiplicative decrease) with the same RTT. Starting from very…