Question

Consider a Go-Back-N protocol with a sender window size of 5 and a sequence number range...

Consider a Go-Back-N protocol with a sender window size of 5 and a sequence number range of 1,024, and assume the receiver sends ACKs with the number of the next sequence number expected. Suppose that at time t, the next in-order packet that the receiver is expecting is a packet with the sequence number 8. Assume that the channel does not reorder packets.

(a) What are the possible sets of sequence numbers inside the sender’s window at time t? Justify your answer.

(b) What are all possible values of the ACK field in all possible messages currently propagating back to the sender at time t? Justify your answer.

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

Given window size of the sender is = 5

we know in Go-Back-N protocol window size of the receiver is = 1

Given range of sequence numbers is = 1024 (0 to 1023)

In 1st window we will have sequence numbers from 0 to 4 (0 1 2 3 4)

in 2nd window we will have sequence numbers from 5 to 9 (5 6 7 8 9)

This is in normal case

a)

    But given that receiver is expecting is a packet with the sequence number 8

    Hence packets from 0 to 7 (0 1 2 3 4 5 6 7) are already acknowledged at sender side

    Now hence the sender window will slide and the new window is 8 9 10 11 12

    Hence the possible sets of sequence numbers inside the sender’s window at time t

    8 9 10 11 12.

b)

   If reciever is expecting packet with the sequence number 8 then he might

send the ACK for the packets below 8 in previous window (5 6 7 8 9)

Hence ACK 5 , ACK 6 , ACK 7 and ACK 8 will be sent

Add a comment
Know the answer?
Add Answer to:
Consider a Go-Back-N protocol with a sender window size of 5 and a sequence number range...
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
  • Since the range of sequence numbers is so large relative to the window size, when answering...

    Since the range of sequence numbers is so large relative to the window size, when answering the questions, you don’t need to worry about the necessity of wrapping the sequence numbers from the higher end (1023) back to the lower end (0). 1.Consider the go-back-n protocol with a sender window size N=4 and a sequence number range of 0-1023. (Apparently, for some reason, this sender is not using the maximum possible value 1023 as its window size, but that is...

  • (a) In a sliding window protocol with RWS=SWS=5, a very large set of possible sequence numbers...

    (a) In a sliding window protocol with RWS=SWS=5, a very large set of possible sequence numbers (assume no wrapping), and in-order packet arrivals, why can the receiver be assured -3- that it will never again receive the frame with sequence number 10 if it is currently expecting frame 17? (b) For the sliding window protocol, if the sender’s window size (SWS) equals the receiver’s window size (RWS), what is the minimum number of sequence numbers that are required? How many...

  • TCP at Packet Level In a TCP packet level data transfer, sender and receiver both have...

    TCP at Packet Level In a TCP packet level data transfer, sender and receiver both have a window that can hold 4 packets. Sender has 5 packets to send numbered 0-4. ACK 2 is lost and PKT 3 is lost too. (Remember in TCP the ACK number is one greater than the number of the last packet received in order and that ACKs are cumulative) There are no other errors or losses in either direction. Draw a timeline diagram that...

  • Consider a simplified actual TCP senderreceiver, described as follows: .Upon a loss (timeout or t...

    Consider a simplified actual TCP senderreceiver, described as follows: .Upon a loss (timeout or triple-duplicate ACKs), the sender o transmits the oldest unACKed packet (whose sequence number Base) o restarts the timer Upon receiving an ACK with a Sequence #y > Base. o it considers all packets with sequence numbers s y as ACKed (cumulative ACK) o Sets Base to the sequence number of the packet immediately after the packet whose sequence number is y o Restarts the timer ....

  • Sliding window protocol with window size of 7 frames are used between the data link layers of mac...

    please answer the question clearly. Sliding window protocol with window size of 7 frames are used between the data link layers of machines A and B. Assume that machine B sends an ACK (acknowledgement) for every frame it receives without error, and it sends a NAK (negative acknowledgement) for every frame it receives with error. This corresponds to a receiver window size of 1 frame. Assume also that no frames are lost in the transmission medium. For the scenario shown...

  • (a) Assume a Sliding Window with Go-Back N ARQ is being used on a transmission link...

    (a) Assume a Sliding Window with Go-Back N ARQ is being used on a transmission link with a 3-bit sequence number. The transmitter has previously sent frames with sequence numbers 0, 1 and 2. Is the transmitter allowed to send a frame with sequence number 3 if the frame with sequence number 2 has not been acknowledged? Explain your answer. (b) Assume a Sliding Window with Go-Back N ARQ is being used on a transmission link with a 3-bit sequence...

  • which of the following statements is not true for local DNS servers? Option: A local DNS...

    which of the following statements is not true for local DNS servers? Option: A local DNS server acts like a proxy. IPS often provide default name servers. A local DNS server provides authorization hostname to IP address mappings. A local DNS servers has a local cache to speed up. Which of the following is unlikely to be one of the transport layers services? Option: Segmenting Reliable data transfer congestion control host-to-host communication What is the data unit exchanged in 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...

  • Question 1 The size of the datagram is determined by the application that sends the data....

    Question 1 The size of the datagram is determined by the application that sends the data. Allowing the size of datagrams to vary makes IP adaptable to a variety of applications. True False Question 2 What is the conceptual network boundary, and where is it located within the protocol stack? Is the transition area between digital and analog signals and can be found between layer 2 and layer 3 of the protocol stack. Identifies application direct messaging and is formed...

  • In this lab, we’ll investigate the 802.11 wireless network protocol. Follow the instructions and answers questions...

    In this lab, we’ll investigate the 802.11 wireless network protocol. Follow the instructions and answers questions 7 - 10. http://gaia.cs.umass.edu/wireshark-labs/wireshark-traces.zip In this lab, we'll investigate the 802.11 wireless network protocol. Before beginning this lab, you might want to re-read Section 6.3 in the text. Since we l1 be delving a bit deeper into 802.11 than is covered in the text, you might want to check out "A Technical Tutorial on the 802.11Protocol," by Pablo Brenner (Breezecom Communications) http://www.sss-mag.com/pdf802_11tut.pdf, and "Understanding...

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