Which of the following fields of an IP header is/are always modified by any router before it forwards the IP packet?
Topic-wise GATE CS PYQs with verified steps
GATE CSE 2024 Set 2 · Q32
Time
Select all that applyOne or more correct
Solution
Official answer: C) Time to Live (TTL); D) Header Checksum
IPv4, CIDR and NATWhen an IPv4 router forwards a packet:
Time to Live (TTL): The router decrements the TTL field by at least 1 to prevent packets from looping endlessly in the network.
Header Checksum: Because the TTL field (and potentially options) is modified, the router must recompute and update the 16-bit IPv4 header checksum.
Other fields:
Source IP Address: Remains unchanged unless Network Address Translation (NAT) is explicitly being performed.
Protocol: Specifies the higher-level transport protocol (e.g., TCP, UDP) and remains invariant throughout the transmission path.
Therefore, options C and D are correct.
Try the question first, then check your work.
Examiner trap
Recall which header fields must change at every hop to prevent infinite loops and maintain data integrity of the header.
This IPv4, CIDR and NAT previous year question is Q32 of the GATE CSE 2024 Set 2 paper. Find more GATE CSE PYQs on IPv4, CIDR and NAT in Computer Networks, or browse all GATE CSE PYQs.
Free diagnostic
Take the 20-minute diagnostic: the 3 topics that cost you the most marks, and a rank range. Or sit 5 related IPv4, CIDR and NAT PYQs now with no account.
An official question by email at 7 AM IST, with a link to its verified solution. Unsubscribe in one click.
IPv4, CIDR and NAT has 14 GATE CSE PYQs across 10 papers from 2012 to 2025. This is the only 1-mark MSQ among them, and it is the only one in GATE CSE 2024 Set 2.
How GATE tests IPv4, CIDR and NATIndependent practice explanation verified by the GateAI team. GATE is conducted by the IITs; question text follows the official paper.