Hub vs Switch vs Router: Stop Swapping Them
Quick answer / TL;DR: Short answer: use a switch to add ports inside one network, a router to connect networks and provide NAT and DHCP, and avoid hubs entirely – they are obsolete and share bandwidth across all ports. A switch cannot replace a router, and a router with four LAN ports is a switch plus routing in one box.
A splitter shares one link; a switch gives each device its own.A hub repeats every frame to every port. A switch forwards frames by MAC address. A router forwards packets between networks by IP address.
Buying the wrong one produces a network that works but performs badly, or does not route at all.
What Each Does
| Device | Layer | Behaviour |
|---|
| Hub | Physical | Repeats to all ports |
| Switch | Data link | Forwards by MAC |
| Router | Network | Routes by IP |
The hub row is historical: a hub creates one collision domain, so every device competes for the same bandwidth.
Choosing
- Need more ports on one network: switch
- Need internet sharing and DHCP: router
- Need both: router with built-in switch
- Need Wi-Fi: wireless router or access point
- Never: a hub in a modern network
The access point distinction matters: adding a second router behind the first creates double NAT and confusing failures.
Real-World Applications
An office with one wall socket and five devices uses a switch. A home with fibre service needs a router for NAT and DHCP, and its LAN ports already act as a switch.
Standards and Verification
| Reference | Relevance |
|---|
| IEEE 802.3 | Ethernet and switching |
| IEEE 802.1D | Bridging |
| IETF RFC 1918 | Private addressing and NAT |
Device capabilities for a specific model are not provided in the knowledge base. Check the datasheet for port count and routing features.
References
- IEEE 802.3, Ethernet
- IEEE 802.1D, Media access control bridges
- IETF RFC 1918, Address allocation for private internets
Practical Notes
Draw the network before buying anything. Most 'slow network' problems are topology, not hardware.
Related reading: adapter — blogs/news/adapter
Related reading: patch panel vs switch — blogs/news/patch-panel-vs-switch
Related reading: network switch vs splitter — blogs/news/network-switch-vs-splitter
Frequently Asked Questions
Can a switch replace a router?
No. It cannot route between networks.
Are hubs still sold?
Rarely. Avoid them.
Do I need both?
A home router usually includes a switch.
Sourcing cables for a project, a store, or a private-label line? Contact our B2B sales team for specifications, certification evidence, and volume terms – FOB and CIF options available. Request a quote or sample.