Skip to main content

Command Palette

Search for a command to run...

Understanding Network Devices

Updated
3 min read

What is a Modem, and how does it connect your network to the internet

Computer + Wires + Rules(Protocol)= Network

Let’s look at the full form of a modem (modulator-demodulator). You can connect using a wired network and wireless through your WI-FI modem. After this, a process goes through your device, and your device has a MAC address for the modem to recognize your device. Then, your modem/router processes further and gets the response from the server that you requested. And how the data is sent, first the data is converted into bits, then it goes to the server, and the server sends you back the response, after that respond the router sends you the data to your device’s

What is a Router and how does it direct traffic?

Let’s think about the (ATC) air traffic controller. Every aircraft has its destination, where it’s coming from, and the same way out. Router works your device requests something, and the router knows which device is requesting the Data without losing it in its process, and comes back to you in the same time. The router has internal routing tables that contain lists of paths to various network destinations. Then the router reads the header where it’s going, and after consulting them, the router figures out the most efficient path to the destination

Switch vs Hub: how local networks actually work?

Hub: The First hub is a simple networking device with an input Ethernet port that connects to a router and multiple output ports for devices to connect. When a hub receives data, it transmits it to all connected devices, leaving the intended devices to recognize the data, and it has an issue, it can not receive and send at the same time

Switch: A network switch is a hardware connection device that is smart and better than a hub. Once the switch knows the route and ports, it reads data packets and headers to determine which device and where it has to transmit the information to via uniqe MAC address switches oprates on the osi framework’s link layer or layer 2

What is a Firewall, and why does security live here?

This is a kind of network security system available as hardware, software, or a cloud service that monitors, filters, and controls the incoming and outgoing data based on predefined security rules. It acts like a guard or gatekeeper between a trusted network, so that malicious traffic, hackers, and bots cannot enter a network before they are detected, thus reducing the attack surface.

What is a Load Balancer, and why do scalable systems need it?

a device or software application that acts as a "traffic cop," distributing incoming network or application traffic across multiple backend servers. When demand increases, new servers can be added to the backend pool. The load balancer automatically starts sending traffic to them, allowing the system to scale out seamlessly. If one server fails, the load balancer detects the failure and immediately redirects traffic to the remaining, healthy servers, preventing downtime. In cloud environments, load balancers facilitate auto-scaling, enabling resources to be added or removed automatically based on real-time traffic demand.

How do all these devices work together in a real-world setup?

In a modern, real-world network, these devices operate together in a layered hierarchy to ensure security, high availability, and efficient traffic flow. The Firewall guards the perimeter, the Load Balancer distributes incoming traffic, and the Switch manages local data delivery, while the antiquated Hub is rarely used in production.

More from this blog

Prakash Jha Blogs

23 posts

Trying to write Blogs on day-to-day applications or technology from a different perspective, you never thought of how amazing those technologies are.

Understanding Network Devices