Half-duplex, collisions and CSMA/CD
Sign in to read this lesson
In old Ethernet networks every computer was attached to one coax cable (bus topology) and ran half-duplex. When two computers sent at the same moment, a collision happened. A hub is just an electrical repeater, so it also runs half-duplex and collisions are possible. The MAC sublayer's CSMA/CD protocol solves this: listen to the cable, detect the collision, send a jam signal, start a random timer and retransmit.
What you will learn
- Half-duplex: only one device can send at a time, the others wait. Full-duplex: a device sends and receives at the same time.
- The old coax network was a bus topology: every computer shared one cable (physical medium). Two transmissions at once cause a collision and no data gets through.
- A hub is just an electrical repeater: it repeats the signal out of every port and runs half-duplex. A hub is not a switch, and there is no such thing as a "hub switch".
- CSMA/CD = Carrier Sense (listen to the cable), Multiple Access (everyone may use it, but it must be clear), Collision Detection (detect the collision).
- On a collision: 1) send a jam signal, 2) each device starts a random timer, 3) it retransmits when the timer expires. A full-duplex switch link has no collisions.
The lesson has 5 key points, an explanation and 5 questions. It opens with a package.