CS FundamentalsHardGATE CS

The IPv4 fragment-offset field is 13 bits and counts 8-byte units. What is the largest offset (in bytes) a fragment can have, and why must fragment payloads (except the last) be multiples of 8?

  1. A. 8,191 bytes; because the field is 13 bits
  2. B. 65,528 bytes; because offsets can only express multiples of 8 bytes
  3. C. 65,535 bytes; because the total length is 16 bits
  4. D. 65,528 bytes; because Ethernet frames are multiples of 8 bytes

Correct answer: B. 65,528 bytes; because offsets can only express multiples of 8 bytes

The maximum offset value is 2¹³ − 1 = 8191 units = 65,528 bytes. Since each later fragment's start must be expressible as offset × 8, every non-final fragment must carry a multiple of 8 data bytes.

More Computer Networks questions

Exams that ask this topic