687 views
2 votes
2 votes
User has generated 200 bytes of SMTP data for which 32 bytes of TCP header is added with various required options. When such a packet is flowing through a network with MTU size of 100 bytes and network related header of 5 bytes. Find the number of fragments and offset value of last fragment. Assume header length of IP header for this packet is 6 bytes.

a) 4, 24

b) 4, 192

c) 16, 4

d) 4, 16

I am confused with network related header of 5 bytes. What to to with it. Is it a control information ??

1 Answer

0 votes
0 votes
Application layer data=200 byte , TCP header =32byte, IP header=6*4=24 byte, MTU=100 byte

 As we prefer frame size divisible by 8

In this case we sent 96byte in one frame

72+24(1st frame)

72+24(2nd frame)

72+24(3rd frame)

16+24(4th frme)  

So number of fragmentation =4

offset value of last frame=288/8 =36

(correct me if u find something wrong)

Related questions

0 votes
0 votes
0 answers
1
mridul_negi asked Feb 25
103 views
A packet has arrived in which the offset value is 100. Then what's the number of 1st Byte?
1 votes
1 votes
1 answer
2
rayhanrjt asked Dec 13, 2022
516 views
Suppose a 22-byte packet is to be transmitted through a network of MTU = 3byte. The elementary fragment size is 1 byte. Show the segment numbering of the above packet. Pa...
0 votes
0 votes
1 answer
3
0 votes
0 votes
3 answers
4
Mayankprakash asked Dec 26, 2018
1,283 views
How segmentation and fragmentation are different in computer networksPlease help!