Medium Access Control (MAC): Why It’s Required and Three Popular Techniques
In a network with multiple nodes sharing a common communication medium, the key challenge is preventing (or managing) simultaneous transmissions that would otherwise interfere with each other. This is why Medium Access Control (MAC) techniques are required: they regulate who transmits when and how they avoid collisions or contention. In shared media, uncontrolled access leads to packet collisions, degraded throughput, increased delay, and unfairness among users; MAC protocols introduce structured rules to control access and improve reliability and efficiency.2
Conceptually, MAC techniques address:
- Contention: many nodes may want to transmit at the same time.
- Collision risk: simultaneous transmissions can corrupt frames.
- Efficiency: capacity is wasted when collisions occur or when medium is idle unnecessarily.
- Fairness/QoS (in some designs): ensuring all nodes get opportunities to send.2
Key terms
- Shared medium
- Contention
- Collision
- Throughput
Footnotes
-
ALOHA (computer networking) - Random-access MAC; collision-based retransmission; slotted variants. ↩ ↩2
-
Carrier-sense multiple access - CSMA concept and relation to sensing before transmit. https://en.wikipedia.org/wiki/Carrier-sense_multiple_access ↩
-
Carrier sense multiple access with collision avoidance - CSMA-CA principles commonly used in wireless. https://en.wikipedia.org/wiki/Carrier-sense_multiple_access_with_collision_avoidance ↩
MAC Layer Overview (CSMA/CA, Token Passing, and ALOHA)
A common MAC design tradeoff is between simple contention-based approaches and more controlled access methods:
- Contention-based techniques (e.g., ALOHA variants, CSMA) let nodes transmit when they choose, but they must handle collisions/interference when multiple nodes transmit together.2
- Controlled-access techniques (e.g., token passing) avoid collisions by design by granting exclusive transmission rights to one node at a time.
Footnotes
-
ALOHA (computer networking) - Random-access MAC; collision-based retransmission; slotted variants. ↩
-
Carrier sense multiple access with collision avoidance - CSMA-CA principles commonly used in wireless. https://en.wikipedia.org/wiki/Carrier-sense_multiple_access_with_collision_avoidance ↩
-
Token ring - Token passing idea and collision avoidance via permission. https://en.wikipedia.org/wiki/Token_ring ↩
How MAC techniques improve performance on a shared medium
- 1Step 1
MAC defines rules for when a node is allowed to transmit (e.g., immediately, after sensing idle, on a timeslot boundary, or when it receives permission).
- 2Step 2
Mechanisms such as random backoff, carrier sensing, and scheduling reduce the chance that two nodes transmit simultaneously.2
Footnotes
-
ALOHA (computer networking) - Random-access MAC; collision-based retransmission; slotted variants. ↩
-
Carrier-sense multiple access - CSMA concept and relation to sensing before transmit. https://en.wikipedia.org/wiki/Carrier-sense_multiple_access ↩
-
- 3Step 3
When conflicts occur, MAC uses strategies like retransmission, backoff adjustments, or contention resolution to regain successful delivery.
- 4Step 4
Well-designed MAC reduces time wasted on collisions and improves effective throughput and latency under load.2
Footnotes
-
ALOHA (computer networking) - Random-access MAC; collision-based retransmission; slotted variants. ↩
-
Carrier sense multiple access with collision avoidance - CSMA-CA principles commonly used in wireless. https://en.wikipedia.org/wiki/Carrier-sense_multiple_access_with_collision_avoidance ↩
-
Why MAC techniques are required (summary)
- Without coordination, multiple nodes transmit concurrently, causing collisions and frame loss.
- Collisions waste capacity, because corrupted frames must be retransmitted, reducing effective throughput.2
- Delay increases under contention, as nodes repeatedly retransmit after collisions or wait for access.2
- MAC provides structure (backoff, sensing, scheduling, or permission) so access becomes predictable and more efficient.2
Footnotes
-
ALOHA (computer networking) - Random-access MAC; collision-based retransmission; slotted variants. ↩ ↩2 ↩3
-
Carrier-sense multiple access - CSMA concept and relation to sensing before transmit. https://en.wikipedia.org/wiki/Carrier-sense_multiple_access ↩ ↩2
-
Carrier sense multiple access with collision avoidance - CSMA-CA principles commonly used in wireless. https://en.wikipedia.org/wiki/Carrier-sense_multiple_access_with_collision_avoidance ↩
-
Token ring - Token passing idea and collision avoidance via permission. https://en.wikipedia.org/wiki/Token_ring ↩
Common MAC causes and symptoms
Three popular MAC techniques (brief)
1) ALOHA (and Slotted ALOHA)
ALOHA is a random-access approach where nodes transmit whenever they have data. If a collision occurs, nodes retransmit after a random delay. Slotted ALOHA improves efficiency by aligning transmissions to slot boundaries, reducing overlap.2
- How it works: transmit at random times (ALOHA) or at the start of slots (slotted).
- Collision handling: detect loss at receiver and retransmit later with randomness.2
- Tradeoff: simple, but collision probability grows with offered load (more nodes → more collisions).
2) CSMA / CSMA-CA (Carrier Sense Multiple Access)
CSMA works by sensing the medium first. If the medium appears idle, a node transmits; otherwise it waits. In wireless, collision avoidance is commonly implemented via CSMA-CA where the sender uses random backoff after sensing and/or uses additional mechanisms to reduce simultaneous transmissions.2
- How it works: listen (sense) → if idle transmit; if busy or contention detected, wait and retry later.
- Collision handling: uses backoff and retransmission rather than immediate collision detection.2
- Tradeoff: typically performs better than pure ALOHA under many conditions because it reduces transmissions during contention.
3) Token Passing (Token Ring concept)
Token passing grants the right to transmit to the node that currently holds a special control token. Only the token-holder may send data, so collisions are largely avoided by design.
- How it works: token circulates among nodes; each node transmits only when it has the token.
- Collision handling: minimal collision risk because only one node transmits at a time.
- Tradeoff: can provide fair access and predictable behavior, but performance depends on token circulation and network organization.
Footnotes
-
ALOHA (computer networking) - Random-access MAC; collision-based retransmission; slotted variants. ↩ ↩2
-
Carrier sense multiple access with collision avoidance - CSMA-CA principles commonly used in wireless. https://en.wikipedia.org/wiki/Carrier-sense_multiple_access_with_collision_avoidance ↩ ↩2 ↩3 ↩4
-
Carrier-sense multiple access - CSMA concept and relation to sensing before transmit. https://en.wikipedia.org/wiki/Carrier-sense_multiple_access ↩ ↩2
-
Token ring - Token passing idea and collision avoidance via permission. https://en.wikipedia.org/wiki/Token_ring ↩ ↩2
Qualitative comparison of MAC techniques
Relative tendencies (not absolute metrics): randomness vs control
Exam-friendly phrasing
When asked “why MAC is required,” emphasize: shared medium → contention → collisions/interference → reduced throughput and higher delay; MAC specifies access rules and resolution strategies.2
Footnotes
-
ALOHA (computer networking) - Random-access MAC; collision-based retransmission; slotted variants. ↩
-
Carrier sense multiple access with collision avoidance - CSMA-CA principles commonly used in wireless. https://en.wikipedia.org/wiki/Carrier-sense_multiple_access_with_collision_avoidance ↩
Be careful about “collision detection” vs “avoidance”
Many wireless MACs use CSMA-CA (avoidance with sensing/backoff) rather than CSMA-CD (collision detection), because radios often can’t reliably detect collisions while transmitting.2
Footnotes
-
Carrier-sense multiple access - CSMA concept and relation to sensing before transmit. https://en.wikipedia.org/wiki/Carrier-sense_multiple_access ↩
-
Carrier sense multiple access with collision avoidance - CSMA-CA principles commonly used in wireless. https://en.wikipedia.org/wiki/Carrier-sense_multiple_access_with_collision_avoidance ↩
High-level evolution of MAC ideas
ALOHA family
Random accessTransmit without sensing; rely on randomness + retransmission after collisions.2"
Footnotes
-
ALOHA (computer networking) - Random-access MAC; collision-based retransmission; slotted variants. ↩
-
Carrier sense multiple access with collision avoidance - CSMA-CA principles commonly used in wireless. https://en.wikipedia.org/wiki/Carrier-sense_multiple_access_with_collision_avoidance ↩
CSMA / CSMA-CA
Sensing-basedSense the medium and use backoff to reduce simultaneous transmissions.2"
Footnotes
-
Carrier-sense multiple access - CSMA concept and relation to sensing before transmit. https://en.wikipedia.org/wiki/Carrier-sense_multiple_access ↩
-
Carrier sense multiple access with collision avoidance - CSMA-CA principles commonly used in wireless. https://en.wikipedia.org/wiki/Carrier-sense_multiple_access_with_collision_avoidance ↩
Token passing
Controlled accessA token grants exclusive transmit permission; collisions avoided by design."
Footnotes
-
Token ring - Token passing idea and collision avoidance via permission. https://en.wikipedia.org/wiki/Token_ring ↩
Knowledge Check
Why are MAC techniques required in shared-medium networks?