CS FundamentalsHardGATE CS · Product company CS fundamentals

What is the largest UDP payload that a single IPv4 datagram (no IP options) can carry?

  1. A. 65,507 bytes
  2. B. 65,535 bytes
  3. C. 65,515 bytes
  4. D. 65,527 bytes

Correct answer: A. 65,507 bytes

The IPv4 total-length field is 16 bits, so at most 65,535 bytes including the 20-byte IP header and 8-byte UDP header: 65,535 − 28 = 65,507. Such a datagram is of course fragmented on most links.

More Computer Networks questions

Exams that ask this topic