

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Problem set 3 for the cs/ece 438: communication networks course, focusing on ethernet collisions, multiple access, token ring networks, and bridges. Students are required to solve problems related to ethernet timing, collision probability, token ring network efficiency, and bridge port selection. Problems involve calculating transmission times, collision probabilities, and network efficiencies.
Typology: Assignments
1 / 3
This page cannot be seen from the preview
Don't miss anything!


All problems carry equal weight. Please justify your answers and show all your work.
(a) Does A finish transmitting the frame before it detects that there was a collision? Explain. (b) What time does A finish sending the jamming signal? What time does B finish sending the jamming signal? (c) What time does A hear an idle channel again? What time does B first hear an idle channel again? (d) Suppose each host next decides to retransmit immediately after hear- ing the channel idle. After the resulting (second) collision: When does A next hear the channel idle? When does B next hear the channel idle? (e) Suppose after the second collision, A decides to wait 512 bit dura- tions to retransmit (if it hears silence after that long) and B decides to retransmit immediately after hearin ga silent channel. Is the trans- mission of host B successful?
NOTE: For simplicity, please ignore the 9.6 μs inter-frame wait time in the Ethernet protocol.
(a) Find the probability qi of a collision in the ith round, given that there are collisions in the previous i − 1 rounds (i.e. q 1 = 1, q 2 = 1/2), for all i ≥ 1. (b) Find the probability pi that exactly i rounds are needed for the first success, and compute p 1 , p 2 ,... , p 5. (c) Now assume that after the first collision, node A “wins” the backoff and transmits successfully. After it is finished, both nodes try to transmit again (A has an infinite amount of traffic to send), causing a collision. After this collision, the A’s collision counter is at 1 and B’s is at 2. Compute the probability that A wins again. (d) Given that A “won” the first round, compute the probability that A captures the network for the next 10 frames.
(a) In a token ring network, a station is allowed to hold the token for some period of time, the token holding time, THT. Let RingLatency denote the time it takes the token to make one complete rotation around the network when none of the stations have any data to send. (Assume early token release for this subpart). i. In terms of THT and RingLatency, express the efficiency of the network when only one nstation is active. ii. What setting of THT would be optimal for a network that only had one station active (with data to send) at a time? iii. In the case where N stations are active, give an upper bound on the token rotation time, TRT, for the network. (b) Consider a token ring with a data rate of 10 Mbps, a ring latency of 150 μsec, and 1024-bit packets. i. Assuming only one host wants to transmit and the delayed token release scheme is used, what is the maximum effective through- put rate that can be achieved? ii. Now assume N hosts want to transmit on the token ring and the token holding time (THT) is 500 μsec. What is the token rotation time? iii. Under the assumptions of part (2), and using the immediate re- lease scheme, what is the throughput rate that can be achieved?
Consider the network configuration in Figure 1 for this question.
(a) What ports would be not selected by the spanning tree algorithm? (The ID of each bridge is its number, i.e. B1 has ID 1.) List ports as pairs (bridge, network), i.e. (B1,A).