Understanding Network Devices

Published: (January 20, 2026 at 01:27 AM EST)
3 min read
Source: Dev.to

Source: Dev.to

Cover image for Understanding Network Devices

Abhimanyu Kumar

Imagine this:

You open your laptop, type chaicode.com, and press Enter.
Within a second a page appears. Have you wondered how that page reached you?

It didn’t just magically appear.
Behind the scenes, some networking devices worked together like a team.

Let’s understand with a story.

The Internet Starts Outside Your Home

Think of the Internet as a very big city full of information:

  • Websites
  • Videos
  • Apps
  • Servers

Your home and office are just small houses in that city.
To bring the network into your house, we need some helpers.

Modem – The Internet Door of Your Home

Modem illustration

What is a modem?
A modem is the first device that connects your home to the Internet.

Without a modem:

  • No Internet
  • No website
  • No YouTube

Analogy: A modem is like the main gate of your house – it lets the Internet enter your home.
The Internet comes from your ISP (Internet Service Provider) – e.g., Jio, Airtel, etc.
The modem understands the ISP’s signals and converts them into data your devices can use.

No modem = No Internet

Router – Who Gets the Internet?

Router illustration

Now the Internet is inside your house, but you have many devices:

  • Mobile
  • Laptop
  • Smart TV

Who decides which device gets what data? That’s the router’s job.

What is a router?
A router sends Internet data to the correct device.

Analogy: A router is like a traffic police officer. It looks at each packet and says:

  • “This data is for the phone.”
  • “This data is for the laptop.”

And then forwards it accordingly.

  • One Internet connection → many devices
  • Router manages everything

Hub vs. Switch – Talking Inside the Network

Inside an office or lab, many computers are connected together.
Let’s use a classroom analogy.

Hub – Old‑Style (Not Smart)

A hub broadcasts data to everyone, even those that don’t need it.

Problems:

  • Slow
  • Wastes bandwidth
  • Not secure

Switch – Smart Choice

Switch illustration

A switch sends data only to the intended computer.

Analogy: The teacher hands a letter to a specific student; only that student reads it.

Benefits:

  • Fast
  • Secure
  • Used everywhere today

Modern networks use switches, not hubs.

Firewall – The Security Guard

Firewall illustration

The Internet is useful, but it can also be dangerous. Hackers, viruses, and unwanted traffic exist, so we need a firewall.

What is a firewall?
A firewall checks every request coming in or out of your network.

Analogy: A security guard at a gate:

  • Allowed person → let in
  • Unknown person → stop

Firewall protects:

  • Computers
  • Servers
  • Databases

Load Balancer – Handling Too Many Users

Load balancer illustration

Scenario: Flipkart announces an 80 % discount. Thousands of users visit the site simultaneously. One server would become overwhelmed.

Solution: A load balancer distributes traffic across many servers.

What is a load balancer?
It shares traffic between multiple servers, just like multiple toll‑gate lanes keep traffic flowing smoothly.

Benefits:

  • Makes websites fast
  • Prevents server crashes
  • Used by big apps like Flipkart, Netflix

Quick Recap

DeviceRole / Analogy
ModemMain gate – brings Internet into the house
RouterTraffic police – directs data to devices
HubLoudspeaker – broadcasts to everyone
SwitchPrivate messenger – sends data only where needed
FirewallSecurity guard – filters traffic
Load BalancerToll‑gate manager – spreads load across servers

These are the fundamental building blocks that make the Internet work for you every day. Happy networking! 🚀

  • Data comes from ISP
  • Modem brings it inside
  • Router sends it to the right device
  • Firewall checks security
  • Load balancer manages heavy traffic
  • Switch connects internal systems
  • Data reaches server
  • Response comes back to you
Back to Blog

Related posts

Read more »

Rapg: TUI-based Secret Manager

We've all been there. You join a new project, and the first thing you hear is: > 'Check the pinned message in Slack for the .env file.' Or you have several .env...

Technology is an Enabler, not a Saviour

Why clarity of thinking matters more than the tools you use Technology is often treated as a magic switch—flip it on, and everything improves. New software, pl...