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?

  1. A. 4 fragments; last total length 280
  2. B. 5 fragments; last total length 296
  3. C. 4 fragments; last total length 296
  4. 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

Exams that ask this topic