Index

Free, with Google

Keep going, free.

A free account opens lessons 2 and 3 of every track, 33 more lessons, and keeps your progress and review cards on every device.

Start free with Google

A chalk plan

Open everything on chalk.

Every lesson, board, video, lab and paper, and the full review decks. Yearly is $39/year.

See plansStart free instead

Module 04 · Networking · The whole trip · with code: Python · about 33 min to read

Watch: Routing: how a packet finds any house on earth
▶ VideoPlay it as a journeyTutor comes with a plan

It won’t load: the ladder (network debugging)

The Parcel's Journey
The Parcel's Journey · Open board

One parcel tracked from a laptop to example.com, hop by hop. This lesson is about the day the parcel never arrives, and the five questions that find out where it stopped.

Before you start. One click, every layer (what happens when you load a page) walked one page load through five stops: the concierge turns a name into a number (DNS Resolution), depots pass the parcel one hop closer, each reading only its own list of rows (How a parcel finds any house on earth), the phone call opens on a numbered door called a port (TCP vs UDP, and the 3-way handshake), the whisper code checks the site’s ID card and makes the line private (The whisper code (how a call goes private)), and the order goes in and the reply comes back (What a request actually says (HTTP)). This lesson asks the same five stops as questions, for the day one of them fails.

Lesson 37 of 44 in Networking

The rest of this lesson is part of a plan.

A plan opens every lesson, board, video, lab and paper on chalk. Yearly is $39/year.

See plansAlready a member? Sign in

Or start free: a free account opens lessons 2 and 3 of every track.

In this lesson

  • 4 October 2021: Facebook vanishes, and everyone blames the address book
  • The ladder: five questions, asked from the bottom
  • Rung one, the name: which resolver did you ask?
  • Rung two, the route: the default route, where every road starts
  • Rung three, the port: connection refused, timeout, and the firewall
  • Rung four, the whisper code: the certificate and its one verdict line
  • Rung five, the order: headers arrive, the body never does (the MTU)
  • 1. The name: a client that asks the wrong resolver
  • 2. The route: a default route to nowhere
  • 3. The port: nothing listening on the door you knocked on
  • 4. The port: a firewall that drops one door and rejects another
  • 5. TLS: a card for the wrong name, and one that expired
  • 6. The black hole: every rung passes, and the page never arrives
  • What the six have in common

Terms it explains: TLS, HTTP, resolver, default route, Connection refused, timeout, firewall, MTU.

Related paper

Review Networking