An router with a of bytes has received an packet of size with an header of length . The values of the relevant fields in the header of the third fragment generated by the router for this packet are:
View worked solution
Answer: A
To find the fields of the third IP fragment, we break down the original IP packet based on the Maximum Transmission Unit (MTU) and the requirement that fragment offsets must be multiples of 8 bytes.
1. Identify Packet Parameters
- Total Packet Size:
- IP Header Length:
- Total Payload Size:
- MTU:
2. Determine Maximum Payload per Fragment
The maximum payload size in each fragment is limited by the MTU minus the header size:
Since the fragment offset field in the IP header is measured in units of 8 bytes, the payload size of intermediate fragments must be a multiple of 8. Since is divisible by (), the maximum payload size for each fragment is exactly .
3. Fragment Breakdown
-
Fragment 1:
- Payload: (bytes to )
- Total Length (Datagram Length):
- Offset:
- More Fragments (MF) bit:
-
Fragment 2:
- Payload: (bytes to )
- Total Length:
- Offset:
- MF bit:
-
Fragment 3 (Last Fragment):
- Remaining Payload: (bytes to )
- Total Length (Datagram Length):
- Offset:
- MF bit: (since no more fragments follow)
Thus, the values for the third fragment are: MF bit: 0, Datagram Length: 1444, Offset: 370.
Free practice · Your answers on this page are not saved.
