Chapter 08 of 22 Part II: The Connected World

The Incredible Journey of an Internet Packet

Difficulty: Intermediate Editorial estimate: ~50 min Prerequisites: Chapter 01

Chapter Field Guide

Measurable Learning Outcomes

  • Explain how DNS translates human-readable domain names into IP addresses.
  • Trace how packet-switched routers forward packets around failed links.
  • Explain how TCP sequence numbers and acknowledgments recover lost or out-of-order packets.

Core Scientific Intuition

The Internet breaks data into small packets, each carrying source and destination IP addresses. Routers forward each packet hop-by-hop using routing tables rather than reserving a dedicated wire. If a link fails, routers choose another path. On top of IP, TCP numbers every chunk so the receiver can request retransmissions for missing packets and reassemble the message cleanly.

RTT ≈ 2 · (distance / propagation_speed) + queuing_and_processing
In plain words: Round-trip time equals twice the one-way travel time plus router queuing and processing delays.
Units & assumptions: Light in fiber travels around 2×10^8 m/s (~2/3 c); congestion adds variable queuing delay.

Worked Example

When your browser requests example.org, DNS resolves the name to an IP address, your home router's NAT maps your private LAN address (e.g. 192.168.1.x) to a public IP, and TCP tracks sequence numbers across hops.

Hands-On Exploration

Interactive Laboratory

Test the concepts directly with 7 interactive panels, live controls, and visual feedback.

Open Interactive Lab →

Three Guided Projects

Structured experiments with hypotheses, boundary tests, hints, and reflection prompts.

View 3 Projects →

Source Code (3 Snippets)

Inspect byte-identical printed JavaScript blocks, download `.js` files, or test runnable blocks in the isolated sandbox.

Browse Code →

Self-Check Quiz (5 Questions)

Immediate explanations for every choice, unlimited retries, and local-only score tracking.

Take Self-Check Quiz →

Book Chapter Outline (Reference Guide)

Section headings from Volume 1 for cross-referencing with the printed book.

Show all 40 book section headings
  1. A message with an ocean to cross
  2. PEOPLE BEHIND THE SCIENCE
  3. Vint Cerf (born 1943)
  4. Bob Kahn (born 1938)
  5. PEOPLE BEHIND THE SCIENCE
  6. Tim Berners-Lee (born 1955)
  7. Radia Perlman (born 1951)
  8. PEOPLE BEHIND THE SCIENCE
  9. Paul Mockapetris (born 1948)
  10. The machines in your home
  11. Who does what?
  12. How a new device gets an address
  13. An imaginary home network
  14. IP address versus MAC address
  15. One public address, many devices
  16. DNS: the internet’s name directory
  17. What is inside a packet?
  18. The ocean has an internet floor
  19. Routers choose the next step
  20. TCP, UDP and QUIC
  21. TCP: a reliable byte stream
  22. UDP: individual datagrams
  23. QUIC: reliable streams over UDP
  24. From a name to a visible web page
  25. Questions from the packet detectives
  26. Does every device have a permanent IP?
  27. Can two computers have the same IP?
  28. Can a website see my MAC address?
  29. Why does video pause while a speed test looks good?
  30. Does a failed ping mean a website is down?
  31. Lab 1: Build a tiny name directory
  32. Lab 2: Find a route through a graph
  33. Lab 3: Reassemble a message
  34. Detective mission: the broken link
  35. Your investigation
  36. Solution
  37. What the models leave out
  38. Your internet toolkit
  39. Next chapter
  40. Explore the real standards

Primary Sources & Further Reading

External links are provided for independent verification and deeper study. Link availability can change over time; see the Resources page for verification notes.