826 views
0 0 votes
The packet is sent from source to router with the link having the maximum transmission unit (MTU) as 480 bytes, the header is of size 20 bytes. The intermediate fragment size is X and the last fragment size is Y when the packet size is of 2000 bytes including the header. Calculate the value of X+Y in bytes?

1 Answer

Best answer
1 1 vote
Intermediate fragment size can be calculated from the given MTU. Data going through the router is the payload(actual data) + headers. Since the fragment size is required to be a multiple of 8 ,the actual size of data would be  $(MTU - size(header)) - ((MTU-size(header))%8)$.

No. of fragments can be calculated by $\frac{size(packet)-size(headers))}{size(fragment)}$, round it to the next integer value. So in this case a total of 5 packets. Each packet except the last one will be transmitted using the complete MTU size, so the last fragment size would be $(size(packet)-size(headers)) - ((no. of fragments-1)*size(fragment))$, which is  156 in this case. So $X+Y=456+156=612$
• selected by
Position:
Show:

Related questions

1 1 vote
1 answers 1 answer
1.1k
1.1k views
LRU asked Dec 18, 2021
1,105 views
Consider an IP packet with a length of 2000 bytes which includes a 20-byte header . The packet is forwarded to an IPv4 router that supports a Maximum Transmission Unit (M...
0 0 votes
1 1 answer
1.2k
1.2k views
LRU asked Nov 11, 2021
1,168 views
A router with MTU of 1024 bytes has received an IP packet of size 4240 bytes with an IP header of 20 bytes. The value of MF and offset of the 3rd fragment is ________
3 3 votes
1 answers 1 answer
1.7k
1.7k views
LRU asked Oct 10, 2021
1,724 views
Let an IP datagram of the following data and header sizes be sent through a network of MTU 500 bytes. Calculate the fragment offset values that should be set for 3rd frag...
1 1 vote
1 answers 1 answer
1.4k
1.4k views
LRU asked Oct 4, 2021
1,398 views
The packet is sent from source to router with the link having the maximum transmission unit (MTU) as 480 bytes, the header is of size 20 bytes. The intermediate fragment ...