Communication Networks · Visualized
CSMA/CD
Media Access
Sharing one wire or radio channel fairly: ALOHA, CSMA/CD and collision handling.
3 interactive subtopics — each one animated, step-through and explained.
CSMA/CD
Media AccessCarrier Sense Multiple Access with Collision Detection refined ALOHA for Ethernet: sense the wire before transmitting (CS), keep listening while talking, and abort the instant a collision is detected (CD). After a jam signal, each station backs off a random multiple of the slot time — exponentially growing with consecutive failures.
How CSMA/CD Works
- Sense carrier: if the channel is busy, wait for silence plus the interframe gap.
- Transmit while continuing to monitor the cable.
- Signals take up to one end-to-end delay to meet — collisions happen mid-transmission.
- On voltage anomaly, send the 32-bit jam, drop the frame, and double the backoff range.
- Retry after k × 51.2 µs (k random in [0, 2^min(attempts,10))); give up after 16 tries.
CSMA/CD Worked Example
Try it: Play — station A senses and transmits; B senses too early, both jam, and exponential backoff separates their retries.
The collision flash marks where the two wavefronts met. Watch the backoff dice roll differently for A and B — that asymmetry is what finally lets one win the channel.
CSMA/CD: Key Facts to Remember
Recommended resourcesAffiliate links · may earn us a commission
Recommended for learners
See how packets really travel
Networks are built on the structures and algorithms you can watch step by step — queues, trees, and routing algorithms.