Each Ethernet frame can carry a max of 1500 bytes. A UDP segment with 7488 bytes of payload is transmitted. Find the total number of fragments and the size of the last fragment including IPv4 header (assume no options).
Solution :
The correct option is 6 fragments, 108 bytes.
Let's break down the step-by-step derivation to find the total number of fragments and the size of the last fragment.
1. Understand the constraints and sizes:
- Maximum Transmission Unit (MTU) of Ethernet frame: 1500 bytes. This is the maximum size of the IP packet (including IP header and IP payload) that can be carried in an Ethernet frame.
- Size of IPv4 Header (with no options): 20 bytes.
- Maximum payload that a single IP fragment can carry:
Note that in IPv4 fragmentation, the payload size of each fragment (except the last one) must be a multiple of 8 bytes because the Fragment Offset field in the IP header is measured in units of 8-byte blocks. Since 1480 is divisible by 8 (1480 / 8 = 185), 1480 bytes is indeed the maximum payload size per fragment.
2. Determine the total payload to be transmitted:
- UDP segment payload = 7488 bytes.
- UDP Header size = 8 bytes.
- Total data to be carried by the IP layer (UDP Header + UDP Payload):
3. Calculate the number of fragments:
Each of the first fragments will carry the maximum allowed payload of 1480 bytes.
- Number of full fragments needed:
- Payload carried by these 5 fragments:
- Remaining payload for the last fragment:
Since there is a remaining payload of 96 bytes, we need one more fragment.
Thus, the total number of fragments is:
4. Calculate the size of the last fragment:
The last fragment contains the remaining IP payload and its own 20-byte IPv4 header.
- Size of the last fragment including IPv4 header:
Therefore, we have a total of 6 fragments, and the size of the last fragment is 108 bytes.
Completely free for students. Educators & coaching institutes get 2 months free Pro trial to create tests.
Access unlimited practice questions, detailed step-by-step solutions, and exam study materials — completely free for students.
Create and conduct professional online assessments with AI question generation, tab proctoring, and comprehensive batch management.
Prepare for GATE 2026 Civil Engineering with the latest question papers, previous year papers, detailed solutions, syllabus, exam pattern, preparation tips, mock tests, and subject-wise study material. Download GATE 2026 CE question papers with solutions in PDF format and boost your preparation for top engineering institutes and PSU recruitment.
Prepare effectively for GATE 2026 Electronics & Communication Engineering (EC) with this comprehensive Question Paper with Solutions. This resource includes detailed explanations, concept-wise solutions, previous year paper analysis, and exam-oriented practice to help aspirants strengthen core subjects like Electronic Devices, Analog Circuits, Digital Circuits, Signals & Systems, Network Theory, Control Systems, Electromagnetics, Communications, and more. Perfect for revision, self-assessment, and boosting your GATE 2026 EC preparation strategy.
Copyright © 2026 Combe Labs Private Limited. All Rights Reserved.