search
Log In
0 votes
397 views
Assume a 10Mbps Ethernet has two nodes, A and B, connected by a 360m cable with three repeaters in between, and they each have one frame of 1,024 bits to send to each other. Further assume that the signal propagation speed across the cable is 2*10^8 m/sec, CSMA/CD uses back-off intervals of multiples of 512 bits, and each repeater will insert a store-and-forward delay equivalent to 20-bit transmission time. At time t=0, both A and B attempt to transmit. After the first collision, A draws K = 0 and B draws K = 1 in the exponential back-off protocol after sending the 48 bits jam signal.

What is the one-way propagation delay (including all repeater delays) between A and B in seconds? At what time is A's packet completely delivered at B?

Now suppose that only A has a packet to send and that the repeaters are replaced with switches. Suppose that each switch has an 8-bit processing delay in addition to a store-and-forward delay. At what time, in seconds, is A's packet delivered at B
in Computer Networks 397 views

1 Answer

0 votes
Propagation delay  $T_p = \frac{360}{2  *  10^8} = 1.8 \mu s$

Store and Forward Delay $S_d = \frac{20}{10*10^6}=2\mu s$

Transmission time for a frame $T_t=102.4\mu s$

$(i)$ Total one way propagation delay $= T_p +3*S_d=7.8\mu s$

$(ii)$ both A and B transmit at $t = 0$ and at $t = 7.8\mu s$ both will know about the collision and after 48-bit jamming signal $i.e. 4.8\mu s$ both nodes will participate in back off algorithm.

A transmits immediately as $K=0$

B waits for $51.2 \mu s$ as $K=1$

Time taken for A's frame to get delivered at B $= T_t + 7.8\mu s  + 4.8\mu s = 115\mu s$

$(iii)$ Processing delay $P_d = 0.8\mu s$

Total delay at switches $=3(P_d+S_d)=8.4\mu s$

Time taken for A's frame to get delivered at B $=T_t + T_p+8.4\mu s=112.6\mu s$

Related questions

0 votes
0 answers
1
174 views
How will you send an e-mail to someone when you have neither the recipient's e-mail address nor the e-mail application.
asked May 22, 2019 in Computer Networks shraddha priya 174 views
0 votes
1 answer
2
390 views
I want to understand the Token Bucket and Leaky Bucket algorithms in detail. Please provide links to reliable resources. Please do not provide link to Wikipedia, because there it is not explained properly
asked Apr 6, 2019 in Computer Networks Prashant Srivastava 390 views
0 votes
1 answer
4
165 views
100 stations on a pure Aloha network share a 1 MBPS channel. if frames are 1000 bits long, find the throughput if each station is sending 10 frames per second
asked Jan 30, 2019 in Computer Networks Jaggi 165 views
...