Tutorial 2
Tutorial 2
ID 201820263
1. (Sliding window) Consider the sliding window algorithm with SWS = RWS = 3,
with no out-of-order arrivals and with infinite-precision sequence numbers.
(a) Show that if DATA[6] is in the receive window, then DATA[0] (or in general
any older data) cannot arrive at the receiver (and hence that MaxSeqNum = 6
would have sufficed).
(b) Show that if ACK[6] may be sent (or, more literally, that DATA[5] is in the
sending window), then ACK[2] (or earlier) cannot be received.
These amount to a proof of the formula given in Section 2.5.2, particularized to
the case SWS = 3. Note that part (b) implies that the scenario of the previous
problem cannot be reversed to involve a failure to distinguish ACK[0] and ACK[5]
.
2. (Ethernet) Suppose that N Ethernet stations, all trying to send at the same time,
require N/2 slot times to sort out who transmits next. Assuming the average
packet size is 5 slot times, express the available bandwidth as a function of N
3. (802.11 WLAN) Suppose an 802.11b station is configured to always reserve the
channel with the RTS/CTS sequence. Suppose this station suddenly wants to
transmit 1,000 bytes of data, and all other stations are idle at this time. Assume a
transmission rate of 12 Mbps. As a function of SIFS and DIFS, and ignoring
propagation delay and assuming no bit errors, calculate the time required to
transmit the frame and receive the acknowledgement.