edited by
16,770 views
32 votes
32 votes
An IP datagram of size $1000$ $\text{bytes }$arrives at a router. The router has to forward this packet on a link whose MTU (maximum transmission unit) is $100$ $\text{bytes }$. Assume that the size of the IP header is $20$ $\text{bytes }.$

The number of fragments that the IP datagram will be divided into for transmission is________.
edited by

6 Answers

1 votes
1 votes

IP datagram of size 1000 bytes

MTU = 100B

Header size = 20B

Since MTU is 100B we cant transmit entire 1000B at a time so we need to perform fragmentation here.

Data in one fragment = Total size - header size = 100-20 = 80B

Total fragments = 1000/80 = 12.5                           

So we need 13 fragments.

0 votes
0 votes

I think using the formula seal(data size/mtu data size) will give incorrect answer if mtu data size is not a multiple of 8. 

Eg: Suppose ip packet size=60B, ip header size= 10B and mtu=20B.

now, seal(50/10) = 5.. But actually data is sent as (8,10) each and will take 8B*6+2B*1=7 packets in total. Although this wouldn't be the case for for many questions.. or take seal(50/8)=7...

 

Answer:

Related questions

58 votes
58 votes
11 answers
2
Sandeep Singh asked Feb 12, 2016
26,417 views
A sender uses the Stop-and-Wait $\text{ARQ}$ protocol for reliable transmission of frames. Frames are of size $1000$ bytes and the transmission rate at the sender is $80\...
34 votes
34 votes
6 answers
4
Sandeep Singh asked Feb 12, 2016
18,275 views
Which one of the following protocols is NOT used to resolve one form of address to another one?$\textsf{DNS}$$\textsf{ARP}$$\textsf{DHCP}$$\textsf{RARP}$