GATE CS 2021 Set 1 | Question 55
Computer Networks › Network Layer · MSQ · 2 marks · Answer: A, C
- Question 55Computer Networksmsq2 marksConsider two hosts and connected through a router . The maximum transfer unit (MTU) value of the link between and is 1500 bytes, and between and is 820 bytes. A TCP segment of size 1400 bytes was transferred from to through , 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 . Which of the following statements is/are correct?- A.Two fragments are created at and the IP datagram size carrying the second fragment is 620 bytes.✓
- B.If the second fragment is lost, will resend the fragment with the IP identification value
0x1234. - C.If the second fragment is lost, is required to resend the whole TCP segment.✓
- D.TCP destination port can be determined by analysing *only* the second fragment.
Answer: A, C
Solution
The 1420-byte datagram is fragmented at for the 820-byte MTU: payload per fragment must be a multiple of 8, giving 800 + 620 bytes, so the second datagram is 620 bytes (A). does not retransmit (B false); loss recovery is by TCP at which resends the whole segment (C). The TCP header (with ports) is only in the first fragment, so (D) is false. - A.
More GATE PYQ on Network Layer
All GATE CS Computer Networks PYQ →Attempt GATE CS 2021 Set 1 in real GATE exam mode
Full paper with a timer, the GATE interface and a topic-wise analysis — free.
Create free account →