Understand how computers communicate. From IP addresses and cables to the magic of DNS and DHCP, this module covers the foundational plumbing of the internet.
A network is simply two or more computers connected together to share resources (files, printers, internet).
Most "computer problems" are actually network problems. "I can't print," "The internet is slow," or "I can't reach the shared drive" all require network troubleshooting skills.
An Internet Protocol (IP) address is a unique identifier for every device on a network. Think of it like a mailing address for your computer.
IPv4 Structure: Four numbers (octets) separated by dots, ranging from 0 to 255. (e.g., 192.168.1.15)
255.255.255.0).192.168.x.x, 10.x.x.x, or 172.16.x.x. They are not reachable from the internet.127.0.0.1 - refers to "this computer" (localhost).ipconfig and press Enter.ping 127.0.0.1. If it responds, your network stack is working!A switch connects multiple devices together **within the same network**. It uses MAC Addresses (hardware addresses) to send data to the correct port.
A router connects **different networks** together (e.g., your home LAN to the Internet). It uses IP Addresses to route traffic between networks.
Think of a Switch as the hallway in an apartment building (connecting rooms) and the Router as the front door (connecting the building to the street).
The standard cable for wired networks. Uses RJ45 connectors.
Uses light instead of electricity. Immune to electromagnetic interference and supports much longer distances.
The "Phonebook of the Internet." It translates human-friendly names (google.com) into computer-friendly IP addresses (142.250.x.x).
Automatically assigns IP addresses, subnet masks, and gateways to devices when they join a network. Without it, you'd have to manually type in an IP for every phone and laptop in your house!
nslookup google.com.| Protocol | Port | Description |
|---|---|---|
| HTTP | 80 | Unencrypted web traffic |
| HTTPS | 443 | Encrypted web traffic |
| DNS | 53 | Domain Name Resolution |
| DHCP | 67, 68 | Automatic IP Assignment |
| SMTP | 25 | Sending Email |
A switch connects devices on the same local network (using MAC addresses). A router connects different networks together (using IP addresses).
DHCP (Dynamic Host Configuration Protocol).
DNS (Domain Name System). You have connectivity to the internet, but your computer can't translate names to IPs.
100 meters (328 feet).