Consider a network that uses Ethernet and IPv4. Assume that IPv4 headers do…

2025

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?

Answer: D. 6 fragments, 116 bytesCorrect answer: 6 fragments, last fragment size 116 bytes (including the 20-byte IPv4 header). Step-by-step calculation: Total UDP segment size (IP payload) =…

  1. A.

    5 fragments, 1488 bytes

  2. B.

    6 fragments, 88 bytes

  3. C.

    6 fragments, 108 bytes

  4. D.

    6 fragments, 116 bytes

Attempted by 167 students.

Show answer & explanation

Correct answer: D

Correct answer: 6 fragments, last fragment size 116 bytes (including the 20-byte IPv4 header).

Step-by-step calculation:

  • Total UDP segment size (IP payload) = UDP header (8 bytes) + UDP data (7488 bytes) = 7496 bytes.

  • Maximum IP payload per fragment = Ethernet data field max (1500 bytes) - IPv4 header (20 bytes) = 1480 bytes.

  • Number of full-size fragments = floor(7496 / 1480) = 5, which carry 5 × 1480 = 7400 bytes.

  • Remainder for the last fragment = 7496 - 7400 = 96 bytes of IP payload.

  • Total number of fragments = 5 full fragments + 1 last fragment = 6 fragments.

  • Size of the last fragment including the IPv4 header = IPv4 header (20 bytes) + last fragment IP payload (96 bytes) = 116 bytes.

Common mistakes to avoid:

  • Forgetting to add the 8-byte UDP header to the UDP payload when computing the total IP payload to fragment.

  • Using the Ethernet MTU (1500) directly without subtracting the IPv4 header to find the usable IP payload per fragment.

  • Ignoring that fragment payload sizes (except possibly the last) must align with the 8-byte fragmentation unit; here 1480 is divisible by 8, so it is valid.

A video solution is available for this question — log in and enroll to watch it.

Explore the full course: Iocl Engineers Officers Grade A Paper 2

Loading lesson…