Sign in
track

Networking

OSI/TCP-IP, IP and ports, DNS, HTTP, and how to diagnose it when something's broken.

Basics

01 theory
OSI and TCP/IP

Seven OSI layers, four TCP/IP layers. Why these numbers show up in load balancer names.

10 min · intro
02 theory
IP addresses and ports

What an IP address and subnet mask are, public and private addresses, NAT (SNAT/DNAT), what ports are for, and why 80 and 443 are special.

16 min · easy
03 theory
DNS

How google.com turns into an IP address. A/AAAA/CNAME/MX/TXT records, dig, /etc/resolv.conf.

12 min · easy
04 theory
HTTP and HTTPS

Request/response, methods, status codes, headers. HTTP/1.1 vs 2 in two paragraphs.

19 min · easy
05 theory
Network diagnostic tools

ping, traceroute, mtr, ss, curl -v, tcpdump. Which one to use for which symptom.

15 min · medium
06 theory
Firewall and routing

iptables/nftables, ufw, the routing table, and why ping/traceroute stay silent even though the service is alive.

15 min · medium
08 theory
TCP: handshake and flags

Three-way handshake, sequence numbers, SYN/ACK/FIN/RST flags, and what makes TCP reliable.

12 min · medium
09 theory
UDP: no connection, no guarantees

How UDP works, what you trade for speed, and why DNS, video, and games pick it.

10 min · easy
10 theory
ICMP: ping, traceroute, and control messages

What ICMP carries, how ping and traceroute work, and why blocking ICMP entirely causes trouble.

10 min · easy
11 theory
NAT: SNAT, DNAT, masquerade

How address translation works: getting a private network onto the internet, forwarding ports, and what NAT isn't.

12 min · medium
12 theory
IPv6 and SLAAC

How IPv6 differs from IPv4 beyond address length, what link-local means, and how a host configures its own address.

12 min · medium
13 theory
DHCP: how a host gets an address

The DORA sequence, what else a DHCP server hands out besides an IP address, and the lifecycle of a lease.

10 min · easy
14 quiz
Check: Networking basics

Eleven questions on OSI, DNS, HTTP, TCP, NAT, DHCP, and diagnostics.

7 min · easy

Going deeper