GATE CS 2024 Set 2 — Question 32
Go beyond PYQs with Success TrackerAI-powered personalised practice and doubt support. Unlimited practice on eligible plans; AI usage limits apply.MSQ+1 / -0MediumIPv4 Packet & FragmentationNetwork Layer: AddressingComputer Networks
Computer Networks → Network Layer: Addressing → IPv4 Packet & Fragmentation
Last updated
Question
Which of the following fields of an IP header is/are always modified by any router before it forwards the IP packet?
Correct answer
(C) Time to Live (TTL); (D) Header Checksum
Solution
When a router forwards an IPv4 packet, it performs the following steps regarding the header:
1.Time to Live (TTL): The router decrements the TTL field by at least one. This is done to prevent packets from circulating indefinitely in the network. Thus, the TTL is always modified.
2.Header Checksum: Since the TTL field is part of the IP header and its value changes, the checksum (which verifies the integrity of the header) becomes invalid. The router must recompute the checksum with the new TTL value and update the Header Checksum field. Thus, the Header Checksum is always modified.
The Source IP Address and Protocol fields are generally preserved by standard routers (unless Network Address Translation (NAT) is being performed, which is a specific function and not the general definition of a router's forwarding behavior).Therefore, both Time to Live (TTL) and Header Checksum are always modified.Continue learning with Success Tracker
A step still unclear? Work through it with support
Use Success Tracker to ask about the reasoning, then try another GATE CS question to check your understanding.
AI-powered practice· Unlimited practice on eligible plans
- PYQs with solutions
- Attempt available previous-year questions, then compare your reasoning with the worked solution. Coverage varies by stream.
- Practice that adapts
- Choose a topic, work on weaker areas and bookmark questions to revisit. Your attempts feed your progress tracking.
- AI doubt support
- Ask follow-up questions about a step or concept while practising, instead of stopping at the final answer.
Unlimited practice is available on eligible plans. Free practice and AI usage have limits; check the current plan allowances before choosing.
This page stays readable without an account. AI responses can be wrong; check them against the solution and source material.
More questions on Network Layer: Addressing
2026 Set 1 Q18With respect to a TCP connection between a client and a server, which one of the following…2026 Set 1 Q19Which of the following statements is/are true with respect to the interaction of a web browser with…2026 Set 2 Q21Consider a file of size 4 million bytes being transferred between two hosts connected via a path…2026 Set 2 Q22Which one of the following protocols may need to broadcast some of its messages?2026 Set 2 Q33If an IP network uses a subnet mask of 255.255.240.0, the maximum number of IP addresses that can…