Traveling Beyond Silicon at the Speed of Light
The 0 and 1 bits living in your RAM are converted into voltage pulses across copper wires or electromagnetic waves radiating from an antenna.
Transmitted as discrete packets through switches, routers, and subsea fiber-optic cables, they reach the memory of a remote server in milliseconds.
1–3. Physical Mediums: How Bits Travel Through Wire and Air
Digital information is physically transmitted across three primary media:
Copper Wire (Ethernet)
High-frequency voltage differentials (+V / -V) sent over twisted copper pairs. Highly effective and low-latency for Local Area Networks (LANs).
Optical Fiber
Laser light pulses traveling through ultra-pure glass strands, carrying terabits per second across oceans and continents at the speed of light.
Radio Waves (Wi-Fi)
Modulation of 2.4 GHz, 5 GHz, or 6 GHz electromagnetic waves through free space, enabling untethered mobile connectivity.
4–7. Network Interface Card (NIC), MAC Address & Ethernet Frame
Every network adapter possesses a unique 48-bit hardware identifier burned into silicon by its manufacturer called a MAC Address (e.g., 00:1A:2B:3C:4D:5E).
CRC Checksum: A cyclic redundancy check that allows the receiving NIC to mathematically verify that not a single bit was corrupted in transit.
8–12. Local Network: Hub vs Switch
Legacy Hub
When one computer transmits, a hub blindly repeats the electrical signal out to every port, creating catastrophic packet collisions and wasted bandwidth.
Intelligent Switch
A switch inspects the destination MAC address and consults its internal MAC Table, forwarding the frame only to the specific port where the recipient resides.
13–22. Why MAC Alone Isn't Enough: IP Addresses & Packet Switching
MAC addresses are flat numbers with no geographical hierarchy. To route traffic across billions of global devices, the internet uses hierarchical IP Addresses (e.g., IPv4 192.168.1.1 or IPv6 2001:db8::1).
Instead of reserving dedicated continuous circuits like obsolete telephone networks, data is broken into independent Packets. Each packet can take different dynamic routes across the internet and reassembles in perfect sequence at the destination.
23–27. Router, Default Gateway and ARP Protocol
Router & Default Gateway
To send data outside the local subnet, the computer forwards the packet to its Default Gateway (Router). The router evaluates routing tables and forwards the packet onto global optical backbones.
ARP (Address Resolution Protocol)
When the IP is known but the local physical MAC is unknown, a host broadcasts an ARP query across the LAN: "Who has IP 192.168.1.1? Reply with your MAC address."
28–32. Ports and Sockets: Delivering Data to the Right Application
Your computer runs browsers, Discord, and multiplayer games at the same time. How does incoming data reach the right program?
Port Number (80, 443, 22) = Specific apartment door / application inside
Socket = IP Address + Port Number (e.g., 142.250.190.46:443)
33–40. Master Local Host to Global Network Stack Diagram
🧠 Key Takeaways
- Physical Media: Copper wires (voltage), optical fibers (light pulses), and Wi-Fi (electromagnetic radio waves).
- MAC Address: Permanent 48-bit silicon identifier used for local frame forwarding within subnets.
- Switch vs Hub: Switches use internal MAC tables to route frames directly to the intended recipient, eliminating collisions.
- IP Addresses & Routers: Hierarchical routing infrastructure enabling global interconnection of billions of devices.
- Packet Switching: Decomposing data into self-contained packets that navigate dynamic internet pathways independently.
- Ports & Sockets: Direct incoming network streams to the exact running application process.
Lesson 26 — IP, TCP & UDP: How Data Reaches the Right Application
Dive into transport layer protocols: TCP 3-way handshakes, sequence numbers, packet retransmission, sliding windows, and lightweight UDP.