Consider a network that uses Ethernet and . Assume that headers do not use any options field. Each Ethernet frame can carry a maximum of bytes in its data field. A UDP segment is transmitted. The payload (data) in the UDPO segment is bytes.
View worked solution
Answer: D
To find the number of fragments and the size of the last fragment, we follow these steps:
- Determine the total IP payload:
The UDP segment consists of the UDP payload and the UDP header (8 bytes):
- Determine the maximum IP payload per fragment:
The maximum transmission unit (MTU) of Ethernet is 1500 bytes. Excluding the 20-byte IPv4 header (without options):
Since 1480 is a multiple of 8, it is a valid fragment size.
- Calculate the number of fragments:
- Calculate the size of the last fragment:
The first 5 fragments each carry 1480 bytes of IP payload. The remaining payload for the fragment is:
Including the 20-byte IPv4 header, the total size of the last fragment is:
Thus, there are 6 fragments and the last fragment size is 116 bytes.
Free practice · Your answers on this page are not saved.
