edited by
341 views
2 votes
2 votes
An IP datagram of size $1200\;\text{bytes}$ arrives at a router. The router has to forward this packet on a link whose MTU (maximum transmission unit) is $120\;\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

1 Answer

Best answer
8 votes
8 votes
We have to sent $1200\;\text{bytes}$ out of which $20$ bytes is header. So, a tual data to be transmitted $=1180$ bytes.    

Each fragment can have $100\;\text{bytes}$ data and $20\;\text{bytes}$ header as MTU is $100+20=120\;\text{bytes}$. But, the payload must be a multiple of $8$ as the offset field uses multiple of $8$ as it's unit. This means the router can only sent $96$ bytes of data in a fragment.
    
So, to send $1200\; \text{bytes}$ the router needs $\left\lceil \dfrac{1200-20}{96}\right \rceil=13$ fragments.
selected by
Answer:

Related questions

6 votes
6 votes
1 answer
2
gatecse asked Oct 23, 2020
447 views
Consider that $24$ machines need to be connected in a LAN using $5$-port Ethernet switches. Assume that these switches do not have any separate uplink ports. The minimum ...
5 votes
5 votes
2 answers
4