Question

You are designing a reliable byte stream transport layer protocol (not TCP) to operate over a...

You are designing a reliable byte stream transport layer protocol (not TCP) to operate over a 1x107 bps network and it is using a sliding window for flow control. The time for keeping the transmission pipe full is taken to be the RTT of the network which is 50ms. Each number in the advertised window or sequence number represents 2 bytes of data.

a) What is the minimum number of bits necessary for the Advertised Window field of your protocol header? Provide this minimum number as a whole number (round up).

b) How would you choose the Sequence number size in accordance with the Advertised Window size determined in A) c) Given this sequence number size, how long will it take for it to wrap around?

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

Solution:

Given,

=>Bandwidth(B) = 1*107 bps

=>Round trip time (RTT) = 50 ms

=> Each number in the advertized window or sequence number represents 2 bytes of data.

(a)

Explanation:

=> We know that window size(W) = Bandwidth*RTT

=>W = 107 bps *50 ms

=> W = (107/8) Bps *50*10-3 sec                   (1 byte = 8 bits and 1 second = 1000 msec)

=> W = 62500 bytes

Minimum number of bits required = seal(log262500) = 16 bits

So the minimum number of bits required for advertised window = 16 bits

(b)

Explanation:

=> As we have found advertised window is of 16 bits and the sequence number field is of 2 bytes.

=>Sequence number field = 2 bytes = 16 bits            (1 bytes = 8 bits)

(c)

Explanation:

We know that,

=> Sequence number bits = log2(Wrap around time*bandwidth)

Here wrap around time (WAT) is in seconds and bandwidth is in bytes.

=> 16 = log2(WAT*107/8)

=>WAT = 216 *8/107 seconds

=>WAT = 219/107 seconds

=> WAT = 0.0524288 seconds

I have explained each and every part with the help of formulas as well as statements attached to it.

Add a comment
Know the answer?
Add Answer to:
You are designing a reliable byte stream transport layer protocol (not TCP) to operate over a...
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
  • You are hired to design a reliable byte-stream protocol that uses a sliding window (like TCP)....

    You are hired to design a reliable byte-stream protocol that uses a sliding window (like TCP). This protocol will run over a 1-Gbps network. The RTT of the network is 200 ms. How many bits would you include in the AdvertisedWindow field of your protocol header? (choose the closest number that can satisfy the above requirement). Hints: - First, determine how much data to keep the pipe full (i.e. delay * bandwidth) - Second, if we assume the window is...

  • Could someone help with just part a please ? You are hired to design a reliable...

    Could someone help with just part a please ? You are hired to design a reliable byte stream protocol that uses a sliding window (like TCP). This protocol will run over a 1 -Gbps network. The RTT of the network is 100 ms. and the maximum segment lifetime is 30 seconds. (a) How many bits would you include in the AdvertisedWindow and SequenceNum fields of your protocol header? (b) How would you determine the numbers given above, and which values...

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

  • 25. Suppose you are designing a sliding window protocol for a 1-Mbps point-to-point link to the...

    25. Suppose you are designing a sliding window protocol for a 1-Mbps point-to-point link to the stationary satellite evolving around the Earth at an altitude of 3 x 104 km. Assuming that each frame carries 1 KB of data, what is the minimum number of bits you need for the sequence number in the following cases? Assume the speed of light is 3 x 108 m/s. (a) RWS-1 (b) RWS-SWS

  • 1. a)UDP and TCP use 1’s complement for their checksums. Suppose you have the following three...

    1. a)UDP and TCP use 1’s complement for their checksums. Suppose you have the following three 8 bit bytes: 0101 0011, 0111 0110, 1001 0011. What is the 1’s complement of the sum of these 3 8-bit bytes? Show all work. Why is it that the 1’s complement is used and not just the sum? What is the sum of the three 8 bit bytes and the checksum you just computed? What is it if you change the first 8...

  • Please answer this 2 part question! Please show all work (15 points) The bit stream 1110...

    Please answer this 2 part question! Please show all work (15 points) The bit stream 1110 0111 1010 is transmitted using the standard CRC algorithm described in the book. The generator polynomial is r + x + x + 1. Show the actual bit string transmitted. Suppose that the THIRTEENTH (13th) bit from the left in the transmitted message is inverted during transmission. Show that this error is detected on the receiver's end. Show every step in your calculations for...

  • Question 34 A TCP socket contain …………………… that uniquely identifies it on a network TCP ID...

    Question 34 A TCP socket contain …………………… that uniquely identifies it on a network TCP ID Port number UDP HTTP ( ) a ( ) b ( ) c ( ) d 2 points Question 35 Mail server port number is usually 8080 80 2525 25 ( ) a ( ) b ( ) c ( ) d 2 points Question 36 TCP Head length indicates ( ) The size of the segment ( ) The capacity of data that...

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

  • help with computer network questions 1. What is the difference between circuit switching and packet switching?...

    help with computer network questions 1. What is the difference between circuit switching and packet switching? 2. What are the different layers in today’s Internet? Why do we create layers? 3. Suppose there is a 10 Mbps microwave link between a geostationary satellite and its base station on Earth. Every minute the satellite takes a digital photo and sends it to the base station. Assume a propagation speed of 2.4 * 10^8 meters/sec. a. What is the propagation delay of...

  • Please Answer all Questions on Networks, They all involve calculation ( 1-9 Questions) "A single router...

    Please Answer all Questions on Networks, They all involve calculation ( 1-9 Questions) "A single router is transmitting packets, each of length L bits, over a single link with transmission rate R Mbps to another router at the other end of the link. Suppose that the packet length is L= 12000 bits, and that the link transmission rate along the link to router on the right is R = 1000 Mbps. What is the maximum number of packets per second...

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