Hub
A hub operates on bits. It receives a bit from one adapter and copies it to all other adapters. It does not inspect MAC addresses and does not filter frames.
A detailed guide to the devices that connect hosts and networks: hubs, switches, routers, collision domains, broadcast domains, spanning tree, and VLANs.
The most important exam shortcut is knowing which layer a device operates at and therefore what data unit it understands.
A hub operates on bits. It receives a bit from one adapter and copies it to all other adapters. It does not inspect MAC addresses and does not filter frames.
A link-layer switch understands frames and MAC addresses. It can regenerate signals, learn source addresses, and forward frames to selected ports.
A router deals with packets and IP addresses. It connects LANs and WANs, chooses next hops, and separates broadcast domains.
| Concept | Meaning | Exam clue |
|---|---|---|
| Hub | Physical layer, bits | No filtering; one collision domain |
| Switch | Data-link layer, frames | MAC learning and forwarding |
| Router | Network layer, packets | Separates broadcast domains |
A hub gives a physical star shape but behaves logically like a shared bus.
When a hub receives a bit on one port, it repeats that bit on the other ports. It does not implement an access method and cannot decide where a frame should go.
The whole hub is a single collision domain and a single broadcast domain. More hubs can extend distance but still keep the shared collision behavior.
Stations connect physically to a central hub, but traffic is shared. Everyone effectively hears the same transmissions.
Switches segment LANs and reduce collisions, but redundant switch paths can create dangerous loops.
When a switch receives a frame, it compares the source address with its forwarding table. If needed, it records the source MAC and incoming port.
If the destination MAC is known, the switch forwards through the correct port. If unknown, it floods the frame. Broadcast and multicast frames are also forwarded through many ports.
Multiple switch paths can create loops. Broadcast frames can circulate repeatedly, producing a broadcast storm and wasting bandwidth.
The spanning tree algorithm keeps connectivity but logically disables loops by blocking selected ports.
Switches improve LAN performance mostly by isolating collision domains and allowing simultaneous communication.
A collision domain is the set of devices whose transmissions can collide. A hub is one collision domain. A switch separates collision domains by port/segment.
A broadcast domain is the area reached by broadcast frames. A basic switched LAN remains one broadcast domain unless divided by routers or VLANs.
Full-duplex operation allows a host and switch to transmit and receive simultaneously over the same interface, reducing the collision problem compared with shared media.
Routers divide networks at layer 3, while VLANs divide a switched LAN logically through software.
A router interface has an IP address and a MAC address. Routers forward packets and separate broadcast domains. They connect similar or different network protocols across LANs and WANs.
VLANs allow computers to be grouped logically instead of physically. A user can belong to a subnet or workgroup without being in the same room or attached to the same physical switch area.
VLANs reduce cost and installation time because moving a station can be done by software instead of rewiring. They also organize traffic and create broadcast domains.
Use this as the last-pass memory page before a quiz or exam.
These questions target the facts, comparisons, and calculations that are easiest to test.
Answer: It copies them to all other ports.
Explanation: A hub is a physical-layer repeater and does not filter.
Answer: The source MAC address and incoming port.
Explanation: This builds the forwarding table.
Answer: Broadcast and multicast frames can circulate repeatedly.
Explanation: This creates broadcast storms.
Answer: A router, and VLANs can also create separate broadcast domains inside switching.
Explanation: Switching alone mainly isolates collision domains.
Answer: They group stations logically without physical rewiring.
Explanation: Membership can be changed in software.