Computer Networks-Data Link Layer-3
Computer Networks-Data Link Layer-3
1
Multiple Access
Figure 12.1 Data link layer divided into two functionality-oriented sublayers
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.
the system (all stations together) produces a. 1000 frames per second b. 500 frames per second c. 250 frames per
second.
Solution
135 frames. Only 135 frames out of 1000 will probably survive.
92 frames out of 500 will probably survive. Note that this is the maximum throughput case, percentagewise.
throughput if the system (all stations together) produces a. 1000 frames per second b. 500 frames per second c.
Solution:
S = G × e−G or S = 0.303 (30.3 percent). This means that the throughput is 500 × 0.0303 = 151. Only 151
c. If the system creates 250 frames per second, this is (1/4) frame per millisecond. The load is (1/4). In this case
S = G × e −G or S = 0.195 (19.5 percent). This means that the throughput is 250 × 0.195 = 49. Only 49 frames
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.
In CSMA/CA, the IFS can also be used to define the priority of a station or a frame.
In CSMA/CA, if the station finds the channel busy, it does not restart the timer of the
contention window; it stops the timer and restarts it when the channel becomes idle.
Reservation
Polling
Token Passing
of the common channel is divided into bands that are separated by guard bands.
In TDMA, the bandwidth is just one channel that is timeshared between different
stations.
m
The number of sequences in a Walsh table needs to be N = 2 .
Solution:
Solution:
m 7
The number of sequences needs to be 2 . We need to choose m = 7 and N = 2 or 128. We can then use 90 of
channel by the sender’s chip code and then divides it by the number of stations.
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.
55