IP Fragmentation questions

Q57

GATE CS 2025 CS-1IPv4NAT2 marks
Suppose a message of size 15000 bytes is transmitted from a source to a destination using IPv4 protocol via two routers as shown in the figure. Each router has a defined maximum transmission unit (MTU) as shown in the figure, including IP header. The number of fragments that will be delivered to the destination is ________ . (Answer in integer)
Question figure
Show answer without attempting

Answer: 7

Q23

GATE CS 2025 CS-2IPv4MCQ1 mark−1/3 if wrong
Consider a network that uses Ethernet and IPv4. Assume that IPv4 headers do not use any options field. Each Ethernet frame can carry a maximum of 1500 bytes in its data field. A UDP segment is transmitted. The payload (data) in the UDP segment is 7488 bytes.

Which ONE of the following choices has the CORRECT total number of fragments transmitted and the size of the last fragment including IPv4 header?
Show answer without attempting

Answer: D

Q65

GATE CS 2024 CS-1IPv4NAT2 marks
Consider sending an IP datagram of size 1420 bytes (including 20 bytes of IP header) from a sender to a receiver over a path of two links with a router between them. The first link (sender to router) has an MTU (Maximum Transmission Unit) size of 542 bytes, while the second link (router to receiver) has an MTU size of 360 bytes. The number of fragments that would be delivered at the receiver is ________
Show answer without attempting

Answer: 6

Q28

GATE CS 2024 CS-2IPv4MSQ1 mark
Which of the following statements about IPv4 fragmentation is/are TRUE?
More than one option can be correct.
Show answer without attempting

Answer: B, C

Q45

GATE CS 2021 CS-1IPv4MSQ2 marks
Consider two hosts PP and QQ connected through a router RR. The maximum transfer unit (MTU) value of the link between PP and RR is 1500 bytes, and between RR and QQ is 820 bytes.
A TCP segment of size 1400 bytes was transferred from PP to QQ through RR, with IP identification value as 0x1234. Assume that the IP header size is 20 bytes. Further, the packet is allowed to be fragmented, i.e., Don't Fragment (DF) flag in the IP header is not set by PP.
Which of the following statements is/are correct?
More than one option can be correct.
Show answer without attempting

Answer: A, C

Q15

GATE CS 2020 CSIPv4MCQ1 mark−1/3 if wrong
Consider the following statements about the functionality of an IP based router.

I. A router does not modify the IP packets during forwarding.
II. It is not necessary for a router to implement any routing protocol.
III. A router should reassemble IP fragments if the MTU of the outgoing link is larger than the size of the incoming IP packet.

Which of the above statements is/are TRUE?
Show answer without attempting

Answer: D

Q54

GATE CS 2018 CSIPv4NAT2 marks
Consider an IP packet with a length of 4,500 bytes that includes a 20-byte IPv4 header and a 40-byte TCP header. The packet is forwarded to an IPv4 router that supports a Maximum Transmission Unit (MTU) of 600 bytes. Assume that the length of the IP header in all the outgoing fragments of this packet is 20 bytes. Assume that the fragmentation offset value stored in the first fragment is 0.

The fragmentation offset value stored in the third fragment is _______.
Show answer without attempting

Answer: 144

Q53

GATE CS 2016 CS-1IPv4NAT2 marks
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 ________.
Show answer without attempting

Answer: 13.0

Q37

GATE CS 2015 CS-2IPv4MCQ2 marks−2/3 if wrong
Host A sends a UDP datagram containing 8880 bytes of user data to host B over an Ethernet LAN. Ethernet frames may carry data up to 1500 bytes (i.e. MTU=1500 bytes). Size of UDP header is 8 bytes and size of IP header is 20 bytes. There is no option field in IP header. How many total number of IP fragments will be transmitted and what will be the contents of offset field in the last fragment?
Show answer without attempting

Answer: C

Q25

GATE CS 2014 CS-3IPv4MCQ1 mark−1/3 if wrong
Host A (on TCP/IP v4 network A) sends an IP datagram D to host B (also on TCP/IP v4 network B). Assume that no error occurred during the transmission of D. When D reaches B, which of the following IP header field(s) may be different from that of the original datagram D?

(i) TTL (ii) Checksum (iii) Fragment Offset
Show answer without attempting

Answer: D

Q28

GATE CS 2014 CS-3IPv4MCQ2 marks−2/3 if wrong
An IP router with a Maximum Transmission Unit (MTU) of 1500 bytes has received an IP packet of size 4404 bytes with an IP header of length 20 bytes. The values of the relevant fields in the header of the third IP fragment generated by the router for this packet are
Show answer without attempting

Answer: A

Q37

GATE CS 2013 CSIPv4MCQ2 marks−2/3 if wrong
In an IPv4 datagram, the M bit is 0, the value of HLEN is 10, the value of total length is 400 and the fragment offset value is 300. The position of the datagram, the sequence numbers of the first and the last bytes of the payload, respectively are
Show answer without attempting

Answer: C

0/120 correct0 marks

Related topics in IPv4