Computer Science > QUESTIONS & ANSWERS > Intro to Computer Networks Spring 2020 EECS148/CS132 Homework 3: Solution Sketch Topic: Transport La (All)
Prof. Athina Markopoulou Intro to Computer Networks Spring 2020 EECS148/CS132 Homework 3: Solution Sketch Topic: Transport Layer and TCP Posted on 5/10/2020 1. (50 Points) Reliability Protocols: ... Go-back-N, Selective Repeat, TCP. Suppose that host A sends N = 8 packets to host B using one of the following protocols we learned in class (a) Go-Back-N (GBN) (b) Selective Repeat (SR) (c) TCP (considering only reliability, not congestion control). All protocols have (sender and/or receiver if applicable) window sizes equal to 5 packets and timeout value equal to 10 ms. The one-way propagation delay between host A and B, as well as from B to A, is 4ms, the transmission time of each data packet is 1ms, and the transmission time of each ACK packet is 0 ms. Suppose that Packet No. 5 is lost, the ACK generated when packet 2 is received is also lost, and no other packet is lost. The beginning of the space-time diagrams are provided below; the sequence numbers refer to packets. • Fill out the rest of the diagrams until all 8 packets are sent and acknowledged. Show all packets (transmissions, retransmissions and acknowledgments), their sequence numbers and the times they were sent/received. • For each scenario, write down the total time, i.e., when all 8 packets are successfully acknowledged to the sender A. • Note that we assume timer starts at the beginning of transmission [as discussed in book section 3.5.4, figure 3.33 and as we posted in discussion] while packet is being delivered to lower layers. The FSMs in fig 3.20 seem to convey contradictory hints as this might vary based on the implementation. (a) (15 Points) Go-Back-N. Answer: Total time = 43 ms, as per figure below. [Show More]
Last updated: 2 years ago
Preview 1 out of 11 pages
Buy this document to get the full access instantly
Instant Download Access after purchase
Buy NowInstant download
We Accept:
Can't find what you want? Try our AI powered Search
Connected school, study & course
About the document
Uploaded On
May 18, 2021
Number of pages
11
Written in
This document has been written for:
Uploaded
May 18, 2021
Downloads
0
Views
59
In Scholarfriends, a student can earn by offering help to other student. Students can help other students with materials by upploading their notes and earn money.
We're available through e-mail, Twitter, Facebook, and live chat.
FAQ
Questions? Leave a message!
Copyright © Scholarfriends · High quality services·