Question: Suppose there are two hosts, S and R. They are communicating over a TCP connection, and R has already received from S all bytes up

Suppose there are two hosts, S and R. They are communicating over a TCP connection, and R has already received from S all bytes up through byte 172. Now, Host S then sends three segments to Host R one after the other. The segments size are 80, 60, and 40 bytes respectively. In the first segment, the source port number is 310 and the destination port number is 112. Host R sends an acknowledgement whenever it receives a segment from Host S.

i. Give the sequence number, source port number, and destination port number for all the three segment?

ii. If the segments arrive at R in given order {1, 2, 3}, in the acknowledgment of the second arriving segment, what is the acknowledgement number, the source port number, and the destination port number?

iii. If the segments arrive at R in given order {1, 3, 2}, in the acknowledgment of the second arriving segment, what is the acknowledgement number, the source port number, and the destination port number?

iv. Lets suppose the three segments sent by S arrive in order at R. The second segments acknowledgment is lost and the third segments acknowledgment arrives after the timeout interval. Draw a timing diagram, showing these segments and all other segments and acknowledgments sent. Assume there is no additional packet loss. For each segment in your figure, provide the sequence number and the number of bytes of data; for each acknowledgement that you add, provide the acknowledgment number.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!