Hubs, bridges and switches: the collision domain
Sign in to read this lesson
A hub is only a physical repeater (Layer 1): it repeats a signal out of every port except the one it came in on, every device is in one collision domain, and it runs half-duplex. A bridge is a Layer 2 device: it looks at the MAC address to forward, filter or flood a frame, and it breaks up collision domains. A switch is a bridge with many ports and fast ASICs: every port is its own collision domain, full-duplex has no collisions, and CSMA/CD is disabled.
What you will learn
- Hub = physical repeater (Layer 1). It repeats the signal out of every port except the one it came in on and has no intelligence. Everyone shares the medium: half-duplex, collisions happen, CSMA/CD is needed.
- Collision domain: the set of devices that can collide with each other. Everyone on a hub, and on hubs chained together, is one collision domain; more computers means more collisions and lower throughput.
- A bridge is a Layer 2 (Data Link) device: it looks at the MAC address to forward a frame (to the right port), filter it (discard) or flood it (everywhere). A bridge breaks up collision domains. It has few ports and is slow.
- A switch is "a bridge on steroids": many ports, different speeds (FastEthernet, Gigabit), large buffers and fast switching with ASIC (Application-Specific Integrated Circuit) chips.
- Every switch interface is a separate collision domain. Full-duplex has no collisions, so CSMA/CD is disabled. Plug a hub into a port and that port can have collisions again.
The lesson has 5 key points, an explanation and 5 questions. It opens with a package.