What happens when you hit enter

How the Internet Works. From packets and IP addresses to DNS, TCP and loading a web page.

15 lessons · 49 min of video · 10 quiz questions

How the Internet Works: Packets, IP Addresses & Routers Explained, by Sketch the Stack

Try a question from this course

What makes most lookups never reach the root servers?

What you'll be able to do

  • Explain what a packet is and what an IP address does
  • Describe how routers pass packets hop by hop
  • Walk through a DNS lookup from browser to authoritative server
  • Compare TCP and UDP and describe the three-way handshake
  • Narrate what happens between typing an address and seeing a page

What's in it

  1. Packets and addresses

    The two ideas everything else sits on: data travels in small labeled pieces, and every device has an address.

    1. Why the internet chops everything into packets
    2. IP addresses: public, private, IPv4 and IPv6
    3. Recap
  2. Routing: getting packets there

    How routers move packets one hop at a time, over cables and through your local network.

    1. Hops and undersea cables
    2. What a router does with each packet
    3. Two addresses, two jobs: IP and MAC
    4. Recap
  3. DNS: names to numbers

    Packets need IP addresses, but people type names. DNS is the lookup that connects them.

    1. What DNS does, step by step
    2. Why DNS is fast: caching and recursive resolvers
    3. Recap
  4. TCP, UDP and loading a page

    How data is delivered reliably, and how every piece fits together when you load a page.

    1. The TCP/IP layers and ports
    2. TCP or UDP: completeness or speed
    3. Opening a TCP connection: the three-way handshake
    4. Putting it together: what happens when you load a page
    5. Recap

Made from these videos

More courses