Consider two hosts P and Q are connected through a router R. The maximum…
20232021
Consider two hosts P and Q are connected through a router R. The maximum transfer unit (MTU) value of the link between P and R is 1500 bytes and between R and Q is 820 bytes. A TCP segment of size of 1400 bytes is transferred from P to Q through R with IP identification value of 0×1234. Assume that IP header size is 20 bytes. Further the packet is allowed to be fragmented that is Don't Fragment (DF) flag in the IP Header is not set by P. which of the following statement is/are true
A. Two fragments are created at R and IP datagram size carrying the second fragment is 620 bytes
B. If the second fragment is lost then R resend the fragment with IP Identification value of 0×1234
C. If the second fragment lost then P required to resend the entire TCP segment
D. TCP destination port can be determined by analyzing the second fragment only
Choose the correct answer from the options given below:
- A.
A, B and C Only
- B.
A and C Only
- C.
C and D Only
- D.
B and D Only
Attempted by 151 students.
Show answer & explanation
Correct answer: B
Solution summary: determine fragmentation, sizes, and which statements are true.
Compute the original IP datagram size: TCP segment 1400 bytes + IP header 20 bytes = 1420 bytes.
Maximum data per fragment on the R→Q link: MTU 820 − IP header 20 = 800 bytes of payload per fragment.
Fragmentation result: first fragment carries 800 bytes payload (800 + 20 = 820 bytes total), second (last) fragment carries remaining 620 bytes payload (620 + 20 = 640 bytes total). The first fragment has fragment offset 0; the second fragment offset = 800/8 = 100.
IP identification: both fragments use the same identification value 0x1234 so the receiver can reassemble them.
If the second fragment is lost: the receiver cannot reassemble the full IP datagram and discards the fragments. The router that performed fragmentation does not retransmit fragments; retransmission is handled by the transport layer (TCP) at the sender, so the TCP sender will retransmit the entire TCP segment.
TCP header fields (including source and destination ports) are located at the start of the TCP segment and therefore appear only in the first fragment. Later fragments do not contain the TCP header and so cannot be used alone to determine the TCP destination port.
Final evaluation: the true statements are that two fragments are created (with payloads 800 and 620 bytes) and that the sender must retransmit the entire TCP segment if a fragment is lost. The statements that the router will resend a lost fragment and that the TCP destination port can be determined from the second fragment are false.
Correct choice: the option that selects the two true statements (two fragments are created; sender must resend the entire TCP segment).
A video solution is available for this question — log in and enroll to watch it.