The Difference Between a Switch, Hub, and Router
Share
These three devices look similar, often come in similar boxes, and all have ethernet ports. But they do fundamentally different things. Knowing the difference means you buy the right device the first time — and understand why your network behaves the way it does.
The Router: Your Gateway to the Internet
A router connects your home network to the internet. It receives data from your ISP, assigns IP addresses to your devices via DHCP, and manages traffic between your local network and the outside world. Every home network has exactly one router — it's the device connected directly to your modem.
Modern routers also include built-in Wi-Fi, a small switch (usually 4 ports), and a firewall. When people say "my router," they usually mean this all-in-one device.
Key function: Connects your network to the internet and manages IP addressing.
The Switch: Your Local Traffic Director
A switch connects multiple devices within your local network. It's intelligent — it learns which device is connected to which port and sends data only to the intended destination. This makes it efficient and fast.
You add a switch when you run out of ethernet ports on your router, or when you want to extend wired connections to another room or floor. Switches come in unmanaged (plug and play) and managed (configurable) versions. For home use, unmanaged is almost always the right choice.
Key function: Expands your wired network and directs traffic intelligently between local devices.
The Hub: The Old Way (Avoid It)
A hub is the predecessor to the switch. It also connects multiple devices, but it's not intelligent — it broadcasts every packet to every connected device, regardless of the destination. This wastes bandwidth and creates unnecessary network congestion.
Hubs are largely obsolete. You won't find them in modern home networking gear. If you see the word "hub" on a product today, it almost always refers to a USB hub (a different device entirely) or is being used loosely to mean a switch.
Key function: Connects devices, but inefficiently. Not recommended for any modern setup.
How They Work Together
A typical home network looks like this:
- Modem — connects to your ISP
- Router — connects to the modem, manages your network, provides Wi-Fi
- Switch — connects to the router, expands wired ports for desktop, NAS, smart TV, etc.
The hub has no place in this chain.
Quick Reference
- Need internet access? → Router
- Need more ethernet ports? → Switch
- See a hub for sale? → Buy a switch instead
The Clean Desk Takeaway
Your router handles the internet. Your switch handles local connections. Your hub handles nothing — because you shouldn't be using one. Understanding these three devices means you can build a home network that's fast, stable, and exactly as complex as it needs to be.