Skip to content
Hands-on course · 17 days

Network debugging for platform engineers hands-on

You find network faults from the link to the Kubernetes service layer by layer – hypothesis, measurement, cause, proof of the fix.

  • Free · no subscription
  • 17 days · 60–100 min each
  • 107 drills · with expected output
Day 1 · Drill 5: ethtool: what the driver knows
# on netz
$ sudo ethtool eth0 | grep -E 'Speed|Duplex|Link detected'
$ ethtool -i eth0 | head -1

Expected

    Speed: Unknown!
    Duplex: Unknown! (255)
    Link detected: yes
driver: virtio_net

As a book · Edition 2026 · PDF and EPUB

The whole course to take with you, for reading away from the screen. Reading online stays free.

With Pro: as your book of the month Pro launches soon. With a free account you can join the Pro waitlist.
Leanpub · soon Amazon · soon

What you'll be able to do

  • Name the layer behind any “it doesn't work” within minutes – link, route, neighbor, port, DNS, HTTP, TLS, firewall, container, service, policy or MTU
  • Use dig, curl -w and openssl s_client to show whether a problem lies in the network, in DNS, in the certificate or in the application
  • Prove firewall rules with counters, read conntrack and capture at both ends with tcpdump and tshark
  • Inspect Kubernetes services, CoreDNS, network policies and the Cilium overlay with kubectl, cilium-dbg and Hubble and find an MTU blackhole

What you need

LabOne VM with Ubuntu 24.04, SSH access and sudo – in the lab 2 vCPU and 3.8 GiB; sites, router and servers run inside it as namespaces, from Day 11 on plus Docker and a kind cluster with Cilium

InternetInternet access from the VM for packages and images, everything else happens inside the VM

Prior knowledgeThe book is for software, DevOps and platform engineers who run services and no longer want to wait for “the network team” when network problems come up. You should know the shell, SSH and the basics of IP, ports and DNS; Kubernetes basics help from Day 12 on, but the book explains everything it uses.

Set up your labKubernetes locally · Lab VMs

Training plan

One day = one sitting. Every day ends with a checkpoint and a challenge. About 26 hours in total.

Training days

  1. Day 0 The training groundTurn an empty Ubuntu VM into a small company network to break: two sites, a router, a web server, a database and a separate storage network, all as network namespaces on one VM 75 min
  2. Day 1 Is the link there?From a single line you can tell whether an interface itself is switched off, whether the other end is missing or whether packets are dropped along the way, and you prove every fix with the same command 60 min
  3. Day 2 Where does the packet go?You ask the kernel which path a packet takes instead of evaluating routing tables in your head, and you find missing default routes, overly specific routes, wrong source addresses and asymmetric paths that the kernel silently drops 75 min
  4. Day 3 Neighbors and Layer 2You read the neighbor table and the switch table, find a duplicate IP address through its MAC address, understand why a fix only takes effect after the ARP cache catches up, and recognize a port in the wrong VLAN 70 min
  5. Day 4 Reachable?From the message and the duration, you tell whether a port is open, whether nobody is listening, whether a firewall silently drops or rejects, and whether a host is missing – and you read mtr so that you separate real packet loss from harmless gaps 75 min
  6. Day 5 Who is listening?You use ss to read which process listens on which address and which port, recognize from the bind address why a service only answers locally, find the process behind “Address already in use”, and infer application bugs from TCP states and queues 75 min
  7. Day 6 DNSYou run your own DNS server for the training ground, read every dig answer by its status (NOERROR, NXDOMAIN, SERVFAIL, no answer), distinguish what dig asks from what your applications ask, and identify search domains, /etc/hosts entries and dead name servers as the cause 90 min
  8. Day 7 HTTP with curlYou read curl -v line by line, break a slow request down with -w into DNS, connection, TLS and server response, test a virtual host with -H Host and --resolve before DNS has been switched, follow redirects with care and find a proxy nobody knew about 90 min
  9. Day 8 TLSYou read a certificate and its chain with openssl, build your own small CA with an intermediate certificate, give nginx TLS and mTLS, explain SNI using a failure and identify the three most common TLS errors – wrong name, expired, incomplete chain – by their message 100 min
  10. Day 9 Firewall and NATYou read a machine's complete rule set with nft, prove with counters whether a rule matches at all, read the connection tracking table with conntrack, set up a port forward (DNAT) and find two faults that aren't in any rule: a forward that only works from outside, and a connection that stays with the old destination after a rule change 90 min
  11. Day 10 CapturingYou capture with tcpdump in a targeted way, read the handshake, data flow and teardown from the flags, see both sides of a connection including NAT at the router, analyze captures with tshark (conversations, retransmissions, TLS server name) and prove with two captures who really sent a packet 90 min
  12. Day 11 Container NetworkingYou recognize that a container network is the same thing as your training ground – namespace, veth, bridge, NAT –, look into a container without tools using nsenter, read port publishing as a DNAT rule, understand Docker’s DNS and find two classics: a service that is reachable only inside the container, and a host whose forwarding Docker has shut off 90 min
  13. Day 12 Kubernetes ServicesYou build a small Kubernetes cluster with Cilium on netz, follow a request to a service all the way to the pod, find out where the ClusterIP “lives” (nowhere), read endpoints and readiness, and get a NodePort through two firewalls 100 min
  14. Day 13 CoreDNS and Pod DNSYou read a pod’s resolv.conf, measure what ndots:5 costs in queries, watch CoreDNS at work through its log, enter a pod without tools using kubectl debug and attach the zone firma.lab from Day 6 as a stub domain – through two NATs 90 min
  15. Day 14 NetworkPolicies with Cilium and HubbleYou turn on Hubble and follow every packet in the cluster, lock down the namespace with default deny, open it up again selectively, use hubble observe --verdict DROPPED to find out which rule drops a packet – and get to know the three most common mistakes: wrong port, forgotten DNS, wrong namespace selector 90 min
  16. Day 15 Overlay and MTUYou find Cilium's VXLAN overlay, see a pod packet in its envelope on the wire, calculate why pods only get 1450 bytes, and hunt down an MTU black hole: small responses arrive instantly, large ones take seconds – without a single error message. At the end you adapt the overlay to a smaller underlay 90 min

More