Question Details

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?

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
D 6 fragments, 116 bytes

Solution :

The correct option is 6 fragments, 116 bytes.

Here is the step-by-step explanation of the solution:

1. Determine the Total Size of the UDP Segment:
A UDP segment consists of a UDP header and the UDP payload (data). The standard UDP header size is 8 bytes.
Given that the UDP payload is 7488 bytes, we can calculate the total size of the UDP segment (which acts as the IP payload before fragmentation):

Total UDP Segment Size = UDP Payload + UDP Header

Total UDP Segment Size = 7488 bytes + 8 bytes = 7496 bytes

2. Determine the Maximum IP Payload per Fragment:
The Maximum Transmission Unit (MTU) of Ethernet is 1500 bytes, which is the maximum size of the data field in an Ethernet frame. This means each IP packet (fragment) can be at most 1500 bytes in size, including its IPv4 header.
Since the IPv4 header has no options, its size is fixed at 20 bytes.
Therefore, the maximum amount of IP payload (UDP data) that each fragment can carry is:

Max IP Payload per Fragment = MTU - IPv4 Header Size

Max IP Payload per Fragment = 1500 bytes - 20 bytes = 1480 bytes

3. Check for Fragment Offset Alignment:
In IPv4, the Fragment Offset field in the IP header is measured in units of 8-byte blocks. Consequently, the payload size of all intermediate fragments must be a multiple of 8 bytes.
We check if 1480 is a multiple of 8:

1480 8 = 185

Since 1480 is divisible by 8, each of the intermediate fragments can carry the maximum possible payload of exactly 1480 bytes.

4. Calculate the Number of Fragments and Last Fragment Size:
We divide the total UDP segment size by the payload capacity per fragment to find the number of fragments:

Number of intermediate fragments = ⌊ 7496 1480 ⌋ = 5

The total payload carried by these 5 fragments is:

5 × 1480 bytes = 7400 bytes

The remaining payload for the last (6th) fragment is:

7496 bytes - 7400 bytes = 96 bytes

Therefore, a total of 6 fragments are transmitted.

5. Calculate the Total Size of the Last Fragment:
The last fragment contains the remaining 96 bytes of IP payload and the 20-byte IPv4 header:

Last Fragment Size = Remaining Payload + IPv4 Header Size

Last Fragment Size = 96 bytes + 20 bytes = 116 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: