Understanding Network Devices

Learning web development in public. Writing simple, real-world explanations about web development concepts. Helping beginners understand why things work, not just how.
Search for a command to run...

Learning web development in public. Writing simple, real-world explanations about web development concepts. Helping beginners understand why things work, not just how.
No comments yet. Be the first to comment.
Every day, millions of users upload photos, videos, stories, and reels to Instagram. From a user's perspective, the process appears simple: select media, apply filters, add a caption, and tap "Post."
Building Offline-First Messaging Apps: How Messages Work Without Internet Modern messaging applications have transformed the way people communicate. Whether it's chatting with friends, collaborating w
In this article we'll explore about the Expo Router and React Navigation and answer which one to use in 2026. If you build mobile apps using React Native, one thing becomes obvious very quickly: Navig

Modern mobile apps are no longer just a collection of screens connected together. Apps like Instagram, WhatsApp, Uber, and Netflix operate at massive scale with millions of users, real time systems, o
In this article we'll be exploring react.js and the things of react.js that makes it popular and stand out among other libraries ( no fight over library vs framework ). We'll go through: What problem

Shkaai
68 posts
In this article we shall run around “what is network devices” and “How network devices help you access internet safely”. After reading this article you will be able to understand modem , router. switch vs hub, firewall , load balancer and how all these devices help you access internet safely in milliseconds.
Think of modem as a translator. Why translator of all things ? because your Internet Service Provider (ISP) speaks different language than you home network. And modem works as the translator between them. Without modem, router(discussed later) will be confused.
Now for people who prefer techy explanation:
A modem is a device that connects your home network to your Internet Service Provider (ISP) by converting digital signals into data your network can understand.
It does modulation and demodulation both. In simple words, modulation is putting your data into a carrier signal so it can travel and demodulation is tracking your data back off the carrier signal
MOdulator + DEModulator = MODEM
All devices are made to solve certain problems, and for problem to decide how to share one network connection among many devices at home or office router solve it beautifully. A router is a device that decides where data should go next and carefully forwards it to correct destination.
For more ease asume router as traffic police officer and highway filled many devices like laptop, phone , tv and tab, each wanting to take different road (attend their specific thing) causing chaos , so traffic police officer checks the address and send them down the correct road also making the return trip chaos free.

Receives data from devices
Each data packet has:
Destination IP
Destination port
Check its routing rules
Forwards the packet
Switch and hub both intend to solve the same problem and that is to handle local traffic unlike router which intends to handle external traffic. Switch is modern and advance while hub is old-school and barely used by anyone in today’s world.
For startar think of hub as the airport announcement where everyone hears the message even though it’s intended for only one person whereas switch is like a post office which delivers the message/mail to indented person without announcing it in the neighbourhood. As you can see switch handle it’s work cleanly and smartly wherease hub does the work but with a bit of chaos.
Switch is so important that without it moder internet wouldn’t exist.
Home Network:
Phone ┐
Laptop├── Switch ── Router ── Modem ── Internet
TV ┘
Firewall is something like a bodyguard, assuming your devices as buildings. Anything which is not protected against unwanted stuff eventually lose its use more earlier than intended. And internet is full untrusted stuff than trusted, therefore security measures are must before they even reach your devices and firewall is just that device.
There are some times of firewall:
Network Firewall
It protects the entire network and lives in router, data centers, cloud networks.
Host Firewall
This type protects single device like windows firewall and linux iptables.
Application Firewall (WAF)
It protects web apps.
Let’s understand load balancer in layman’s language, assume the busy metro stations having only one ticket counter. As such metro stations usually have lots of crowd, having only one counter would cost time and time is money. But having more than one counters would definitely unload the traffic and save a lots time and increase safely.
So load balancer basically decides who should handle work. This way traffic is shared and servers stay healthy reducing the risk of server crash.
All the discussed network devices form a real-world setup. In this article, we take a simple journey through those devices and understand how they help us access the internet quickly and safely. We start with the modem, the translator that helps your home network understand your ISP’s language. Then comes the router, the traffic controller that smartly directs data to the right device without causing chaos.
Together, these devices form a real-world network setup that quietly powers our everyday internet experience—securely, efficiently, and in just milliseconds.