Unit 3
Unit 3
Unit 3
Solution
Average frame transmission time Tfr is 200 bits/200 kbps or 1
ms. The vulnerable time is 2 × 1 ms = 2 ms. This means no
station should send later than 1 ms before this station starts
transmission and no station should start sending during the one
1-ms period that this station is sending.
Throughput
k e
f (k , )
k!
S = G e -2G
dS
G (-2)e-2G +e -2G *1
dG
dS
e-2G (1-2G) =0
dG
(1-2G) =0
1
G=
2
Slotted ALOHA
G k eG
Pr[k ]
k!
CSMA
1- persistence method:
If the channel is idle it sends its frame
immediately with probability 1
Collision occurs, two or more stations may find
the line idle and send their frames immediately
Behavior of three
persistence methods
CSMA/CD
Solution
The frame transmission time is Tfr = 2 × Tp = 51.2 μs. This
means, in the worst case, a station needs to transmit for a
period of 51.2 μs to detect the collision. The minimum size of
the frame is 10 Mbps × 51.2 μs = 512 bits or 64 bytes. This is
actually the minimum size of the frame for Standard Ethernet.
CSMA/CA
Reservation
Polling
Token Passing
Logical Ring
• in a token passing network, stations do not have to be physically connected
in a ring; the ring can be a logical one.
Solution
We can use the rows of W2 and W4 in Figure 12.29:
a. For a two-station network, we have
[+1 +1] and [+1 −1].
Solution
The number of sequences needs to be 2m. We need to choose
m = 7 and N = 27 or 128. We can then use 90
of the sequences as the chips.
Solution
Let us prove this for the first station, using our previous four-
station example. We can say that the data on the channel
D = (d1 ⋅ c1 + d2 ⋅ c2 + d3 ⋅ c3 + d4 ⋅ c4).
The receiver which wants to get the data sent by station 1
multiplies these data by c1.
Solution
Let us prove this for the first station, using our previous four-
station example. We can say that the data on the channel
D = (d1 ⋅ c1 + d2 ⋅ c2 + d3 ⋅ c3 + d4 ⋅ c4).
The receiver which wants to get the data sent by station 1
multiplies these data by c1.