Skip to content
Optimal Lab

Networking

Follow a packet from your laptop to a server and back.

Sessions

Go in order. Each session is one idea you can drag, step and break.

01Network fundamentals

1 live · 5 coming

Layers, packets and addresses.

  1. Interactive

    Coming soon

    The network layers

    OSI and TCP/IP: what each layer adds.

  2. Interactive

    Coming soon

    Packets and encapsulation

    Wrap data in headers, layer by layer.

  3. Interactive

    Coming soon

    IP addresses and subnets

    Addresses, masks and which machines are local.

  4. Interactive

    Coming soon

    MAC addresses and ARP

    Finding the next machine on the local network.

  5. Interactive

    Live

    NAT and private networks

    Many devices behind one public address.

    Open session →

  6. Interactive

    Coming soon

    IPv6

    Why we need it and what changes.

02Transport: TCP and UDP

3 live · 3 coming

Getting bytes there reliably, or quickly.

  1. Interactive

    Live

    The TCP handshake

    SYN, SYN-ACK, ACK, and what it costs in round trips.

    Open session →

  2. Interactive

    Coming soon

    Retransmission and acknowledgements

    How TCP recovers a lost packet.

  3. Interactive

    Live

    Flow control

    The receive window stops a fast sender drowning a slow receiver.

    Open session →

  4. Interactive

    Live

    Congestion control

    Slow start, backing off on loss, and sharing the link.

    Open session →

  5. Interactive

    Coming soon

    UDP

    Send and forget: no handshake, no retries.

  6. Interactive

    Coming soon

    TCP vs UDP

    Which to use for web, games, video and DNS.

03Routing and the internet

2 live · 3 coming

How networks find each other.

  1. Interactive

    Live

    How routers forward packets

    Routing tables and the next hop.

    Open session →

  2. Interactive

    Coming soon

    BGP

    How the networks that make up the internet share routes, and how that breaks.

  3. Interactive

    Coming soon

    Anycast

    One address, many locations, nearest one answers.

  4. Interactive

    Live

    Traceroute and latency

    See every hop and where the time goes.

    Open session →

  5. Interactive

    Coming soon

    ISPs, peering and exchanges

    Who carries your traffic and who pays.

04Names and addresses

1 live · 2 coming

Finding the server.

Already live in other tracks: DNS, TCP, TLS and HTTP: one request

  1. Interactive

    Live

    DNS resolution, hop by hop

    Stub resolver, recursive resolver, root, TLD, authoritative.

    Open session →

  2. Interactive

    Coming soon

    DNS caching and TTLs

    Why a DNS change takes time to reach everyone.

  3. Interactive

    Coming soon

    DHCP

    How a device gets its address when it joins a network.

05Web protocols

1 live · 5 coming

How browsers and servers talk.

  1. Interactive

    Coming soon

    HTTP/1.1

    Requests, responses, headers and keep-alive.

  2. Interactive

    Live

    HTTP/2 multiplexing

    Many requests on one connection.

    Open session →

  3. Interactive

    Coming soon

    HTTP/3 and QUIC

    HTTP over UDP, and why that helps on bad networks.

  4. Interactive

    Coming soon

    The TLS handshake

    Agree on keys and check the certificate before any data flows.

  5. Interactive

    Coming soon

    WebSockets

    Upgrade an HTTP connection to a two-way channel.

  6. Interactive

    Coming soon

    gRPC and protobuf

    Binary messages over HTTP/2 with a typed contract.

06Latency and performance

1 live · 3 coming

Why the network feels slow.

Already live in other tracks: CDNs: caching at the edge

  1. Interactive

    Live

    Latency vs bandwidth

    A wider pipe doesn't make the first byte arrive sooner.

    Open session →

  2. Interactive

    Coming soon

    Head-of-line blocking

    One lost packet holds up everything behind it.

  3. Interactive

    Coming soon

    CDNs and edge networks

    Move content closer to cut round trips.

  4. Interactive

    Coming soon

    Wi-Fi and mobile networks

    Radio, signal loss and why mobile latency jumps around.

07Network security

0 live · 4 coming

Protecting traffic in transit.

  1. Interactive

    Coming soon

    Firewalls

    Allow and deny rules, stateful and stateless.

  2. Interactive

    Coming soon

    VPNs and tunnels

    Wrap traffic inside an encrypted tunnel.

  3. Interactive

    Coming soon

    DDoS attacks

    Floods at different layers, and how they're absorbed.

  4. Interactive

    Coming soon

    Man-in-the-middle attacks

    Intercepting traffic, and how TLS stops it.

08Debugging networks

0 live · 3 coming

Tools for when it doesn't connect.

  1. Interactive

    Coming soon

    curl, dig and friends

    Check each step of a request from the command line.

  2. Interactive

    Coming soon

    Packet capture with Wireshark

    See the actual packets on the wire.

  3. Interactive

    Coming soon

    Open ports and connections

    Which process is listening, and who is connected.

In production

Tools you can use

28 technologies across 9 live sessions. Same names in any language — pick a session to see how the idea maps to the real world.

Services, platforms, protocols and standards — not one stack.

Roadmap

Coming soon

A step-by-step path through the track, with sessions and practice at each stage.

  1. Stage 1

    Network fundamentals

  2. Stage 2

    Transport: TCP and UDP

  3. Stage 3

    Routing, DNS and the internet

  4. Stage 4

    Web protocols and TLS

  5. Stage 5

    Performance, security and debugging

Projects

Coming soon

Build something real to lock in the skill.

  • Trace one request with Wireshark
  • Build a tiny HTTP server on raw sockets
  • Measure why a page is slow from far away