GATE CS 2024 Set 1 — Question 65
Go beyond PYQs with Success TrackerAI-powered personalised practice and doubt support. Unlimited practice on eligible plans; AI usage limits apply.NAT+2 / -0HardIPv4 Packet & FragmentationNetwork Layer: AddressingComputer Networks
Computer Networks → Network Layer: Addressing → IPv4 Packet & Fragmentation
Last updated
Question
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 _________
Correct answer
6 to 6
Solution
1.Original Datagram:
- Total size = 1420 bytes
- IP Header = 20 bytes
- Data Payload = bytes
- Maximum IP packet size = 542 bytes
- Maximum data payload per fragment = bytes
- Since the Fragment Offset field is in units of 8 bytes, the data length in all but the last fragment must be a multiple of 8.
- Largest multiple of 8 is ().
- Fragments generated:
- Fragment 1: Data = 520 bytes, Total size = 540 bytes
- Fragment 2: Data = 520 bytes, Total size = 540 bytes
- Fragment 3: Data = bytes, Total size = 380 bytes
- Maximum IP packet size = 360 bytes
- Maximum data payload per fragment = bytes
- Largest multiple of 8 is ().
- Each fragment from Link 1 is checked against the new MTU:
- Fragment 1 (520 bytes data): Needs fragmentation. . (2 fragments)
- Fragment 2 (520 bytes data): Needs fragmentation. . (2 fragments)
- Fragment 3 (360 bytes data): Needs fragmentation (since total size 380 > 360). . (2 fragments)
- Total = fragments.
Continue learning with Success Tracker
A step still unclear? Work through it with support
Use Success Tracker to ask about the reasoning, then try another GATE CS question to check your understanding.
AI-powered practice· Unlimited practice on eligible plans
- PYQs with solutions
- Attempt available previous-year questions, then compare your reasoning with the worked solution. Coverage varies by stream.
- Practice that adapts
- Choose a topic, work on weaker areas and bookmark questions to revisit. Your attempts feed your progress tracking.
- AI doubt support
- Ask follow-up questions about a step or concept while practising, instead of stopping at the final answer.
Unlimited practice is available on eligible plans. Free practice and AI usage have limits; check the current plan allowances before choosing.
This page stays readable without an account. AI responses can be wrong; check them against the solution and source material.
More questions on Network Layer: Addressing
2026 Set 1 Q18With respect to a TCP connection between a client and a server, which one of the following…2026 Set 1 Q19Which of the following statements is/are true with respect to the interaction of a web browser with…2026 Set 2 Q21Consider a file of size 4 million bytes being transferred between two hosts connected via a path…2026 Set 2 Q22Which one of the following protocols may need to broadcast some of its messages?2026 Set 2 Q33If an IP network uses a subnet mask of 255.255.240.0, the maximum number of IP addresses that can…