CS FundamentalsVery hardGATE CS (PYQ pattern)

A 4000-byte IPv4 datagram (20-byte header, 3980 bytes of data) crosses links with MTUs 1500, 1000 and 576 bytes in turn, and every router fragments as needed (fragment data length is a multiple of 8 except in the last fragment; already-fragmented pieces are fragmented again). How many fragments reach the destination?

  1. A. 9
  2. B. 10
  3. C. 7
  4. D. 12

Correct answer: A. 9

After MTU 1500: 3 fragments; after 1000: 6; after 576: 9. Pieces are never reassembled in between, and each fragment keeps the original offsets (the last piece has MF = 0, offset 492).

More Computer Networks questions

Exams that ask this topic