CS FundamentalsVery hardGATE CS

The first 20 bytes of an IPv4 header are (hex): 45 00 05 DC 1C 46 40 00 3F 11 B1 E6 C0 A8 00 01 C0 A8 00 C7. How many bytes of payload does the packet carry, which protocol does it carry, and may routers fragment it?

  1. A. 1500 bytes of UDP; no, DF is set
  2. B. 1480 bytes of TCP; yes, DF is clear
  3. C. 1480 bytes of UDP; yes, MF is clear
  4. D. 1480 bytes of UDP; no, DF is set

Correct answer: D. 1480 bytes of UDP; no, DF is set

45: version 4, IHL 5 → 20-byte header. Total length 0x05DC = 1500, so payload = 1480. Flags/offset 0x4000 has the DF bit set. Protocol 0x11 = 17 = UDP (TCP would be 6). TTL is 0x3F = 63.

More Computer Networks questions

Exams that ask this topic