An IP packet has arrived in which the fragment offset value is 100, the value…
2014
An IP packet has arrived in which the fragment offset value is 100, the value of HLEN is 5 and the value of total length field is 200. What is the number of last byte in packet.
- A.
194
- B.
394
- C.
979
- D.
1179
Attempted by 132 students.
Show answer & explanation
Correct answer: C
The fragment offset is measured in 8-byte units, so the starting byte position is calculated as 100 × 8 = 800.
The header length is determined by multiplying the HLEN value of 5 by 4 bytes, resulting in a 20-byte header.
Subtracting the header from the total length of 200 gives a data payload of 180 bytes.
The last byte position is the starting byte plus the payload length minus one: 800 + (180 - 1) = 979.
A video solution is available for this question — log in and enroll to watch it.