Question

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

P27. 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 backto-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 from Host A.

a. In the second segment sent from Host A to B, what are the sequence number, source port number, and destination port number?

b. If the first segment arrives before the second segment, in the acknowledgment of the first arriving segment, what is the acknowledgment number, the source port number, and the destination port number?

c. If the second segment arrives before the first segment, in the acknowledgment of the first arriving segment, what is the acknowledgment number?

d. Suppose the two segments sent by A arrive in order at B. The first acknowledgment is lost and the second acknowledgment arrives after the first 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 acknowledgment that you add, provide the acknowledgment number.

Homework Answers

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
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...
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...
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. What is the sequence number of the first, second, third segment A sends to B? (3 points) Assume three...
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...
R.1 Suppose the network layer provides the following service. The network layer in the source host...
R.1 Suppose the network layer provides the following service. The network layer in the source host accepsts a segment maximum size 1,200 bytes and guarantees to deliver the segment to the transport layer at the destination host. Suppose many network application processes can be running at the destination host. A. Design the simplest possible transport-layer protocol that will get application data to the desired process at the destination host. Assume the operation system in the destination host has assigned a...
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?
Multiple choice questions: Circle the correct answer 7) Consider Go-Back-N protocol. Suppose that Host A sends...
Multiple choice questions: Circle the correct answer 7) Consider Go-Back-N protocol. Suppose that Host A sends 6 data segments to Host B, and the 4th segment is lost. In the end, all 6 data segments have been correctly received by Host B. Assume that the timeout values is sufficiently long such that 6 consecutive data segments and their corresponding ACKs can be received (if not lost in the channel) by Host B and Host A, respectively before the timer times...
1.       In modern packet- switched networks, including the Internet, the source host segments long, application- layer messages...
1.       In modern packet- switched networks, including the Internet, the source host segments long, application- layer messages (for example, an image or a music file) into smaller packets and sends the packets into the network. The receiver then reassembles the packets back into the original message. We refer to this process as message segmentation. Figure 1.27 illustrates the end- to- end transport of a message with and without message segmentation. Consider a message that is 8 · 106 bits long that is...
1. Please use only the C as the language of programming. 2. Please submit/upload on Canvas,...
1. Please use only the C as the language of programming. 2. Please submit/upload on Canvas, the following les for each of your programs: (1) the client and the server source les each (2) the client and the serve executable les each (3) a brief Readme le that shows the usage of the program. 3. Please appropriately comment your program and name all the identiers suitable, to enable enhanced readability of the code. Problems 1. Write an ftp client that...
Delta airlines case study Global strategy. Describe the current global strategy and provide evidence about how...
Delta airlines case study Global strategy. Describe the current global strategy and provide evidence about how the firms resources incompetencies support the given pressures regarding costs and local responsiveness. Describe entry modes have they usually used, and whether they are appropriate for the given strategy. Any key issues in their global strategy? casestudy: Atlanta, June 17, 2014. Sea of Delta employees and their families swarmed between food trucks, amusement park booths, and entertainment venues that were scattered throughout what would...
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT