Bottom-up¶
- Physisch (Kabel, Link) → 2. L2 (ARP, MAC) → 3. L3 (IP, Routing, Ping) → 4. L4 (TCP/UDP, Ports) → 5. L7 (DNS, HTTP, TLS)
Befehle¶
ping -c 4 8.8.8.8 mtr -r google.com dig example.com ss -tlnp nc -zv server 80 curl -v https://example.com openssl s_client -connect example.com:443 tcpdump -i any port 80 -nn
Häufige Probleme¶
- DNS-Fehler → dig @8.8.8.8, resolv.conf
- Connection refused → Dienst läuft nicht, Firewall
- Connection timeout → Routing, Firewall, Host down
- SSL-Fehler → Zertifikat, Hostname
- Intermittierend → MTU, Paketverlust (mtr)
Systematisch L1 → L7¶
Ping, Traceroute, Dig, Curl — lösen 90 % der Probleme.
troubleshootingnetworkingdiagnostika