--- name: linux-networking description: Diagnose Linux kernel and systemd networking, interfaces, iproute2, namespaces, conntrack, nftables, eBPF, XDP, and packet processing. --- # Linux networking Use the [shared knowledge workflow](../knowledge-workflow.md) to gather evidence and decide whether web fallback is needed. 1. Record the distribution, running kernel, iproute2 and nftables versions, namespaces, and whether containers or virtual interfaces are involved. Establish the expected packet path. 2. Use NetExpert `search_docs` to locate kernel documentation and man pages for the installed version. Use `get_document` if the excerpt lacks evidence needed to answer. Use `search_source` when exposed for tagged implementation evidence and account for distro backports. 3. Inspect interfaces, rules, routes, counters, and socket state in the correct namespace. Correlate conntrack and nftables state with actual traffic. For eBPF/XDP, identify attach point, driver mode, kernel capability, and available counters. 4. Test hypotheses using bounded, read-only checks and authorized observations. Validate suggested command and option syntax locally for the installed tool versions. Preserve other interfaces, rules, systemd units, and routing state. 5. Cite original kernel or tool documentation and identify observed facts, suspected causes, and evidence still required.