How data travels across networks and routing fundamentals
Imagine sending a letter across the world. You write the address, drop it in a mailbox, and trust the postal system to deliver it. That's exactly what happens when you send data across the internet — but instead of envelopes and stamps, we use IP addresses and routing protocols. In this lesson, we'll explore how data travels from your device to a server — through routers, hops, and networks — using IP and routing fundamentals.
IP (Internet Protocol) is the addressing system of the internet. It gives every device a unique address so data knows where to go.
A unique identifier for a device on a network
192.168.1.1(32-bit)
2001:0db8:85a3::8a2e:0370:7334(128-bit)
An IP address is like a home address. Without it, the mail can't be delivered.
When you send data (like a message or a video), it's broken into small chunks called packets. Each packet contains:
Packets are like envelopes — each one carries part of the message and knows where it's going.
Routing is the process of finding the best path for a packet to travel from source to destination.
Routing is like GPS navigation. Routers are road signs that guide packets toward their destination.
Note: Packets don't always take the same path — routing is dynamic and can change based on congestion or failures.
Every router maintains a routing table — a map of known networks and where to send packets.
manually configured
updated using routing protocols
Routing tables are like a GPS app's map — constantly updated to find the best route.
Example: You open www.example.com in your browser.
IP and routing are the invisible highways of the internet. Every time you send a message, stream a video, or load a webpage — packets are navigating across routers using IP addresses and routing tables. And as we move deeper into system design, understanding this journey helps us build faster, more resilient systems.