Network troubleshooting - Step by step (Why is the server not connected to the network?)

| F.A.Q.

Network troubleshooting - Step by step

  • Why is the server not connected to the network?
  • Why isn't the Internet working?

Before you call the NOC check..

Diagnostic tools needed

  • ipconfig (Windows)
  • ip (Linux)
  • ping (Windows i Linux)
  • arp (Windows i Linux)
  • arp-scan (Linux)
  • tracert (Windows)
  • traceroute (Linux)
  • mtr (Linux - mtr acts as a real-time traceroute)
  • netstat (Windows i Linux)
  • tcpdump (Windows i Linux)
  • wireshark (Windows i Linux)

How does the Internet work?

  • HTTP is based on TCP,
    • TCP is based on the IP protocol
      • IP is based on the Ethernet protocol,
        • and Ethernet requires a network cable.

Diagnostics

Start the analysis from the lowest or highest layer of the stack (ISO/OSI Model)

  1. Are the wires plugged in correctly and is the link control LED on to confirm that the connection has been set up?
  2. Is the network interface configured correctly?
    • ipconfig /all (Windows)
    • ip a (Linux)
  3. Do the arp tables contain information about other hosts?
    • arp a (Windows)
    • arp (Linux)
  4. Is a firewall running on the machine?
    • Windows Defender
    • iptables -nvL (Linux)
  5. Is there a firewall running between the client and the target host?
  6. Do firewalls allow ICMP packets (ping)
    • iptables -A INPUT -p icmp -i eth0 -j ACCEPT (Linux)
  7. Does the ping 127.0.0.1 command work?
  8. Does the ping command to other hosts on the local network by their name work?
  9. Is DNS working properly?
  10. Does the ping command to other hosts on the local network by their IP address work?
  11. Does the ping command to hosts on another network work?
  12. Are higher network layer services SSH (22), WWW (80) working)?
    • Wireshark (Windows)
    • tcpdump -i eno1 tcp port 22 (Linux)
    • tcpdump -i eno1 tcp port 80 (Linux)
  13. Has the firewall configuration been checked?

Related Pages:

  1. Wireshark (Network traffic analysis)
  2. Tcpdump tool (Network traffic tracking)