Host & Wire · wrap-up
Cheat sheet & self-check
12 questions across 4 lessons. Each answer links back to the lesson it came from.
Pick an answer to see if you got it, and why.
Q1. What does ARP do?
Show answer
B. Before sending to 10.0.0.20 on the same subnet, a host asks 'who has 10.0.0.20?' and caches the MAC in its neighbour table.
From lesson 01 · Ethernet, ARP & MTUQ2. Pods on different nodes can ping each other, but large HTTP responses hang. What's a likely cause?
Show answer
B. Pings are small. Full-size packets plus VXLAN/IPIP headers exceed 1500 bytes; if ICMP 'fragmentation needed' is blocked, they vanish silently.
From lesson 01 · Ethernet, ARP & MTUQ3. Why is ping -M do -s 1472 a useful test on a 1500-MTU network?
Show answer
B. If that fails but smaller sizes work, something along the path has a smaller MTU.
From lesson 01 · Ethernet, ARP & MTUQ4. Two routes match a destination: 10.0.0.0/8 and 10.20.0.0/16. Which one is used for 10.20.5.9?
Show answer
B. Linux (like all routers) uses longest prefix match. Metrics only break ties between equally specific routes.
From lesson 02 · IP routing, NAT & conntrackQ5. What does DNAT do in a Kubernetes Service?
Show answer
B. kube-proxy (iptables/IPVS mode) installs DNAT rules; conntrack remembers the choice so replies are rewritten back.
From lesson 02 · IP routing, NAT & conntrackQ6. Under heavy load, a node logs 'nf_conntrack: table full, dropping packet'. Effect?
Show answer
B. Every NATed or tracked connection needs a conntrack entry. Size nf_conntrack_max for the workload and monitor usage.
From lesson 02 · IP routing, NAT & conntrackQ7. Thousands of connections sit in CLOSE_WAIT on your server. What does it usually mean?
Show answer
B. CLOSE_WAIT = 'peer said goodbye, waiting for the local app to close()'. Growing numbers point at the application.
From lesson 03 · TCP: state, flags & congestionQ8. What does an RST (reset) right after a SYN usually indicate?
Show answer
B. The host is reachable but refuses the connection. That's 'Connection refused' in applications.
From lesson 03 · TCP: state, flags & congestionQ9. Why does TIME_WAIT exist?
Show answer
B. The side that closes first keeps the connection in TIME_WAIT briefly. It's normal; huge numbers point at many short-lived connections (use keep-alive or pooling).
From lesson 03 · TCP: state, flags & congestionQ10. What is a veth pair?
Show answer
B. One end lives in the pod's network namespace (as eth0), the other on the host, connected to a bridge or routed by the CNI.
From lesson 04 · Your host's network modelQ11. What does a pod with hostNetwork: true get?
Show answer
B. Used by some system components (CNI agents, node exporters). It removes network isolation, so avoid it for apps.
From lesson 04 · Your host's network modelQ12. Which component creates the veth pair and assigns the pod IP when a pod starts?
Show answer
B. The kubelet asks the runtime to create the pod sandbox; the runtime calls the CNI plugin (configured in /etc/cni/net.d) to wire up networking.
From lesson 04 · Your host's network model