

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


BERKELEY__________________________________________________________________________________ • DAVIS • IRVINE • LOS ANGELES • RIVERSIDE • SAN DIEGO • SAN FRANCISCO
SANTA BARBARA________________________________ • SANTA CRUZ
EEC 189Q-Computer Networks Fall 2004
HW 5
a) (4%) Mark the ports (edges from bridges to LANs) that are not selected by the spanning tree algorithm.
b) (4%) Suppose the rule for selecting the root and breaking the ties among the bridges with the same distance to root is changed from lowest-id-wins to highest-id-wins. What will be the effect?
c) (4%) Suppose a router has built up the routing table shown below.
Network Number Network Mask Next Hop 132.17.128. 132.17.128. 196.6.80. 196.6.0. 0.0.0.
255.255.128. 255.255.192. 255.255.255. 255.255.0. 0.0.0.
R R R R R
B
B
B
B
B6 B
B
Chuah Fall 2003
Where will the router send packets addressed to each of the following destinations? i. 132.17.97. ii. 132.17.231. iii. 196.6.80. iv. 196.6.80.
necessary? If so, give an example of an ambiguity that would arise otherwise; if not, explain why.
100 ms to transfer 10 MB file, and the TCP receive window is 1MB. If TCP sends 1 KB packets (assuming no congestion and no lost packets), how many RTTs does it take to send the file starting with congestion window of 1KB? Assume that the congestion threshold is 2 MB.
(a) Identify the intervals of time when TCP slow start is operating. (b) Identify the intervals of time when TCP congestion avoidance is operating. (c) After the 16th^ transmission round, is segment loss detected by a triple duplicate ACK or by a timeout? (d) After the 22nd^ transmission round, is segment loss detected by a triple duplicate ACK or by a timeout? (e) What is the initial value of Threshold at the first transmission round? (f) What is the value of Threshold at the 18th^ transmission round? (g) What is the value of Threshold at the 24th^ transmission round? (h) During what transmission round is the 70th^ segment sent? (i) Assuming a packet loss is detected after 26th^ round by the receipt of a triple duplicate ACK, what will be the values of the congestion-window size and of Threshold?