HW8 Sol
HW8 Sol
P[a station tries to send during the vulnerable time and no other
stations tries to send during the vulnerable time]
( : arrival rate, T: frame time)
Question 3:
Compare and contrast CSMA/CD with CSMA/CA.
In CSMA/CD, the protocol allows collisions to happen. If there is a
collision, it will be detected, destroyed, and the frame will be resent.
CSMA/CA uses a technique that prevents collision.
Question 4:
In an 802.11 network, station A sends one data frame (not fragmented)
to station B. What would be the value of D field (in microseconds) that
needs to be set for the NAV period in each of the following frames: RTS,
CTS, data, and ACK? Assume that the transmission time for RTC, CTS, and
ACK is 4 s each. The transmission time for the data frame is 40 s and
the SIFS duration is set to 1 s. Ignore the propagation time. Note that
each frame needs to set the duration of NAV for the rest of time the
medium needs to be reserved to complete the transaction.
RTS = TSIFS + TCTS + TSIFS + TData + TSIFS + TACK = 3*1 + 4 + 40 + 4 = 51s
CTS = TSIFS + TData + TSIFS + TACK = 2*1 + 4 + 40 + 4 = 46s
Data = TSIFS + TACK = 5s
Ack = 0 s
Question 5:
To understand why we need to have a minimum frame size Tfr = 2 x Tp in
a CSMA/CD network, assume we have a bus network with only two
stations, A and B, in which Tfr = 40 s and Tp = 25s. Station A starts
sending a frame at time t = 0.0 s and station B starts sending a frame at
t = 23.0 s. Answer the following questions:
a. Do frames collide?
b. If the answer to part a is yes, does station A detect collision?
c. If the answer to part a is yes, does station B detect collision?
a. Station B receives the frame from station A at t = 25s Station B starts
sending a frame at t = 23s. => Yes, collision opccured