Here's the question bank on all the computer networks topics.
In an IPv4 datagram, the M bit is 0, the value of HLEN is 10, the value of total length is 400 and the fragment offset value is 300. The position of the datagram, the sequence numbers of the first and the last bytes of the payload, respectively are
The correct answer is option 3EXPLANATION:In the question given that M bit is 0, it means that no more fragments remaining to send after this fragment, hence this is the last fragment.So the answer should be either option 1 or option 3Let's checkthe value of HLEN is 10 × 4 =40B because the scaling factor is 4 byte for the field,Total length is given that is 400BPayload size =Total length - header lengthPayload size = 400B - 40BPayload size = 360BFragment offset = 300 × 8 =2400B, where 8 is the scaling factorValue of the first byte for this last fragment =2400and the last byte is =2400 +360 -1 = 2759, here we subtract -1 because start the byte from 0So the correct answer is option 3
Scan QR code to download our App for
more exam-oriented questions
OR
To get link to download app