Question

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 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.
0 0
Add a comment Improve this question Transcribed image text
Know the answer?
Add Answer to:
Host A and B are communicating over a TCP connection, and Host B has already received...
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. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Hosts A and B are communicating over a TCP connection, and Host B has already received from A all...

    Hosts A and B are communicating over a TCP connection, and Host B has already received from A all bytes up to and including byte 1029. Suppose Host A then sends three segments to Host B back-to-back. The first, second and third segments contain 1200, 150 and 80 bytes of data respectively. In the first segment, the sequence number is 1060, the source port number is 8080, and the destination port number is 80. Host B sends an acknowledgment whenever...

  • Answer the following question based on this assumption: 7: Host A and B are communicating over...

    Answer the following question based on this assumption: 7: 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...

  • suppose host A sends two TCP segments back to host B over a TCP connection. the...

    suppose host A sends two TCP segments back to host B over a TCP connection. the first segment has sequence number 30; the second has sequence number 50. how much data is in the first segment? suppose that the first segment is lost but the second segment is lost but the second segment arrives at B. in the acknowledgment that host B sends to host A, what will be the acknowledgment number? (5 marks) in TCP/IP

  • Exercise 2. Suppose there are two hosts, S and R. They are communicating over a TCP...

    Exercise 2. Suppose there are two hosts, S and R. They are communicating over a TCP connection, and R has already received from S all bytes from 1 through 233. Now, Host S then sends three segments to Host R back to back. The segments size are 50, 70, and 90 bytes respectively. In the first segment, the source port number is 212 and the destination port number is 80. Host R sends an acknowledgement whenever it receives a segment...

  • Assignment 4 - Problem Set Homework . Due in 15 hours 3/21 answered Close Question 2:...

    Assignment 4 - Problem Set Homework . Due in 15 hours 3/21 answered Close Question 2: Hosts A and B are communicating over a TCP connection, and Host B has already received from A all bytes up to and including byte 1059. Suppose Host A then sends three segments to Host B back-to- back. The first second and third segments contain 1200, 150 and 80 bytes of data respectively. In the first segment, the sequence number is 1060, the source...

  • . Consider a TCP connection between Host A and Host B. Suppose that the TCP segments...

    . Consider a TCP connection between Host A and Host B. Suppose that the TCP segments traveling from Host A to Host B have source port number 37 and destination port number 61. What are the source and destination port numbers for the segments traveling from Host B to Host A? 
 . Suppose a process in Host C has a UDP socket with port number 6789. Sup- pose both Host A and Host B each send a UDP segment to...

  • 14. (10 Points) Suppose Proces A running on Host Process B running on Host Y vi running on Host Z is communicating with Process via a TCP connection. Let x, y, and z be the IP addresses o and Hos...

    14. (10 Points) Suppose Proces A running on Host Process B running on Host Y vi running on Host Z is communicating with Process via a TCP connection. Let x, y, and z be the IP addresses o and Host Z, respectively. Assume the port number o the port number of Process B is 464 26145, and the port number of Process D is 80. a. What are the identifiers of the socket associated with Process B when it is...

  • TCP headers and segmentation (B) 10. Which of the following flelds in the UDP header Is...

    TCP headers and segmentation (B) 10. Which of the following flelds in the UDP header Is NOT found in the TCP header? source port destination port checksum length 11. The value of the acknowledgement field in a TCP segment defines Number of bytes to retransmit Number of bytes to receive Starting point of next bytes to receive in sequence Total number of bytes left 12. Suppose Host A sends one segment with sequence number 38 and 4 bytes of data...

  • Networking problem help Consider the following TCP session between hosts A and host B on a...

    Networking problem help Consider the following TCP session between hosts A and host B on a perfect channel: A has a file of size 2.5MSS to send to B. A desires to send segments of alternating sizes MSS and MSS/2 (sequence number = 0 for the first segment of size MSS). B also has a file of size 2.5MSS to send to A. B desires to send segments of alternating sizes MSS/2 and MSS (sequence number = 0 for the...

  • Compare GBN, SR, TCP (no delayed ACK, no SACK) – Assume that the timeout values for...

    Compare GBN, SR, TCP (no delayed ACK, no SACK) – Assume that the timeout values for all three protocols are sufficiently long such that 5 consecutive data segments (each containing only one byte) 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...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT