Skip to main content

Command Palette

Search for a command to run...

Understanding network devices

Updated
3 min read

Why Your WiFi(Jio) Router Gets More Hate Than Your Ex (And Why It’s Not Always Its Fault)

Ever found yourself screaming at your WiFi router at 2 AM, convinced that this blinking plastic box is personally sabotaging your deployment? Before your code even compiles, your data embarks on a journey(I know its not linkedin, but this journey is better) more complex than a Mumbai local train during rush hour. Let’s meet the unsung heroes of this journey explained without putting you to sleep.

Types of Node Devices in a Computer Network: End devices and Intermediary  Devices - GeeksforGeeks

The Modem: The Railway Translator

Picture the announcer at Chennai Central station translating the arrival board into four different languages so every passenger understands. Your modem does exactly that. Your ISP sends data as fiber signals or cable pulses languages your laptop simply doesn’t speak. The modem sits at your doorstep like a linguistic bridge, converting those cryptic signals into standard Ethernet. Without it, you’re sitting in a silent train compartment with zero connection to the outside world.

The Router: The Traffic Cop with an Attitude

Once the internet enters your house, chaos breaks loose. Your phone wants Instagram, your laptop wants GitHub, and your smart TV is busy buffering that cricket match. Enter the router, the exhausted traffic officer managing a Bangalore intersection during monsoon. It assigns local IP addresses (like apartment flat numbers) and makes snap decisions: Does this packet stay in the building, or does it need to hit the highway? That’s why accessing your "localhost" from your phone sometimes feels like trying to enter a one-way street the wrong direction.

Hub vs Switch: The Street Vendor vs. The Delivery App

Old-school hubs were like that street food vendor shouting "Hot idlis here!"(I love south indian cuisine) in a crowded market. Everyone hears it the hungry customer, the random passerby, even the pickpocket scanning the crowd. Wasteful, noisy, and prone to collisions.

Modern switches are smarter. They’re like your food delivery driver who knows exactly which apartment Mrs. Sharma lives in and delivers only there. No shouting, no chaos, no packet collisions. If you’re still using a hub in 2024, you’re basically commuting on a bicycle while everyone else takes the metro.

The Firewall: The Security Guard at Your Gate

Every apartment complex has that one security guard who won’t let the pizza delivery person upstairs without calling you first. That’s your firewall. It stands between your cozy internal network and the wild internet, checking IDs at the door. Web traffic on port 80? Go right ahead. Database connection from a random Russian IP at 3 AM? Not happening, sir.

This is exactly why your app "works perfectly on my machine" but dies in production the security guard decided your database port looked shady and sent it packing without a forwarding address.

The Load Balancer: The Bank Token Manager

Picture a crowded government bank on a Monday morning. There’s one overworked cashier and a queue snaking out onto the pavement. Now imagine a smart manager who opens five windows and hands out numbered tokens: "Counter 1 for this customer, Counter 3 for that one." That’s a load balancer. When traffic hits your servers and say, your IPL ticket sale just went live it distributes requests like an experienced queue manager, ensuring one server doesn’t collapse while others sit idle sipping coffee.

The Journey Home

Internet → Modem (Translator) → Router (Traffic Manager) → Firewall (Gate Security) → Load Balancer (Token System) → Switch (Precision Delivery) → Your Server.

Next time your API times out, remember, it’s not always your buggy code. Sometimes it’s just the security guard having a suspicious day, or the traffic officer sending your packets on an unplanned detour through the suburbs. Great engineers don’t just write functions; they understand the noisy, chaotic, beautiful railway network those functions actually travel through.

I hope you had fun on this journey with me, now I’m gonna have some hot idlis.