Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Problem 1 Consider a variant of the stop and wait protocol, where the sender instead of sending a single frame and waits for an ack,

image text in transcribed
Problem 1 Consider a variant of the stop and wait protocol, where the sender instead of sending a single frame and waits for an ack, he/she sends 2 frames and waits for a single ack. When the ack arrives, the sender sends the next two frames and so on (so each ack arriving to the sender indicates that two frames have been received by the receiver). If one or both frames do not make it to the receiver, the receiver would not ack any frames. If the sender does not hear from the receiver after a timeout value, he/she will retransmit the last two frames. Assume that each data frame is equal to 1500 Bytes and each ack frame is equal to 40 Bytes. The link between the sender and the receiver has a 10 Mbps bandwidth and one-way propagation delay of 10 msec Answer the following questions: 2 pts each (a) What is the total round-trip time (RTT) between sending the first bit of the first frame and receiving an ack back? (b) What is the total throughput for this protocol in Mbps when no packets are lost? What percentage of the link bandwidth is wasted due to this protocol? (c) What is the minimum number of sequence numbers we need on frames for this protocol to work success- fully? How many bits would you dedicate in headers to carry the sequence number? (d) Draw the time-line diagram (include times at each event) between the sender and the receiver until the first two frames make it to the receiver. Assume that the second frame was lost the first time it was transmitted and assume that the timeout value used by teseder is chosen to be twice the RTT (obtained from part (a) (e) What is the long-term throughput of this protocol in Mbps, if the link always drops one of the two frames

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

Inference Control In Statistical Databases From Theory To Practice Lncs 2316

Authors: Josep Domingo-Ferrer

2002nd Edition

3540436146, 978-3540436140

More Books

Students also viewed these Databases questions

Question

Know how to use reservations systems to inventory demand.

Answered: 1 week ago