Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Problem 9 Suppose Host A sends 6 consecutive segments to Host B. Suppose the 1st segment is lost (when transmitted for the first time) and

image text in transcribed

Problem 9 Suppose Host A sends 6 consecutive segments to Host B. Suppose the 1st segment is lost (when transmitted for the first time) and there is no further loss. Suppose that the sequence number starts from 1 and increments by 1 per segment. Further suppose that under Go-Back-N (GBN) or Selective- Repeat (SR) protocol, the acknowledgement number is the sequence number of the segment it acknowledges (initially o), and under TCP, the acknowledgement number is the sequence number of the next segment it expects (initially 1). In the case of TCP, suppose that the sender uses fast retransmission, and the receiver buffers out-of-order segments. a) Under each of GBN, SR, and TCP: How many segments will Host A send in total? How many ACKS will Host B send in total? b) Give the sequence number of each segment sent by A, and the acknowledgement number of each ACK sent by B, under each protocol. c) Suppose that the timeout values of all three protocols are longer than the time to send 6 segments and receive their ACKs (if not lost). Which protocol delivers all the segments fastest? Why? Problem 9 Suppose Host A sends 6 consecutive segments to Host B. Suppose the 1st segment is lost (when transmitted for the first time) and there is no further loss. Suppose that the sequence number starts from 1 and increments by 1 per segment. Further suppose that under Go-Back-N (GBN) or Selective- Repeat (SR) protocol, the acknowledgement number is the sequence number of the segment it acknowledges (initially o), and under TCP, the acknowledgement number is the sequence number of the next segment it expects (initially 1). In the case of TCP, suppose that the sender uses fast retransmission, and the receiver buffers out-of-order segments. a) Under each of GBN, SR, and TCP: How many segments will Host A send in total? How many ACKS will Host B send in total? b) Give the sequence number of each segment sent by A, and the acknowledgement number of each ACK sent by B, under each protocol. c) Suppose that the timeout values of all three protocols are longer than the time to send 6 segments and receive their ACKs (if not lost). Which protocol delivers all the segments fastest? Why

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Security XI Status And Prospects

Authors: T.Y. Lin, Shelly Qian

1st Edition

0412820900, 978-0412820908

More Books

Students also viewed these Databases questions

Question

9. Describe the characteristics of power.

Answered: 1 week ago

Question

3. Identify and describe nine cultural value orientations.

Answered: 1 week ago