GATE CSE 2018 Q64: Fragment offset of the third IPv4 fragment with MTU 600
- Computer Networks
- 2 marks
- NAT
- No negative marking
Syllabus topic: IPv4: fragmentation, CIDR notation and network address translation (NAT)
Question
Consider an IP packet with a length of 4,500 bytes that includes a 20-byte IPv4 header and a 40-byte TCP header. The packet is forwarded to an IPv4 router that supports a Maximum Transmission Unit (MTU) of 600 bytes. Assume that the length of the IP header in all the outgoing fragments of this packet is 20 bytes. Assume that the fragmentation offset value stored in the first fragment is 0.
The fragmentation offset value stored in the third fragment is _______.
Try it: numerical answer: type the value
Show answer and explanation
Answer: 144 (official GATE 2018 final answer key)
Concept used: Each fragment's data length (except the last) must be a multiple of 8 bytes, and the offset field stores the data position in units of 8 bytes; the TCP header counts as IP payload.
First step: Find the largest multiple of 8 that fits in 600 − 20 bytes; that is the data per fragment, and the third fragment starts after two such pieces.
Full step-by-step solution
Loading…
Answer from the official final answer key. Found a mistake? Use Report issue and we will fix it.
More questions on IPv4: fragmentation, CIDR notation and network address translation (NAT)
Every PYQ on this topic →Share this question
Source: official GATE 2018 CS question paper and final answer key, organised by IIT Guwahati. Question paper · Answer key
More Computer Networks PYQs
- 2026 Session 1 · Q18True statement about TCP connection setup and closing
- 2026 Session 1 · Q19HTTP 1.1 persistent connections and pipelining
- 2026 Session 1 · Q44When segment 2000 is sent under TCP slow start
- 2026 Session 1 · Q45Minimum sliding window size for full link utilisation
- 2026 Session 1 · Q56Valid CIDR blocks for 6000 addresses inside 202.16.0.0/15
- 2026 Session 2 · Q21File transfer time over three links of different bandwidth