FOSSFEEDWhere activity matters more than stars. Discover Fire Pit Noted Submit a project
← All articles

The Home Network Explained: How Your Home Network Actually Works

Learn how your home network works, from routers and IP addresses to switches and local traffic, with practical examples for your homelab.

Most of us don't spend much time thinking about how our home network works. We connect our computers to Wi-Fi, open a browser, and expect everything to work. But once you start self-hosting applications or building a homelab, understanding what's happening on your network becomes considerably more important.

I have quite a few devices connected to my own network, including servers running Docker and Proxmox. When something stops communicating properly, understanding how those connections work makes troubleshooting much easier. You don't need to be a networking expert, either. A few basic concepts can explain much of what happens on a typical home network.

Understanding your router #

Your router is responsible for directing traffic between your home network and other networks, including the internet. Most home internet providers supply a device that combines a router with a Wi-Fi access point, although some people prefer using separate equipment.

Your router also typically assigns IP addresses to devices using something called DHCP, or Dynamic Host Configuration Protocol. This allows your computer to connect to the network without requiring you to manually configure its address.

For example, your laptop might receive 192.168.1.100, while your Proxmox server uses 192.168.1.50. These are private IP addresses, meaning they aren't directly reachable from the public internet.

How devices communicate locally #

When two devices are on the same local network, they can usually communicate without sending their traffic through the internet. Your laptop can access your Proxmox dashboard using its local IP address, provided the server is reachable and its firewall allows the connection.

A network switch allows multiple wired devices to communicate over Ethernet. A Wi-Fi access point provides wireless connectivity to the local network. Many home routers include both of these functions, which is why you might not have separate equipment.

As your homelab grows, you may eventually add a dedicated switch to accommodate additional servers or other wired devices.

What happens when you visit a website? #

Let's say you open your browser and visit noted.lol. Your computer first needs to determine the IP address associated with that domain name. It normally does this using DNS, which we'll explore more thoroughly in Part 2.

Once your computer has the destination address, it determines where to send the traffic. Since the website isn't on your local network, the traffic generally goes to your router, which acts as your default gateway.

With a typical home IPv4 connection, your router uses Network Address Translation (NAT) to allow devices with private IP addresses to share your public internet connection. When the website responds, the router forwards that traffic back to the correct device.

This is why several computers in your house can browse the internet using the same public IPv4 address.

Why IP addresses matter for self-hosting #

When you begin running applications on your own servers, you'll quickly become familiar with addresses like 192.168.1.50:8006. The first part identifies the device, while the number after the colon specifies the port where an application is listening.

For example, Proxmox normally uses port 8006 for its web interface. Other services use different ports, allowing multiple applications to run on the same machine.

It's generally a good idea to give important homelab devices consistent IP addresses, often through DHCP reservations on your router. This prevents their addresses from changing unexpectedly.

What's next? #

Now that we understand how devices communicate on a home network, we can look at one of the services responsible for making those connections easier to manage.

In Part 2, we'll explore DNS and how it can help us access self-hosted applications without constantly remembering IP addresses.

Comments 0

Join the conversation.

Write a comment

No comments yet. Be the first to comment.

Leave a comment

Anonymous comments are reviewed before publication. Sign in to comment as a member.

Navigation