1,516 views
2 votes
2 votes
Suppose a TCP message of 2000 bytes of data and 20 bytes of TCP header is passed to the IP

layer. Suppose this host is connected to a link with an MTU size of 512 Bytes. What is the total length of the last IP fragment? Express in bytes. What is the value of the offset field in the last fragment?

1 Answer

2 votes
2 votes

IP get the data = TCP message + TCP header  = 2000+20 = 2020

MTU is of 512 Byte = data + header

We have to do fragmentation on 2020 Byte of data.

first fragment = 488+20         and offset value 0

second fragment = 488+20   and offset value  488/8 = 61

third fragment = 488+20       and offset value   61+61 = 122

fourth fragment = 488+20    and offset value    122+61 = 183

fifth fragment  = 68+20         and offset value    183+61 = 244

Length of the last IP fragment is 68+20 = 88

So the value of offset field in last fragment is 244

 

Related questions

1 votes
1 votes
1 answer
1
0 votes
0 votes
1 answer
2
Hirak asked May 30, 2019
3,062 views
Which of the following is a public IP?10.15.14.12192.168.52.62173.32.1.1None
1 votes
1 votes
1 answer
3
*p asked Feb 17, 2019
16,737 views
In a LAN network every system is identified by(a) Name(b) MAC Address(c) IP Address(d) Serial number given by manufacturerthe answer is given as IP address but according ...