Skip to content

Quickly and simply troubleshoot networks from the command line

This article was been published more than a year ago. The information may be outdated.

I love using command line tools, especially for troubleshooting networking. There are two simple commands you need to know; ipconfig and ping. Here’s a simple guide to finding where the problem :
 

  1. Open the command line by opening the “run” dialog box, entering cmd and clicking OK
  2. Ensure that the TCP/IP service is running by pinging the loopback address like so: ping 128.0.0.1
  3. Run the ipconfig command, which should give you information something like this:
  4. IP Address. . . . . . . . . . . . : 192.168.1.100
    Subnet Mask . . . . . . . . . . . : 255.255.255.0
    Default Gateway . . . . . . . . . : 192.168.1.1

  5. If your address is not an APIPA address, ping your IP-address.
  6. Ping the default gateway
  7. Ping www.iana.org
  8. Ping the website or server you are trying to reach

 
If any of the above tests fail, you’ve found where the problem is.

Be First to Comment

By posting a comment, you consent to our collecting the information you enter. See privacy policy for more information.

This site uses Akismet to reduce spam. Learn how your comment data is processed.