4 Medium Access Control And Aloha

Network and Data Communications · Unit 4

Medium Access Control and ALOHA

Exam-focused notes for Medium Access Control and ALOHA (Network and Data Communications, BIT254): what the TU syllabus asks and how it has actually been tested, with 5 solved past questions from this unit.

Medium Access Control and ALOHA in short

When many stations share one channel, collisions happen. Medium Access Control (MAC) methods decide who may send and when. This chapter studies the ALOHA family and the idea of collision-free access.

Medium Access Control and ALOHA: notes

Pure ALOHA protocol procedure

ALOHA was developed at the University of Hawaii in the 1970s. It is a random access method. Any station may send a frame whenever it has data. There is no check of the channel first.

Procedure of pure ALOHA:

  • A station sends its frame at any time.
  • It waits for an acknowledgement (ACK) for a time equal to the maximum round-trip delay.
  • If the ACK arrives, the transmission is done.
  • If not, the station assumes a collision. It waits a random backoff time and sends again.
  • After a maximum number of tries, the station gives up and tries later.

The random backoff stops two stations from colliding again and again. If frames overlap even by one bit, both are destroyed.

Pure ALOHA vulnerable time

The vulnerable time is the period in which a collision can happen with a frame. Let $T_{fr}$ be the time to send one frame.

A frame sent at time $t$ collides if any other station starts from $t - T_{fr}$ to $t + T_{fr}$. So:

$$\text{Vulnerable time (pure ALOHA)} = 2 \times T_{fr}$$

Example: a 1000-bit frame on a 1 Mbps channel gives $T_{fr} = 1000 / 10^6 = 1$ ms. The vulnerable time is 2 ms.

What this unit covers

  • Pure ALOHA protocol procedure
  • Pure ALOHA vulnerable time
  • Slotted ALOHA protocol
  • Pure ALOHA vs slotted ALOHA
  • ALOHA throughput calculation
  • Collision-free frame transmission

Pure ALOHA protocol procedure

2082 · 5 marks

Briefly explain ALOHA and Slotted ALOHA protocol with suitable diagram. [5]

Note: Reference notes were not available for this topic; the following answer is based on standard networking curriculum covered in TU BSc CSIT. --- ALOHA is one of the earliest random access protocols developed at the University of Hawaii. It allows multiple stations to share a common broadcast ...

Open this answer on its own page →

2080.2 · 5 marks

A pure ALOHA network transmits 200-bit frames using a shared channel of bandwidth. Find throughput if system produces frames per second. Vulnerable time of pure ALOHA? [5]

Show solved answer

Pure ALOHA Throughput and Vulnerable Time

Given

  • Frame size = 200 bits
  • Channel bandwidth = not numerically given (question says "shared channel of bandwidth" with the number missing)
  • Frame production rate = not numerically given (question says "produces frames per second" with the number missing)

Missing data note: The problem statement is incomplete. Two numeric values that are essential for a concrete throughput answer are absent:

  1. The channel bandwidth (e.g., "200 kbps").
  2. The frame generation rate (e.g., "1000 frames per second").

Without these, a specific numeric throughput cannot be computed. I will therefore:

  • Answer the fully solvable part (vulnerable time) generally, and
  • Present the throughput method, showing what would be computed once the missing numbers are supplied.

No values such as "200 bps" or "1000 frames/s" are assumed here, since the question does not supply them.


Solution

Frame Transmission Time

$$T_t = \frac{\text{Frame size}}{\text{Bandwidth}} = \frac{200 \text{ bits}}{B \text{ bps}}$$

This cannot be evaluated because $B$ is not given.

Vulnerable Time of Pure ALOHA (solvable in general)

In pure ALOHA a frame collides if another transmission starts within one frame time before or after the start of the frame. Hence:

$$\boxed{T_{vulnerable} = 2 \times T_t}$$

If, for example, $B = 200$ bps then $T_t = 1$ s and $T_{vulnerable} = 2$ s. This depends entirely on the (missing) bandwidth.

Throughput (method only, cannot evaluate numerically)

For pure ALOHA:

$$S = G , e^{-2G}$$

where the offered load is

$$G = (\text{frame rate}) \times T_t = \lambda \times \frac{200}{B}$$

Once $\lambda$ (frames/second) and $B$ (bps) are provided:

  1. Compute $T_t = 200/B$.
  2. Compute $G = \lambda \cdot T_t$.
  3. Compute $S = G e^{-2G}$.

Standard reference result: The maximum possible throughput of pure ALOHA occurs at $G = 0.5$:

$$S_{max} = 0.5 , e^{-1} = 0.5 \times 0.368 = 0.184 = 18.4%$$

This maximum is a property of the protocol and does not require the missing data.


Summary

QuantityResult
Frame transmission time $T_t$$200/B$ (needs bandwidth)
Vulnerable time$2T_t$
Throughput $S$$G e^{-2G}$ (needs $\lambda$ and $B$)
Maximum throughput$18.4%$ (at $G=0.5$)

Note on the missing data: The bandwidth and frame rate are needed before a single numeric throughput can be given. If the intended values were $B = 200$ bps and $\lambda = 1000$ frames/s, then $T_t = 1$ s, $G = 1000$, and $S = 1000 , e^{-2000} \approx 0$ (essentially zero, since the channel is enormously overloaded). Mixing $G=1000$ with the separate $G=0.5$ maximum would be internally inconsistent.

Open this answer on its own page →

0 · 10 marks

Explain the procedure for pure ALOHA. Highlight the vulnerable time of pure ALOHA. A pure ALOHA network transmits 200-bit frames on a shared channel of 200 kbps. What is the requirement to make this frame collision-free?[10]

Parameter Value ------ Frame size $200$ bits Channel data rate $200$ kbps $= 200{,}000$ bps Required: procedure of pure ALOHA, vulnerable time, and the requirement to make the frame collision-free. --- Pure ALOHA is the earliest random-access protocol (University of Hawaii, 1970s). A station tran...

Open this answer on its own page →

Pure ALOHA vs slotted ALOHA

2081 · 10 marks

Differentiate between pure ALOHA and slotted ALOHA.Explain any three network layer protocols.[4+6]

--- (a) Pure ALOHA vs Slotted ALOHA Feature Pure ALOHA Slotted ALOHA --------- Transmission Time A station can transmit a frame at any time it has data to send Transmission is allowed only at the beginning of a time slot Time Synchronization No synchronization required among stations Requires glo...

Open this answer on its own page →

ALOHA throughput calculation

2079 · 5 marks

A ALOHA network transmits 200-h bit frames using a shared channel with 200-kbps bandwidth. Find the throughput if the system considering all stations together produces 250 frames per second. What do you mean by vulnerable time of slotted ALOHA? [5]

  • Frame size = 200 bits (interpreting "200-h bit" as 200-bit frames) - Channel bandwidth = 200 kbps = $200{,}000$ bps - Total frame generation rate = 250 frames/second Note: The problem says "ALOHA network" without specifying pure or slotted. Since no slotting is mentioned, Pure ALOHA is assumed ...
Open this answer on its own page →