GATE 2016 CS (CS1) – 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 ________.
Practise this question in The GATE Grind →
Show answer and explanation
Correct answer: 13
Explanation
Each fragment can carry $100 - 20 = 80$ bytes of data, and 80 is a multiple of 8, which fragment offsets require. The datagram holds $1000 - 20 = 980$ bytes of data. The number of fragments is $\lceil \frac{980}{80} \rceil = \lceil 12.25 \rceil = 13$.
More IPv4: Addressing, CIDR, Fragmentation and NAT questions
- GATE 2014 CS (CS2) Q35
- GATE 2014 CS (CS3) Q35
- GATE 2014 CS (CS3) Q36
- GATE 2014 CS (CS3) Q37
- GATE 2014 CS (CS3) Q38
- GATE 2017 CS (CS2) Q30
All IPv4: Addressing, CIDR, Fragmentation and NAT questions →