Question Details

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).

Options

A

5 fragments, 1488 bytes

B

6 fragments, 88 bytes

C

6 fragments, 108 bytes

D

6 fragments, 116 bytes

Show Answer
Correct Answer
C 6 fragments, 108 bytes

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:
Max Payload = MTU - IP Header = 1500 - 20 = 1480 bytes 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):
Total IP Payload = 7488 + 8 = 7496 bytes


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:
Number of full fragments = ⌊ 7496 1480 ⌋ = 5 - Payload carried by these 5 fragments:
5 × 1480 = 7400 bytes - Remaining payload for the last fragment:
Remaining Payload = 7496 - 7400 = 96 bytes Since there is a remaining payload of 96 bytes, we need one more fragment.
Thus, the total number of fragments is:
5 + 1 = 6 fragments


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:
Last Fragment Size = Remaining Payload + IP Header = 96 + 20 = 108 bytes


Therefore, we have a total of 6 fragments, and the size of the last fragment is 108 bytes.

Transparent Access on Mindyard

Built for Learners & Educators Alike

Completely free for students. Educators & coaching institutes get 2 months free Pro trial to create tests.

FREE FOR STUDENTS

Practice & Learn Free for Students

Access unlimited practice questions, detailed step-by-step solutions, and exam study materials — completely free for students.

  • Unlimited mock tests & question bank practice
  • Full access to curated study library & formula notes
  • 100% free for students • No credit card required
2 MONTHS FREE TRIAL

Educators & Coaching Institutes

Create and conduct professional online assessments with AI question generation, tab proctoring, and comprehensive batch management.

  • AI question uploader & rapid test generator
  • Anti-cheating tab proctoring & performance reports
  • Full Pro access free for 60 days • No upfront commitment
Discover more resources

You may also like

Mock Tests

View All
  • GATE
  • beginner
  • 3 hours
  • civil engineering

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.

  • GATE
  • beginner
  • 3 hours
  • electronics and communication engineering

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.

Ask AI Tutor
5 left
Q1 View Question & Options
AI Tutor is solving this question...
Reading question context & options...
Ask your own doubt or choose a quick prompt: