Computer Sciences > GATE 2025 SET-2 > IP Fragmentation
Consider a network that uses Ethernet and IPv4. Assume that IPv4 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 UDP segment is 7488 bytes.
Which ONE of the following choices has the CORRECT total number of fragments transmitted and the size of the last fragment including IPv4 header?
A
5 fragments, 1488 bytes
B
6 fragments, 88 bytes
C
6 fragments, 108 bytes
D
6 fragments, 116 bytes

Correct : d

The correct answer is Option D - 6 fragments, 116 bytes.
Let''s work through the calculation step by step.
Total IP datagram size:
UDP payload = 7488 bytes
UDP header = 8 bytes
IPv4 header = 20 bytes (no options)
Total = 7488 + 8 + 20 = 7516 bytes
Data per fragment:
Ethernet MTU = 1500 bytes. Each fragment carries a 20-byte IPv4 header, leaving 1500 − 20 = 1480 bytes of data per fragment.
Note: Fragment offsets must be multiples of 8, and 1480 is divisible by 8, so this is valid.
Total data to fragment (UDP header + payload) = 7488 + 8 = 7496 bytes
Number of fragments:
⌈7496 / 1480⌉ = ⌈5.065⌉ = 6 fragments
Last fragment size:
First 5 fragments carry 5 × 1480 = 7400 bytes.
Remaining data = 7496 − 7400 = 96 bytes
Last fragment size (including IPv4 header) = 96 + 20 = 116 bytes
So the answer is 6 fragments and the last fragment is 116 bytes - Option D.

Similar Questions

An IP router with a Maximum Transmission Unit (MTU) of 1500 bytes has received an IP packet of size 4404 bytes with an IP header of length 20 bytes. The values...
#1302 MCQ
Suppose a message of size 15000 bytes is transmitted from a source to a destination using IPv4 protocol via two routers as shown in the figure. Each router has...
#1400 NAT
A palindrome is a word that reads the same forwards and backwards. In a game of words, a player has the following two plates painted with letters. From...
#1 MCQ

Related Topics

IPv4 fragmentation GATE 2025 GATE CS 2025 Set-2 Q23 UDP fragmentation Ethernet MTU 1500 fragmentation IP fragment calculation last fragment size GATE UDP header 8 bytes IPv4 header 20 bytes computer networks GATE IP datagram fragmentation

Unique Visitor Count

Total Unique Visitors

Loading......