CS FundamentalsVery hardGATE CS

An IPv4 datagram with total length 2400 bytes (20-byte header, DF = 0) first crosses a link with MTU 1000 and then a link with MTU 576; routers fragment as needed and nothing is reassembled on the way. How many fragments reach the destination, and what is the fragment-offset field of the fourth fragment in address order?

  1. A. 5 fragments, offset 190
  2. B. 6 fragments, offset 191
  3. C. 4 fragments, offset 122
  4. D. 5 fragments, offset 191

Correct answer: D. 5 fragments, offset 191

MTU 1000 allows 976 data bytes (multiple of 8): 976 + 976 + 428 at offsets 0, 122, 244. On MTU 576 each 976-byte piece splits into 552 + 424 (552 = largest multiple of 8 ≤ 556), while the 428-byte piece fits. Offsets: 0, 69, 122, 191, 244, so the fourth is 191 (= 122 + 552/8).

More Computer Networks questions

Exams that ask this topic