Question

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 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?

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?

source port number?

destination port number?

c. If the second segment arrives before the first segment, in the acknowledgment of the first arriving segment,

what is the acknowledgement number?

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Hey there, I hope you and your family are doing fine.

.Please Upvote. If it helped you in any way.

If Host A and B communicate over TCP connection, and Host B receives 126 bytes from A. First and second segments contain data size of 80 and 40 bytes, respectively. First segment of sequence number = 127. Source port number = 302. Destination port number = 80 1.) Sequence No = First segment(sequence no) + destination port no   = 127+80   = 207   Sequence no = 207   Source port no = 302   Destination port no = 80  2.) Acknowledgement no = 207   Source port no = 80   Destination port no = 302 3.) Acknowledgement no =127
Add a comment
Know the answer?
Add Answer to:
Answer the following question based on this assumption: 7: Host A and B are communicating over...
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
  • 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 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...

  • 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...

  • 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

  • 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...

  • 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...

  • . 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...

  • 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...

  • Consider a Host X sending three segments of 100 bytes of data each to Host Y...

    Consider a Host X sending three segments of 100 bytes of data each to Host Y over a TCP connection. Assume Host Y has no data to send to X. Suppose the sequence number is initially S = 90 and the acknowledgement number is initially A = 160. If the first segment is lost, show the exchange of all three segments between X and Y to achieve reliable data transfer. Draw the bounce diagram.

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