ip -br addressA compact everyday networking view.
Comprehensive Linux networking administration reference covering iproute2, DNS, HTTP debugging, TLS, SSH tunnels, packet capture, and firewall inspection.
Inspect and configure interfaces, routes, and gateways.
ip -br addressA compact everyday networking view.
ip route get 1.1.1.1Useful when policy routing or multiple interfaces are involved.
sudo ip link set dev eth0 upUseful in labs, VMs, and interface recovery steps.
sudo ip addr add 192.168.50.10/24 dev eth0Temporary until persisted through distro networking config.
sudo ip route add 10.20.0.0/16 via 192.168.50.1Useful for lab environments and temporary routing changes.
ip neigh showUseful for local-L2 reachability troubleshooting.
Debug name resolution, HTTP, TLS, and remote host access.
dig +trace example.comUseful when debugging delegation or authoritative-server issues.
dig +short MX example.comUseful for mail diagnostics.
curl -v https://example.comGreat for debugging redirects, headers, TLS, and auth.
curl -X POST https://api.example.com/items -H 'Content-Type: application/json' -d '{"name":"demo"}'Useful for quick API testing without a GUI client.
openssl s_client -connect example.com:443 -servername example.comA go-to tool for TLS debugging and certificate inspection.
ssh -L 5433:127.0.0.1:5432 user@db-bastionUseful for securely reaching private services like databases.
ssh-copy-id user@server.example.comSimplifies passwordless SSH setup.
Capture packets and inspect firewall state.
sudo tcpdump -i eth0Start broad, then add host, port, or protocol filters.
sudo tcpdump -i any host 10.0.0.10 and port 443Useful for focusing on one problematic connection.
sudo iptables -L -n -vCommon on older systems and container hosts.
sudo nft list rulesetModern Linux firewall inspection on nft-based systems.
sudo ufw status verboseCommon on Ubuntu servers and personal Linux systems.
sudo firewall-cmd --list-allUseful on RHEL-family systems that use firewalld.