AiTechWorlds
AiTechWorlds
On October 29, 1969, a graduate student at UCLA typed the letters "lo" into a terminal.
He was trying to type "login" to connect to a computer at Stanford Research Institute — 560 kilometers away. The system crashed after two characters. But those two letters, "lo", were the first message ever sent over ARPANET, the precursor to the internet.
The network had four nodes: UCLA, Stanford Research Institute, UC Santa Barbara, and the University of Utah. It was funded by the U.S. Department of Defense and designed to survive a nuclear attack by having no single central point of failure — data could route around damaged nodes.
That design principle — decentralized routing — is still how the internet works today.
From those 4 computers in 1969 to over 5.4 billion internet users in 2024. From a 50 kbps connection to a 1.6 Tbps fiber backbone. The scale is almost incomprehensible.
But the core idea hasn't changed: computers connected to share information.
Understanding networking means understanding the technology that underlies every email, video call, web search, and cloud backup you've ever done.
"A network is two or more computers connected in a way that lets them share data and resources."
That's it. Two laptops with a cable between them is a network. Your phone connected to a Wi-Fi router is a network. The global internet is a network of networks — billions of devices connected through a web of undersea cables, satellites, and radio towers.
Why does networking matter?
Almost everything you do with a computer today involves a network:
Without networking, computers would be powerful but isolated — like having a library with no books.
| Network Type | Range | Typical Speed | Example | Technology |
|---|---|---|---|---|
| LAN | Room to campus (~1 km) | 1–10 Gbps | Home/office network | Ethernet, WiFi |
| WLAN | Same as LAN, wireless | Up to 9.6 Gbps (WiFi 6) | Home WiFi | 802.11ax, 802.11ac |
| MAN | City scale (~50 km) | 1–100 Gbps | ISP city backbone | Fiber optic |
| WAN | Countries, global | Varies | The Internet | Fiber, satellite, cellular |
| PAN | ~10 meters | Up to 50 Mbps | Bluetooth headphones | Bluetooth, NFC |
The router is the most important device in your home network. Its jobs:
When you type "google.com" in your browser, the router decides the best path for your request to travel and routes the response back to the exact device that asked.
A network switch connects multiple devices within the same local network. Unlike older "hubs" that blindly broadcast data to all devices, a switch is intelligent — it learns which device is connected to which port and sends data only to the correct destination.
Modern home routers often include a built-in switch (the 4 ethernet ports on the back).
Your ISP (Internet Service Provider) delivers internet via coaxial cable, fiber optic, or phone line. Your computer speaks ethernet. The modem (modulator-demodulator) converts between these signals.
In many homes, the "router box" from your ISP is actually a modem-router combo — one device doing both jobs.
Every device that connects to a network has a NIC (Network Interface Card) — the hardware that physically handles network communication. Each NIC has a permanently assigned MAC address (Media Access Control address) — a unique 12-character identifier burned into the hardware at manufacture (e.g., A4:C3:F0:85:AC:2D).
Your laptop has both a wired NIC (the ethernet port) and a wireless NIC (the WiFi chip), each with its own MAC address.
A wireless access point (WAP) extends WiFi coverage in large spaces. In a big office or home, you might have one router and multiple access points to ensure signal everywhere — all sharing the same network name (SSID) so your device connects seamlessly as you move around.
Every device on a network needs a unique address so data knows where to go. That's what an IP address is.
IPv4 uses 32-bit addresses, written as four numbers separated by dots: 192.168.1.100.
With 32 bits, IPv4 allows for about 4.3 billion unique addresses. That seemed enormous in the 1980s. Today, with billions of smartphones, IoT devices, and servers, we've run out.
IPv6 uses 128-bit addresses, written in hexadecimal with colons: 2001:0db8:85a3:0000:0000:8a2e:0370:7334.
The address space? 340 undecillion addresses (340 followed by 36 zeros). Every grain of sand on Earth could have trillions of IP addresses. We will not run out.
| Type | Example | Who Assigns It | Visible on Internet? |
|---|---|---|---|
| Private IP | 192.168.1.x, 10.0.0.x | Your router (DHCP) | No — local only |
| Public IP | 142.250.80.46 | Your ISP | Yes — your "internet identity" |
Your router has one public IP (given by your ISP) and distributes private IPs to all devices at home. This is called NAT — many devices, one public address.
You type google.com. Your computer actually needs an IP address to connect. How does it find it?
DNS — Domain Name System — translates human-readable domain names into IP addresses.
When you type google.com:
Without DNS, you'd have to memorize IP addresses for every website. DNS is why you type words instead of numbers.
Popular public DNS servers:
8.8.8.8 and 8.8.4.41.1.1.1 and 1.0.0.1 (fastest in many regions)208.67.222.222"The internet doesn't send your message as one piece. It breaks it into chunks, sends them separately, and reassembles them."
When you send an email or stream a video, the data is broken into packets — small chunks of data, each labeled with:
Packets from the same message can take completely different routes across the internet — one through Chicago, another through Atlanta — and arrive out of order. The receiving computer reassembles them using the packet numbers.
This is why the internet is resilient: if one route is blocked or slow, packets simply take another path.
Protocols are agreed-upon rules for how data is formatted, transmitted, and received. Without common protocols, no two computers could communicate.
| Protocol | Full Name | Purpose | Reliability |
|---|---|---|---|
| TCP | Transmission Control Protocol | Reliable data delivery — guarantees order and delivery | High — resends lost packets |
| IP | Internet Protocol | Addressing and routing packets across networks | Low-level routing |
| UDP | User Datagram Protocol | Fast but unreliable — no guarantee of delivery | Low — but very fast |
| HTTP | HyperText Transfer Protocol | Web page requests and responses | Unencrypted |
| HTTPS | HTTP Secure | Encrypted web communication | Encrypted (TLS) |
| DNS | Domain Name System | Domain-to-IP translation | TCP/UDP |
TCP vs UDP in real life:
| Standard | Name | Max Theoretical Speed | Frequency | Key Advantage |
|---|---|---|---|---|
| 802.11n | WiFi 4 | 600 Mbps | 2.4 / 5 GHz | Wide adoption |
| 802.11ac | WiFi 5 | 3.5 Gbps | 5 GHz | Common in most homes |
| 802.11ax | WiFi 6 | 9.6 Gbps | 2.4 / 5 GHz | Better in crowded areas, lower latency |
| 802.11ax | WiFi 6E | 9.6 Gbps | 2.4 / 5 / 6 GHz | Less congestion on 6 GHz band |
| 802.11be | WiFi 7 | 46 Gbps | 2.4 / 5 / 6 GHz | Ultra-low latency, released 2024 |
WiFi 6 is the current mainstream standard, now included in most new laptops and phones. Its biggest improvement isn't raw speed — it's efficiency in crowded environments (stadiums, apartment buildings, offices) where many devices share the same channel.
When an ISP advertises "100 Mbps internet," what does that mean?
For context:
The internet works like a postal system for data:
The genius of the internet is that nobody owns the whole postal system — it's a globally agreed-upon set of rules (protocols) that any network can follow.
google.com into IP addresses like 142.250.80.46Get this course's notes on Telegram!
Free cheat sheets, summaries & practice exercises