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 0), and under TCP, the acknowledgement number is the sequence number of the next segment it expects. 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 0), and under TCP, the acknowledgement number is the sequence number of the next segment it expects. 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

Intelligent Databases Object Oriented Deductive Hypermedia Technologies

Authors: Kamran Parsaye, Mark Chignell, Setrag Khoshafian, Harry Wong

1st Edition

0471503452, 978-0471503453

More Books

Students also viewed these Databases questions

Question

Describe the factors influencing of performance appraisal.

Answered: 1 week ago

Question

What is quality of work life ?

Answered: 1 week ago