Carrier Sense Multiple Access with Collision Detection. Controls LAN access on a bus structure. Non-priority scheme. Standardized as IEEE 802.3.
Two layers:
- MAC layer
Media independent. Handles framing and collision management. - Physical layer
Media dependent. Handles encoding and signal sensing.
DLL functions:
- Encapsulation and decapsulation
Addresses, error detection fields. - Media access management
Frame transmission/reception, buffering, collision handling.
Physical layer functions:
- Data encoding/decoding
Binary to Manchester code and vice versa. Preamble provides synchronization. - Channel access
Introduces signals onto the channel. Carrier sensing and collision detection.
History: Developed by Xerox. Jointly specified by Xerox, Intel, and DEC in 1980.
IEEE 802.3 Supplements
| Supplement | Year | Description |
|---|---|---|
| 802.3a | 1985 | 10BASE-2 Thin Ethernet |
| 802.3i | 1990 | 10BASE-T Twisted Pair |
| 802.3u | 1995 | 100BASE-T Fast Ethernet + Auto Negotiation |
| 802.3x | 1997 | Full-Duplex Standard |
| 802.3z | 1998 | 1000BASE-X Gigabit Ethernet (SX, LX, CX) |
| 802.3ab | 1999 | 1000BASE-T Gigabit Ethernet over Twisted Pair |
| 802.3ac | 1998 | Frame size extension to 1522 bytes for VLAN tag |
| 802.3ad | 2000 | Link Aggregation for Parallel Links |
Media Access Control Rules
- A signal being transmitted on the channel = carrier.
- Station waits until channel is idle before transmitting.
- After channel goes idle, station waits an Inter Frame Gap (IFG) then transmits.
- If two stations transmit simultaneously, both detect the collision and reschedule.
Slot Time
The window within which a collision must be detected. bit times for / Mbps.
- Mbps: bit times covers m on coaxial.
- Mbps: bit times covers ~ m. Acceptable with switches/hubs on twisted pair (max m).
- Mbps: bit times covers only m. Slot time extended to bit times via carrier extension.
Minimum data field = bytes (required to fill bit times).
Back-off Algorithm
IFG is bit times. Brief recovery time between frames.
- Mbps: IFG = µs
- Mbps: IFG = ns
Steps:
- If no carrier and no-carrier period exceeds IFG, transmit immediately.
- If channel busy, listen until carrier ceases, wait IFG, then transmit.
- If collision detected, transmit 32-bit jam signal.
- After jam, wait a random back-off period then return to Step 1.
- Back-off duration increases with each successive collision attempt.
Back-off formula:
Here:
- : randomly chosen integer back-off delay, in slot times
- : number of transmission attempts
Maximum retries = . After failures, transmission failure reported to higher layers. Back-off counter resets after a successful transmission.
Gigabit Ethernet Half Duplex
Signaling faster than Fast Ethernet. Effective network diameter shrinks to m. Slot time extended to bits ( bytes). Smaller frames padded with carrier extension (non-data symbols).
Frame bursting allows a station to send multiple smaller frames consecutively.
- First frame transmitted normally. If no collision, burst frames follow.
- IFG between burst frames filled with extension symbols. Channel held throughout.
- Improves efficiency for small frames to >90%.
Frame burst limit: bits.
Full Duplex Ethernet
Simultaneous bidirectional transmission on a point-to-point link (twisted pair or fibre optic). Standardized as IEEE 802.3x.
- Independent transmit and receive paths.
- No collision detection (or ignored).
- No multiple access. One station at each end.
- IFG still present between frames.
- Effective throughput doubled (e.g., Mbps Fast Ethernet → Mbps aggregate).
- No shared-medium timing constraints. Only media signal-carrying limits apply.
- Full bandwidth usage confined to backbone connections in practice.
Supported media: 10BASE-T, 10BASE-FL, 100BASE-T, 100BASE-FX, 1000BASE-SX/LX/CX, 1000BASE-T.
Gigabit Ethernet cable length limits:
- Twisted pair: m (same as 10/100BASE-T).
- Multi-mode fibre: up to km (full duplex). ~ m on some fibres (half duplex).
- Single-mode fibre: km or more.