Consider a network that uses Ethernet and . Assume that headers do not use any options field. Each Ethernet frame can carry a maximum of 1500 bytes in its data field. A UDP segment is transmitted. The payload (data) in the UDPO segment is 7488 bytes.
GATE CSE 2025Computer Networks › Network Layer, Routing & IP AddressingVerified
GATE CSE 2025 PYQ: Consider a network that uses Ethernet and I P v 4 IPv4 I P v 4 . Assume that I P v 4 IPv4 I P v 4…
- A5 fragments 1488 bytes
- B6 fragments 88 bytes
- C6 fragments 108 bytes
- D6 fragments 116 bytesCorrect answer
Answer
(D) 6 6 6 fragments 116 116 116 bytes
Approach
The IP layer fragments the entire UDP segment, i.e. UDP header plus UDP data. Since the Ethernet MTU is 1500 bytes and the IPv4 header is 20 bytes, each fragment can carry at most 1480 bytes of IP payload. The remainder after sending as many full 1480-byte payload fragments as possible determines the last fragment size.
The correct choice is D. The IP payload consists of the 8-byte UDP header plus the 7488-byte UDP data, so 7496 bytes must be fragmented. With a 20-byte IPv4 header, each fragment can carry at most 1480 bytes of IP payload. Five full fragments carry 7400 bytes, leaving 96 bytes for the sixth fragment. Including the 20-byte IPv4 header, the last fragment size is 96 + 20 = 116 bytes.
Reviewed by GateIQ Editorial Team: IIT & IISc Alumni.