The series: 1 OS → 2 Networking → 3 Security → 4 HTTPS walkthrough, with Go alongside.
You are here: step 2b, Networking: in depth. ← Previous: The OSI Model, One Click at a Time. Next: Security from Zero →
🌐
Series · step 2b
Networking from Zero — A Beginner's Guide to TCP/IP (v1)
You do not need to know anything about networking to read this. You need to be able to open a terminal and type commands. Everything else is explained the first time it appears.
Contents
91 chapters, one page each. Prefer one long page? Read the whole book on one page.
- What you will be able to do at the end1 min
- Contents3 min
- Part 0 — Start here: how to use this guide
- 0.1 Who this guide is for1 min
- 0.2 The learning flow (use this for every chapter)2 min
- 0.3 The roadmap2 min
- 0.4 Set up your machine (20 minutes)2 min
- 0.5 The tiny bit of background you need2 min
- 0.6 How to not get stuck1 min
- 0.7 The series: OS → networking → security → HTTPS2 min
- 0.8 The Go labs: build the network tools yourself3 min
- Part 1 — What is a network, really?
- Chapter 1 — The problem networks solve3 min
- Chapter 2 — Layers: the postal-service idea3 min
- Chapter 3 — The four layers of TCP/IP5 min
- Chapter 4 — Our running example: what happens when you open a website5 min
- Part 2 — Your local network (the link layer)
- Chapter 5 — MAC addresses and Ethernet frames4 min
- Chapter 6 — ARP: finding your neighbour4 min
- Chapter 7 — Switches, and what "broadcast domain" means4 min
- Chapter 8 — Wi-Fi: same idea, different physics4 min
- Part 3 — IP addresses and getting around the world
- Chapter 9 — What an IP address actually is4 min
- Chapter 10 — Subnet masks: the part everyone finds hard10 min
- Chapter 11 — Subnetting practice: designing a real network4 min
- Chapter 12 — Private addresses and NAT6 min
- Chapter 13 — Routing: how a packet finds its way4 min
- Chapter 14 — ICMP: what ping and traceroute really do5 min
- Chapter 15 — MTU: the maximum size of a packet4 min
- Chapter 16 — IPv6: why it exists and how it differs4 min
- Part 4 — Getting connected automatically
- Chapter 17 — DHCP: how your device gets an address4 min
- Chapter 18 — DNS: turning names into addresses12 min
- Part 5 — Ports and the transport layer
- Chapter 19 — Ports and sockets: which program gets the data?8 min
- Chapter 20 — UDP: fire and forget8 min
- Chapter 21 — TCP part 1: the three-way handshake7 min
- Chapter 22 — TCP part 2: how it never loses your data7 min
- Chapter 23 — TCP part 3: closing a connection, and the states7 min
- Part 6 — Making TCP fast (and why yours isn't)
- Chapter 24 — Flow control: the sliding window6 min
- Chapter 25 — Congestion control: sharing the road5 min
- Chapter 26 — The 40-millisecond mystery5 min
- Chapter 27 — Latency, bandwidth, and bufferbloat4 min
- Part 7 — The application layer
- Chapter 28 — HTTP: how the web actually talks9 min
- Chapter 29 — TLS: how it gets encrypted9 min
- Chapter 30 — HTTP/2 and HTTP/34 min
- Part 8 — Seeing and fixing the network
- Chapter 31 — tcpdump : watching packets go by4 min
- Chapter 32 — Wireshark: reading a conversation11 min
- Chapter 33 — ss : what your machine's connections are doing7 min
- Chapter 34 — A troubleshooting method that works8 min
- Chapter 35 — The five classic problems and their fingerprints3 min
- Part 9 — Modern networking
- Chapter 36 — Load balancers, CDNs, and anycast2 min
- Chapter 37 — Cloud and container networking2 min
- Chapter 38 — Security basics3 min
- Part 10 — HTTP in depth
- Chapter 39 — How HTTP messages are framed (and how it goes wrong)3 min
- Chapter 40 — Caching: the biggest performance lever there is4 min
- Chapter 41 — Cookies: how the web remembers you3 min
- Chapter 42 — CORS: why the browser blocked your request3 min
- Chapter 43 — WebSockets and Server-Sent Events4 min
- Chapter 44 — Compression, range requests, and proxies3 min
- Part 11 — Watching your network (monitoring)
- Chapter 45 — What to measure, and why averages lie3 min
- Chapter 46 — Where the numbers come from: counters, flows, and probes7 min
- Chapter 47 — Alerts that wake you for the right reasons4 min
- Part 12 — How routers learn routes
- Chapter 48 — Two ways to share directions3 min
- Chapter 49 — OSPF: finding your way inside one network3 min
- Chapter 50 — BGP: how the whole internet agrees on directions4 min
- Chapter 51 — When a router dies: VRRP and friends3 min
- Part 13 — Professional networking: operations, debugging, and design
- Chapter 52 — Host networking internals: namespaces, veth, bridges, conntrack7 min
- Chapter 53 — Firewalls in the real world: host firewalls, cloud security groups, NACLs8 min
- Chapter 54 — VPNs and tunnels: WireGuard, IPsec, GRE, overlays, and MTU traps6 min
- Chapter 55 — DNS operations: authoritative DNS, delegation, split-horizon, outages7 min
- Chapter 56 — TLS and certificate operations: expiry, chains, SNI, rotation6 min
- Chapter 57 — Production load balancing: L4 vs L7, health checks, draining, retries11 min
- Chapter 58 — Kubernetes networking: Services, Ingress, NetworkPolicy, CNI6 min
- Chapter 59 — Network performance engineering: QoS, packet loss, shaping, saturation7 min
- Chapter 60 — Incident response: runbooks, packet evidence, and escalation4 min
- Chapter 61 — Network design/refactoring: migrations, diagrams, IPAM, change safety4 min
- Chapter 62 — Capstone lab: build, break, observe, and repair a production-like network2 min
- Part 14 — Where to go next
- Chapter 63 — Honest gaps and a six-month plan2 min
- Chapter 64 — Project ideas by level2 min
- Chapter 65 — The series map: where every topic lives2 min
- Continue the series1 min
- Appendix A — Glossary (plain language)
- Appendix B — Command cheat sheet
- Appendix C — Subnetting cheat sheet and answers
- The table to memorise1 min
- Chapter 10, Set A — answers1 min
- Chapter 10, Set B — answers1 min
- Chapter 11 — answers1 min
- Appendix D — Ports and protocols reference
- Ports worth recognising1 min
- Protocol numbers (in the IP header)1 min
- ICMP types worth knowing1 min
- Address ranges1 min
- Appendix E — Reading list and fact-checking notes
- If you only do five things1 min
- Books1 min
- Free video courses1 min
- Blogs and sites1 min
- Hands-on practice1 min
- Specifications (for when you want the truth)1 min
- How the facts in this guide were checked1 min
- Appendix F — Answers to "Check yourself"
Generated from real-life-guide-v1.md · 8 Oct 2026 16:36