Step 1: Determine need for fragmentation.
The total size of the IP datagram is:
1400 bytes (TCP data) + 20 bytes (IP header) = 1420 bytes
Since the MTU of the link between router R and Q is 820 bytes, the datagram cannot be forwarded without fragmentation.
Step 2: Calculate fragment sizes.
Each fragment must carry its own 20-byte IP header.
Maximum payload per fragment = 820 − 20 = 800 bytes
• Fragment 1: 800 bytes data + 20 bytes header = 820 bytes
• Fragment 2: Remaining data = 1400 − 800 = 600 bytes
Fragment size = 600 + 20 = 620 bytes
Therefore, statement (A) is correct.
Step 3: Router responsibility for lost fragments.
IP provides a best-effort service. Routers neither track fragments nor perform retransmissions.
Hence, if a fragment is lost, the router does not resend it, making statement (B) incorrect.
Step 4: TCP behavior on fragment loss.
If even one IP fragment is missing, the receiver discards the entire datagram.
TCP, operating at the transport layer, detects this loss and retransmits the complete TCP segment from the sender P.
Thus, statement (C) is correct.
Step 5: TCP header presence in fragments.
The TCP header appears only in the first fragment. Subsequent fragments contain only payload data.
As a result, the second fragment does not include TCP port numbers, so statement (D) is incorrect.
Final Answer:
The correct statements are (A) and (C).
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) 