Question

Assignment 4 - Problem Set Homework . Due in 15 hours 3/21 answered Close Question 2: Hosts A and B are communicating over aAssignment 4 - Problem Set Homework . Due in 14 hours 5/21 answered Close Question 2 -part (c) Homework. Unanswered What is t

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

Given, the following data:

  • Host A and B are communicating over a TCP connection, and Host B has already received from A all bytes up through byte 1059.
  • The first, second and third segments contain 1200, 150 and 80 bytes of data, respectively.
  • The first segment of sequence number is 1060.
  • The source port number is 8080.
  • The destination port number is 80.

a. Sequence number in the second segment is:

=> Sequence number of first segment + Destination port number

=> 1060 + 80

=> 1140

Sequence number = 1140

Source port number = 8080

Destination port number = 80

b. Sequence number in the third segment is:

=> Sequence number of second segment + Destination port number

=> 1140 + 80

=> 1220

Sequence number = 1220

Source port number = 8080

Destination port number = 80

c. Destination port number = 80

  • Because, it is sending third segment but still sending to host B only.

d. Acknowledgement number = Sequence number while sending = 1140

Source port number = 80

Destination port number = 8080

e. Acknowledgement number = 1060

  • Because, it is still waiting for the first segment.
Add a comment
Know the answer?
Add Answer to:
Assignment 4 - Problem Set Homework . Due in 15 hours 3/21 answered Close Question 2:...
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...

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

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

  • Question 6: An IP packet of size 4576 bytes needs to be sent through a network. If the Maximum Tr...

    I need the help step by step. Thank you for your help. Question 6: An IP packet of size 4576 bytes needs to be sent through a network. If the Maximum Transport Unit (MTU) size allowed by the network is 1536 bytes, the packet will need to be fragmented. Considering that a minimum number of fragments should be used, for each fragment, find the values for: DF and MF flags Fragment offset field Length of each fragment Then answer the...

  • PLEASE HELP WITH THESE COMPUTER NETWORK QUESTIONS THESE INCLUDE MCQS AND CALCULATIONS With reference to the...

    PLEASE HELP WITH THESE COMPUTER NETWORK QUESTIONS THESE INCLUDE MCQS AND CALCULATIONS With reference to the Go-Back-N and Selective repeat protocols, what does the window value signify? The packets that have already been ACKed The packets sent but remain unACKed The sequence numbers available and not yet sent The sequence numbers of packets not yet available None of the above 1 points    QUESTION 2 Which of the following is NOT a component of the TCP congestion control algorithm? Slow...

  • At this stage, you should be a Wireshark expert. Thus, we are not going to spell...

    At this stage, you should be a Wireshark expert. Thus, we are not going to spell out the steps as explicitly as in earlier labs. In particular, we are not going to provide example screenshots for all the steps. 1.   Start capturing packets in Wireshark and then do something that will cause your host to send and receive several UDP packets (Note that DNS is using UDP for communications. You can use nslookup commands in Lab 4 to generate DNS...

  • hework 2 work . Due in 10 hours 0 8/10 answered Question 8 Homework Unanswered You...

    hework 2 work . Due in 10 hours 0 8/10 answered Question 8 Homework Unanswered You are interested in buying a house and renting it out. You expect to receive a monthly net income of $2000 from rent. You then expect to sell the house for $250,000 at the end of 70 months. If your discount rate on this investment is 5% (compounded monthly), how much is this property worth to you today? Assume that you receive rent at the...

  • Networks Hi guys. I need some assistance with a few questions below. 1. Which of the...

    Networks Hi guys. I need some assistance with a few questions below. 1. Which of the following is TRUE regarding a TCP 3-way handshake. a.   Consists of 3 segments being sent between 2 hosts       b.   Segments only carry data in the SYN, ACK and sequence number bits and bytes with no data       c.   No ACK is needed for the SYNACK received from the receiver       d.   A, B and C       e.   None of the above 2. Which...

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