CS FundamentalsVery hardGATE CS

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 happens on the way. How many fragments reach the destination, and what is the fragment-offset field of the last one?

  1. A. 7 fragments, offset 445
  2. B. 8 fragments, offset 3560
  3. C. 8 fragments, offset 445
  4. D. 7 fragments, offset 370

Correct answer: C. 8 fragments, offset 445

First link: payloads 1480, 1480, 1020 at offsets 0, 185, 370 (units of 8 bytes). Each is re-fragmented separately into 600-byte pieces: 3 + 3 + 2 = 8 fragments, and the last carries the final 420 bytes at offset 370 + 600/8 = 445. 7 comes from splitting 3980 bytes as if it were whole; 3560 is that offset in bytes, not 8-byte units.

More Computer Networks questions

Exams that ask this topic