Skip to content
Official PYQ · 2014

GATE CS 2014 Set 3 Q25 — Fragmentation and IP Addressing, IPv4, CIDR

Explain with AI

Host A (on TCP/IP v4 network A) sends an IP datagram D to host B (also on TCP/IP v4 network B). Assume that no error occurred during the transmission of D. When D reaches B, which of the following IP header field(s) may be different from that of the original datagram D?

  1. TTL
  2. Checksum
  3. Fragment Offset
Choose one option
View worked solution

Answer: D

When an IP datagram travels from Host A to Host B across different networks, several fields in the IPv4 header can be modified by intermediate routers:

  1. TTL (Time to Live): Every router that forwards the datagram decrements the TTL field by at least 11 to prevent routing loops. Thus, the TTL value at Host B will be less than the original TTL set by Host A.
  2. Checksum: Since the TTL field (and potentially other fields like fragmentation flags/offsets) changes at each hop, the IPv4 header checksum must be recomputed and updated by every router along the path.
  3. Fragment Offset: If the datagram encounters a physical network link with a Maximum Transmission Unit (MTU) smaller than the datagram's size, intermediate routers will fragment the datagram (unless the "Don't Fragment" bit is set). The resulting fragments reaching Host B will have different Fragment Offset values compared to the original unfragmented datagram (which had an offset of 00).

Therefore, all three fields—TTL, Checksum, and Fragment Offset—may differ from those of the original datagram when it reaches Host B.

Hence, the correct option is D.

Free practice · Your answers on this page are not saved.

Published
Report a correction
Keep exploringMore Fragmentation and IP Addressing, IPv4, CIDR questions