networking
an easy to follow guide for the absolute fundamentals. no prior knowledge required. if you can browse the web, you can read this.
the internet vs. local network
think of it this way: your home network is like the hallways inside your house, only people living there can walk through them. The internet is the road outside, where billions of houses connected together.
When you stream a video, your device talks to your home network first, which then reaches out to the internet to fetch the video. Your neighbour cannot wander through your hallways, but you both share the same road.
┌─────────────────────────────────┐
│ YOUR HOME NETWORK │
│ │
│ [ PC ] [ Phone ] [ TV ] │
│ \ | / │
│ └───[ Router ]───┘ │
└───────────────┬─────────────────┘
│
══════╪══════
THE INTERNET
══════╪══════
│
[ Google, YouTube,
Amazon, etc. ]
192.168.x.x.
These addresses never appear on the public internet,
and they are reserved for private use only.
what is an ip address?
Every device on a network needs a unique address so that data gets delivered to the right place, just like a postal address tells the mail carrier which house to stop at.
An IP address is that address for your device. It is a set of numbers separated by dots.
This is a typical home device address. Your phone, laptop, smart TV, they each get their own number similar to this when they join your Wi-Fi.
The numbers are split into four groups. Each group can be an integer between 0 and 255. That gives enough unique combinations to address billions of devices.
IP Address: 192 . 168 . 1 . 50
│ │ │ │
│ │ │ └── device number (which device)
│ │ └───────── subnet (which room)
└───────┴───────────────── network (which building)
cmd, press Enter,
then type ipconfig and press Enter. Look for "IPv4 Address."Mac / Linux: Open Terminal and type
ifconfig
or ip addr.
what is a router?
A router is the traffic director of your network. It sits at the edge of your home network and decides whether data goes to another device on your home network, or out to the internet.
Your internet provider gives you one public IP address for your whole home. The router shares that one address across all your devices using a trick called NAT (Network Address Translation). From the internet's point of view, your entire household looks like a single device.
INTERNET ───── [ Router ] ───── Home Devices
│
One public IP Many private IPs
e.g. 76.14.23.101 e.g. 192.168.1.x
what is a switch?
A switch is a network splitter. It gives you more wired ports so you can plug in more devices. Where a router connects your home to the internet, a switch just connects devices to each other within your home network.
Routers usually have four wired ports built in. If you need to connect more wired devices, you plug a switch into the router and connect everything to the switch.
[ Router ]
│
[ Switch ] ← gives you more wired ports
/ | \
/ | \
PC NAS Printer
Switch: connects devices within your home. No internet awareness, just passes data between whatever is plugged into it. Can have 5, 8, 16, or more ports. (Uses layer 2 of the OSI model)
what is wi-fi?
Wi-Fi is just networking without the wires. Your router (or a separate device called an access point) broadcasts a radio signal. Your phone, laptop, or tablet picks up that signal and connects to your network the same way a wired cable would, just without the physical cable.
[ Router / Access Point ]
')))
(radio waves)
/ | \
Phone Laptop Tablet
2.4 GHz: travels further through walls, but with slower speeds.
5 GHz: faster speeds, but shorter range and weaker wall penetration.
If you are far from the router (or using legacy hardware), try 2.4 GHz. If you are in the same room, 5 GHz is usually faster.
public vs. private ip addresses
There are two kinds of IP addresses and it is worth knowing the difference.
| type | what it is | example |
|---|---|---|
| private | used inside your home network only. every home in the world can reuse these same numbers without conflict. | 192.168.1.50 |
| public | your home's address on the actual internet. assigned by your internet provider. globally unique. | 76.14.23.101 |
YOUR HOME: INTERNET:
private addresses public address
(invisible outside) (visible to everyone)
[ PC ] 192.168.1.10 ─┐
[ Phone ] 192.168.1.11 ─┤── [ Router ] ── 76.14.23.101 ──▶ internet
[ TV ] 192.168.1.12 ─┘
what is dns?
Computers only understand numbers. When you type google.com
into your browser, your computer has no idea where that is.
It needs to translate that name into an IP address it can actually connect to.
That translation is done by a DNS server, think of it as the internet's phone book. You look up a name, it resolves the number.
You type: google.com
│
▼
[ DNS Server ] ← "what's the IP for google.com?"
│
▼
142.250.80.46 ← "here you go"
│
▼
Your browser connects to that IP address
Google DNS:
8.8.8.8 and 8.8.4.4Cloudflare DNS:
1.1.1.1 and 1.0.0.1
(often faster, privacy-focused)If websites stop loading but other things still work, a bad DNS server is often the culprit.
what is ethernet?
Ethernet is wired networking. You plug one end of a cable (called an Ethernet cable or RJ-45 cable) into your device and the other end into a router or switch.
Wired connections are almost always faster and more reliable than Wi-Fi. Radio signals can be disrupted by walls, other devices, or interference. A cable is a direct physical path. No interference, no guessing.
Reliability: no signal dropouts, no interference.
Security: harder to eavesdrop than wireless.
Cat6a: handles up to 10 Gbps. Slightly thicker. Good for future-proofing.
Both use the same connectors. Either will work in your home.
basic troubleshooting
Most internet problems at home fall into a small number of categories. Work through these steps in order before calling your provider.
-
step 01
restart your router (and modem if separate).
Unplug the power. Wait 30 seconds, long enough for the hardware to fully reset. Plug back in and wait 60-90 seconds for the connection to re-establish. This fixes the majority of home internet issues. -
step 02
check your cables.
If using a wired connection, unplug and re-seat the Ethernet cable at both ends. Try a different cable if you have one. A loose or damaged cable causes intermittent connection problems that are easy to miss. -
step 03
verify wi-fi.
Make sure you are connected to your network and not a neighbour's. Try forgetting the network on your device and reconnecting from scratch. Check that you are using the correct password. -
step 04
test with a different device.
If your phone works but your PC doesn't (or vice versa), the problem is with that specific device, not the router. If nothing connects, the problem is likely the router or your internet service. -
step 05
run a ping test.
Open a command prompt (Windows: search "cmd" in Start) and type the command below. If you get replies, your internet connection is working. If you see "request timed out," there is a connectivity problem.
8.8.8.8 from home returns times under 30ms.
Over 100ms feels sluggish. "Request timed out" means the packet never came back.
Either the destination is actually unreachable/down, or your connection is broken.
glossary
a small index of the terms on this page.
| term | plain-english meaning |
|---|---|
| IP address | a unique number assigned to a device on a network. like a postal address for data. |
| router | the device that connects your home to the internet and directs traffic. |
| switch | a device that gives you more wired ports within your home network. |
| modem | converts your internet provider's signal into something your router can use. |
| Wi-Fi | wireless networking. data travels as radio waves instead of cables. |
| access point | a device that broadcasts a Wi-Fi signal. may be built into your router. |
| Ethernet | wired networking. a physical cable connecting a device to the network. |
| DNS | translates domain names (google.com) into IP addresses computers can use. |
| private IP | an address used inside your home only. e.g. 192.168.1.x |
| public IP | your home's address on the real internet. assigned by your ISP. |
| ISP | internet service provider. the company you pay for internet access. |
| NAT | lets many devices share one public IP address. handled automatically by your router. |
| ping | a command that checks if a device or server is reachable over the network. |
| gateway | the IP address of your router on the local network. usually 192.168.1.1. |