Network Basics
A network connects devices so they can exchange data. A home network usually has phones, laptops, a router and an internet connection. An office network adds switches, access points, servers, printers, security cameras and monitoring tools.
The most important idea is the packet. Instead of sending one giant message, a device splits data into packets. Each packet carries the source address, destination address and a small part of the message.
IP addresses
An IP address is the delivery address for a device. Private addresses such as 192.168.1.25 work inside a home or office. Public addresses identify networks on the internet.
Subnetting
A subnet groups IP addresses into smaller neighborhoods. A small office might use 192.168.10.0/24 for employees and 192.168.20.0/24 for guest Wi-Fi so visitors cannot reach internal devices.
How the Internet Works
When you type a website name, DNS converts it into an IP address. Your device sends packets to the router. The router forwards them to your internet provider, then across several networks until they reach the website's server.
TCP is used when reliability matters, like loading a bank statement. UDP is used when speed matters, like video calls or online games. HTTPS protects the conversation so people on the path cannot read it.
Ports, Firewalls and VPNs
Ports identify services on a device. Web traffic often uses ports 80 and 443, SSH often uses port 22, and DNS often uses port 53. Firewalls decide which ports and destinations are allowed.
A VPN creates an encrypted tunnel between a user and a trusted network. It is useful for remote employees, public Wi-Fi and private access to internal systems, but it is not a magic privacy shield. The VPN provider or company network can still see traffic metadata.
Troubleshooting Workflow
- Check the physical or Wi-Fi connection.
- Confirm the device has an IP address.
- Ping the router to test local network reachability.
- Ping a public IP such as a DNS resolver to test internet routing.
- Test DNS by looking up the website name.
- Check firewalls, VPNs and proxy settings.
Real-World Examples
A video call may freeze because Wi-Fi signal is weak, someone is uploading a large file, or UDP packets are being dropped. Moving closer to the router, using Ethernet, or enabling quality-of-service rules can help.
A shop payment terminal may fail if DNS is down or the firewall blocks HTTPS. The right check is not only "is the internet working?" but also "can this device resolve and reach the payment provider?"
- DNS records: A, CNAME, MX and TXT
- Routing tables and default gateways
- VLANs for segmenting offices
- Firewall rules and logs
- Basic packet capture with Wireshark
Networking in one sentence
Networking is reliable addressing, routing, naming and filtering for data packets.
Explore Networking