Sikau

Learn Computer networks

From packets and subnets to TCP, DNS, HTTP and TLS — by building each piece.

Learn how the internet really moves data by implementing it: encapsulation, IP addressing and subnet maths, longest-prefix routing with TTLs and routing loops, the Internet checksum, the TCP state machine, reassembly with sequence numbers, a reliable stop-and-wait protocol, a DNS resolver with caching, raw HTTP parsing, certificate chain checks — and a tiny browser that ties it all together.

Advanced · 12 lessons · about 8 hours · free

Start Computer networks free: run real code in your browserright here

Continue with Google

What you will learn

Unit 1: Addresses and routing

Layers, IP addresses, subnets and how packets find their way.

  1. Day 1Layers and packetsWhy networks are layered, and what encapsulation adds to every message.30 min
  2. Day 2IP addresses and subnetsAddresses as 32-bit numbers, CIDR prefixes, masks, network and broadcast.40 min
  3. Day 3Routing tablesLongest-prefix match: how a router picks the next hop.35 min
  4. Day 4Project: Hop by hopForward a packet across routers, decrementing TTL — and watch a routing loop die.40 min

Unit 2: Transport

Ports, checksums and reliable delivery with TCP ideas.

  1. Day 5Ports, UDP and checksumsPorts pick the program; checksums catch corrupted bits.35 min
  2. Day 6The TCP handshakeSYN, SYN+ACK, ACK — and the four-step goodbye, as a state machine.40 min
  3. Day 7Sequence numbersPut out-of-order, duplicated and overlapping segments back together.35 min
  4. Day 8Project: Reliable deliveryStop-and-wait with an alternating bit: retransmit on loss, ignore duplicates.40 min

Unit 3: The application layer

DNS, HTTP, TLS — and a tiny browser.

  1. Day 9DNSFrom names to addresses: root, TLD and authoritative servers, aliases and caching.40 min
  2. Day 10HTTP on the wireRequests and responses are just text: parse them and build them.40 min
  3. Day 11TLS and certificatesHow your browser decides a site is really who it claims to be.40 min
  4. Day 12Capstone: A tiny browserDNS lookup, an HTTP request over the wire, and following redirects.90 min

Before you start

These courses make Computer networks easier:

See all courses

Built with ❤️ by dibe.sh