Recall first: read each stage's one-line summary and try to remember its commands. Then open the stage to check yourself.
12 stages36 commands
ip -br addrShow interfaces and their addresses, one line each
ip routeShow where packets for each destination go next
ip neighShow the ARP cache, IP to MAC for local neighbours
tcpdump -i eth0 -e -n -c 6 tcp port 80Capture six HTTP packets, with MAC addresses
Watch for A packet's destination MAC is usually your gateway's, not the server's. That's normal.
Open the lesson: How networks work: layers, packets and the next hop →ip -6 addr show eth0 | grep inet6Show the interface's IPv6 addresses
Watch for 100.64.0.0/10 looks private but is carrier-grade NAT space, not an RFC 1918 range.
Open the lesson: IP addressing and subnets: reading CIDR →nc -zv 10.50.0.10 8080Test whether a TCP port accepts connections
nc -zv -w 3 10.50.0.99 8080The same test with a 3-second timeout
ss -tlnuList listening TCP and UDP sockets with numeric ports
Watch for A UDP port check can't tell open from filtered, because nothing answers either way.
Open the lesson: TCP, UDP and ports: refused is not timed out →dig @a.root-servers.net com NS +norecurse +noall +authorityAsk a root server who runs .com
dig github.com MX +shortShow where a domain's mail goes
dig @8.8.8.8 example.com A +noall +answerAsk a specific resolver; column 2 is cache time left
grep hosts /etc/nsswitch.confSee the order Linux resolves names in
Watch for A CNAME can't sit at the zone apex. Use your provider's ALIAS or flattening.
Open the lesson: DNS: how names become addresses →curl -v http://example.com -o /dev/nullShow the request and response headers
curl -sIL http://github.com | grep -iE '^HTTP|^location'Follow redirects and show each hop
curl -s --http1.1 -o /dev/null -w 'http %{http_version}\n' https://github.comForce HTTP/1.1 and print the version used
Watch for A cached CDN response (Age, cf-cache-status HIT) never reached your server, so your app logs won't show it.
Open the lesson: HTTP: read a request like a log →echo | openssl s_client -connect github.com:443 -servername github.comShow the certificate chain, TLS version and verify result
curl -sS https://expired.badssl.com -o /dev/nullSee what an expired certificate error looks like
Watch for curl -k and verify=False hide the error by turning off authentication. Never ship them.
Open the lesson: TLS and HTTPS: certificates without the mystery →ip routeList the kernel's routes
ip route get 1.1.1.1Show the selected next hop for one address
traceroute -n example.comProbe the route without reverse DNS lookups
mtr -n example.comRepeat route probes and summarize loss and delay
* in traceroute means no probe reply arrived in time.Watch for The network rule inside a container does not show Docker's host-side NAT table.
Open the lesson: Routing and NAT: finding the next hop →nft list rulesetInspect nftables tables, chains, rules and policies
nft list chain inet lesson inputInspect the disposable lab's input chain
iptables -SShow iptables-compatible filter rules
Watch for Never test a new default-drop policy on a remote server without recovery access.
Open the lesson: Firewalls: allow only the traffic you need →nginx -tValidate Nginx configuration syntax before reload
nginx -TPrint the loaded Nginx configuration for inspection
bash devops-academy-tools/networking-lab/09-capture.shRun the temporary Nginx reverse-proxy lab
Watch for Nginx's open-source upstream health checks are passive; Plus adds active checks.
Open the lesson: Proxies and load balancing: one front door →ssh -N -L 15432:db.internal:5432 bastionForward a local port through a bastion
bash devops-academy-tools/networking-lab/10-capture.shRun the temporary key-authentication lab
Watch for Agent forwarding gives the remote host access to request signatures from your local agent.
Open the lesson: SSH and remote access: reach servers safely →docker network create app-netCreate a named Docker network
docker network inspect app-netInspect its containers, options and subnet
getent hosts apiResolve a network alias from a participating container
ip -br addrInspect interfaces in the current network namespace
Watch for Remove the temporary containers and network after a local exercise.
Open the lesson: Container networking: bridges, namespaces and Pods →tcpdump -i eth0 -nn -c 4 'tcp port 80'Capture four numeric TCP packets on port 80
nc -zvw 2 server 8081Test a TCP port with a two-second timeout
bash devops-academy-tools/networking-lab/12-capture.shRun the disposable troubleshooting scenarios
Watch for One capture only shows traffic visible on that interface.
Open the lesson: Network troubleshooting: follow the packet →