GATE | GATE-CS-2016 (Set 1) | Question 63
An IP datagram of size 1000 bytes arrives at a router. The router has to forward this packet on a link whose MTU (maximum transmission unit) is 100 bytes. Assume that the size of the IP header is 20 bytes. The number of fragments that the IP datagram will be divided into for transmission is :
Note : This question was asked as Numerical Answer Type.
Explanation: MTU = 100 bytes
Size of IP header = 20 bytes
So, size of data that can be transmitted in one fragment = 100 – 20 = 80 bytes
Size of data to be transmitted = Size of datagram – size of header = 1000 – 20 = 980 bytes
Now, we have a datagram of size 1000 bytes.
So, we need ceil(980/80) = 13 fragments.
Thus, there will be 13 fragments of the datagram.
So, D is the correct choice.
Quiz of this Question
Attention reader! Don’t stop learning now. Practice GATE exam well before the actual exam with the subject-wise and overall quizzes available in GATE Test Series Course.
Learn all GATE CS concepts with Free Live Classes on our youtube channel.