680 views
2 votes
2 votes
if ip fragment offset is 32 then how many number of datagram bytes ahead of this fragment ?

2 Answers

Best answer
3 votes
3 votes

Here given ip fragment offset = 32 

We know :

IP fragment offset = no of data bytes / 8 ..As 1 offset = 8 bytes is convention

So offset values before the present ip packet = 0-31

So data size  =  32 * 8 bytes

                    =  256 bytes

And by default header size = 20 bytes

So datagram size of preceeding datagram(packet) = 256 + 20

                                                                         = 276 bytes

Hence 276 bytes should be correct answer..

selected by
1 votes
1 votes

Fragment Offset is calculated as = Number of Data Bytes ahead/8 (scaling factor = 8)

Here, Fragment Offset = 32.

So, Number of Data Bytes ahead = 32*8 =256B

Related questions

0 votes
0 votes
0 answers
1
thej911 asked Jun 17, 2023
392 views
If block contains 32 IP address which of the following is the first address of the block ?a. 10.0.0.16b. 10.0.0.32c. 10.0.0.160d. None of the above
0 votes
0 votes
1 answer
2
Hirak asked May 30, 2019
3,013 views
Which of the following is a public IP?10.15.14.12192.168.52.62173.32.1.1None
2 votes
2 votes
0 answers
3
Sambhrant Maurya asked Sep 16, 2018
718 views
A host in a subnet has the IP address 130.83.126.10. How many hosts can be addressed in the network?
1 votes
1 votes
1 answer
4