Question

Hosts A and B are communicating over a TCP connection, and Host B has already received...

Hosts A and B are communicating over a TCP connection, and Host B has already received from A all bytes up through byte 100. Suppose Host A then sends three segments to Host B. The first, second, third segments contain 10, 20, and 30 bytes of data respectively. Host B sends an acknowledgment whenever it receives a segment from Host A.

  1. What is the sequence number of the first, second, third segment A sends to B? (3 points)
  2. Assume three segments arrive at B in order. When acknowledging the first, second, third segment, what is the ACK number, respectively? (3 points)
  3. Assume B receives the second segment first, then the third segment, finally the first segment. When acknowledging these segments, what is the ACK number, respectively? (3 points)

Homework Answers

Answer #1

A. Since 100 bytes has been send and considering initial sequence number to 0,

Sequence number of 1st segment = 100

Sequence number of 2nd segment = 100+10 = 110

Sequence number of 3rd segment = 110+20 = 130

B. Acknowledgement number specifies the next expected byte by the receiver.

So the first Acknowledgement number = 110 (Sequence number of 2nd segment)

Second acknowledgement number = 130

Third acknowledgement number = 160 ( sequence number of 4th segment which is 130+30 since 3rd segment contains 30B)

C. Here receiver was expecting 1st segment, but received it in the end.

So, all the 3 acknowledgement would be for the 1st segment.

Thus all the 3 Acknowledgement will contain ACK# = 100.

If you have any questions comment down. Please don't simply downvote and leave. If you are satisfied with answer, please? upvote thanks

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
Hosts A and B are communicating over a TCP connection, and Host B has already received...
Hosts A and B are communicating over a TCP connection, and Host B has already received from A all bytes up through byte 126. Suppose Host A then sends two segments to Host B back-to-back. The first and second segments contain 80 and 40 bytes of data, respectively. In the first segment, the sequence number is 127, the source port number is 302, and the destination port number is 80. Host B sends an acknowledgment whenever it receives a segment...
Host A and B are communicating over a TCP connection, and Host B has already received...
Host A and B are communicating over a TCP connection, and Host B has already received from A all bytes up through byte 126. Suppose Host A then sends two segments to Host B back-to-back. The first and second segments contain 80 and 40 bytes of data, respectively. In the first segment, the sequence number is 127, the source port number is 302, and the destination port number is 80. Host B sends an acknowledgment whenever it receives a segment...
EQ & ACK # Consider the figure below (simplex communication scenario). The TCP sender sends an...
EQ & ACK # Consider the figure below (simplex communication scenario). The TCP sender sends an initial window of 4 segments. Suppose the initial value of the sender->receiver sequence number is 300 and the first 4 segments each contain 400 bytes of payload. As you can see ACK 3 is lost. What is the SEQ number (SEQ1, SEQ2, SEQ3, SEQ4, SEQ5) from the Sender and ACK Number (ACK1, ACK2, ACK3, ACK4, ACK5) from the receiver for each segment?
Assume that the timeout values for all three protocols are sufficiently long such that 5 consecutive...
Assume that the timeout values for all three protocols are sufficiently long such that 5 consecutive data segments and their corresponding ACKs can be received (if not lost in the channel) by the receiving host (Host B) and the sending host (Host A), respectively. Suppose Host A sends 5 data segments to Host B, and the 2nd segment (sent from A) is lost – this is the only data segment or ACK loss. In the end, all 5 data segments...
For extended warranties, digital content, service contracts and other products, B&N determines whether it is a...
For extended warranties, digital content, service contracts and other products, B&N determines whether it is a principal or an agent in the transaction and records the transaction accordingly. From our text, list three criteria that B&N would consider when determining whether they are a principal or agent in the transaction. (Review the Revenue Recognition footnote below.) 1. 2. 3. Revenue Recognition Revenue from sales of the Company’s products is recognized at the time of sale or shipment, other than those...
What tools could AA leaders have used to increase their awareness of internal and external issues?...
What tools could AA leaders have used to increase their awareness of internal and external issues? ???ALASKA AIRLINES: NAVIGATING CHANGE In the autumn of 2007, Alaska Airlines executives adjourned at the end of a long and stressful day in the midst of a multi-day strategic planning session. Most headed outside to relax, unwind and enjoy a bonfire on the shore of Semiahmoo Spit, outside the meeting venue in Blaine, a seaport town in northwest Washington state. Meanwhile, several members of...
Please answer the following Case analysis questions 1-How is New Balance performing compared to its primary...
Please answer the following Case analysis questions 1-How is New Balance performing compared to its primary rivals? How will the acquisition of Reebok by Adidas impact the structure of the athletic shoe industry? Is this likely to be favorable or unfavorable for New Balance? 2- What issues does New Balance management need to address? 3-What recommendations would you make to New Balance Management? What does New Balance need to do to continue to be successful? Should management continue to invest...