Understanding Network Devices
When we open a website or deploy a backend service, we rarely think about the physical devices quietly making it all work. Yet every request—from a browser click to an API call—travels through a carefully orchestrated chain of networking hardware.
In this article, we’ll break down modems, routers, switches, hubs, firewalls, and load balancers—what each one does, how they differ, and how they work together in real-world systems.
High-Level View: How the Internet Reaches Your (Home / Office )
At a very high level, the journey looks like this:
Internet → Modem → Router → Switch → Your Devices (Laptop, Mobile, Servers)
In production systems, this chain expands further to include firewalls and load balancers, but the core idea remains the same.
Let’s now understand each component—one responsibility at a time.
What is a Modem, and how does it connect your network to the internet?
Primary Responsibility
👉 Convert signals from Internet Service Provider (ISP) into usable internet data.
What a Modem Actually Does
ISPs send data over cable, fiber, DSL, or telephone lines
These signals are not Ethernet
A modem modulates and demodulates signals (that’s where the name comes from)
Analogy
Think of a modem as:
A language translator between your ISP and your network.
Without a modem:
Your devices cannot talk directly to the ISP
There is no internet, only a physical cable
📌 Important:
A modem does not manage traffic, devices, or security—it just establishes the connection.
What is a Router and how it directs traffic?
Primary responsibility:
👉 Decide where data should go.
What a Router Does
Connects multiple networks (LAN ↔ Internet)
Assigns private IP addresses to devices
Performs NAT (Network Address Translation)
Routes packets to the correct destination
Analogy
A router is like:
A traffic police officer at a major junction.
It looks at:
Destination IP
Routing rules
Network boundaries
…and forwards packets accordingly.
Switch vs Hub: how local networks actually work?
Both hubs and switches connect devices within the same network, but they behave very differently.
What Is a Hub?
Primary responsibility:
👉 Broadcast everything to everyone.
Sends incoming data to all ports
No intelligence
Causes collisions
Almost obsolete today
Analogy:
A person shouting in a crowded room—everyone hears it, even if it’s not for them.
What Is a Switch?
Primary responsibility:
👉 Deliver data only to the intended device.
Uses MAC address table
Forwards packets only to the correct port
Faster, safer, efficient