All labs

Follow a packet

Decide whether a packet stays on your network, size and split a network into subnets, pick a route from a routing table, open a TCP connection, rebuild out-of-order data, and share one public address with NAT.

Briefing

You are a packet leaving a laptop in a small office, and you have to reach a server somewhere on the internet. At every step something has to decide where you go next: the laptop, the router, the far end. Your job is to make each of those decisions yourself.

You'll learn to

  • Read an address and mask, and tell whether two machines share a network
  • Work out a subnet's size, first and last address, and broadcast
  • Split one network into equal subnets, like VLANs
  • Choose a route by longest prefix match
  • Open a TCP connection and put out-of-order data back together
0 of 8 steps done0%
Start: Same network?
Before you follow a packetOptional warm-upWhy messages travel as packets, what an IP address is made of, what a router does, and counting in binary. Ten minutes.
  1. How many fit?

    The size of a subnet

  2. Split the network

    One network, four VLANs

  3. Pick the next hop

    How a router chooses

  4. The handshake

    Opening a TCP connection

  5. Put it back together

    Out of order, and one missing

  6. One public address

    How NAT shares it

  7. The whole journey

    What happened in between, and what comes next