Question
Could someone help with just part a please ?
9. You are hired to design a reliable byte-stream protocol that uses a sliding window like TCP). This protocol will run over a l-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 might be less certain?
0 0
Add a comment Improve this question Transcribed image text
Answer #1

Given,

Bandwidth = 1 Gbps = 109 bps = (109 /8) bytes per second

Round Trip Time = RTT= 100ms = 0.1 sec

The window size (in bytes) should be equal to = RTT x Bandwidth

Window size = (109 / 8) × 0.1 = bytes = 12500000 Bytes

Number of bits needed for window size = log2 (12500000)) = 24

Therefore, we need to 24 bits for advertisedwindow (which allows a maximum window size of 16777216 bytes).

In 60 seconds,

Number of bytes that can be transmitted = (109 /8 ) x 60 = 7500000000 bytes.

All of those bytes must have unique sequence number.

Number of bits needed for sequence numbers = log2 (7500000000) = 33

Therefore, 33 bits are required for sequence number field.

Add a comment
Know the answer?
Add Answer to:
Could someone help with just part a please ? You are hired to design a reliable...
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...

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

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

  • In the last module you learned a formula for calculating bit rate, R = b/t, that...

    In the last module you learned a formula for calculating bit rate, R = b/t, that is the number of bits divided by the time. This formula expresses the number of bits that are transmitted over a circuit in a given period of time. In practice, however, we are not only concerned with the number bits transmitted, but also with the number of data bits transmitted over a circuit. The data bits are those that the sender decides to send...

  • computer networks help please !!! could someone help with the following tasks! ANY HELP WILL BE...

    computer networks help please !!! could someone help with the following tasks! ANY HELP WILL BE IMMENSELY APPRECIATED! THANKS. Task 1 In the following scenario, we would like to find out more information about a host that is on out network. Given an IP address we would like to search for additional information, we can start with obtaining the IP address off the default route. When running on a Linux VM, this like most likely to be the internal IP...

  • check my answers for Networking I came up with these answers, can check my answers Question...

    check my answers for Networking I came up with these answers, can check my answers Question 1: General What data rate is needed to transmit an uncompressed 4" x 6" photograph every second with a resolution of 1200 dots per inch and 24 bits per dot (pixel)? 691,200 kb/s 28.8 kb/s 8.29 Mb/s 829 Mb/s Question 2: Layering "Layering" is commonly used in computer networks because (check all that apply): -It forces all network software to be written in ‘C’....

  • Was just wondering if someone could help me with this please. The Large Haron Collider (LHC)...

    Was just wondering if someone could help me with this please. The Large Haron Collider (LHC) is the world's largest particle accelerator. It is circular in formation, with a radius of 4.2429 km. Protons can be made to travel around it in opposite direc tions, and then collide head on. Its operation depends on many individual electromagnets. To help understand the proton motion, you may wish to use this interactive simulation of a charged particle moving in a magnetic field:...

  • Could someone help me to take notes for me from this paragraph . Thank you in...

    Could someone help me to take notes for me from this paragraph . Thank you in advance s benefits, dipe, Hotels, 240 are not used wild on cumulativemented similar loyalty pro sinesses and belt ance biste nes Wet hind costs and the 15 percore locked in by th PART 1 Microeconomic Analys forfeited if they are not used within a certain time period and many h as preferential service, are based on cumulative usage of the airline cery stores, and...

  • *****Can someone please HELP me with this assignment please, I am struggling with this assignment and...

    *****Can someone please HELP me with this assignment please, I am struggling with this assignment and would appreciate some help, needs to be done in c/c++ ******* (100 marks) In this problem, you will write a file transfer program for transferring files between two computers connected by a network. The protocol that you will implement is called the Simple File Transfer Protocol (SFTP). The complete description for SFTP is given below. PART 1 SFTP is a simple protocol for transferring...

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