Home > ADSL > Network diagnostics using Ping and Trace Route.

Network diagnostics using Ping and Trace Route.

Here you can find a small introduction on how to run some useful network test commands on your PC or Mac.
To run any of these utilities you need to do the following:

Windows 10:
1. Click the Start button.
2. In the Search box, type Command Prompt.
3. in the list of results, double-click Command Prompt.

Windows 8:
4. Move your mouse cursor to the lower left corner of the screen until you see a small image appear.
If you are currently viewing the Desktop, this image should be a shortcut to the Start screen, and vice-versa.
5. Right-click on this box to reveal the Windows Quick Access Menu. Click on Command Prompt to open a normal command prompt,
or select Command Prompt (Admin) if you need to launch a command prompt with administrative rights.

Windows Vista:
1. Click Start
2. Type cmd.exe into the search bar and you will be presented with an option in the start menu for a Command Prompt.
3. Open this so you can run the relevant commands.
Windows XP:
1. Click Start.
2. Choose Run
3. Type ‘command’ into the ‘Open’ field.
4. You will be presented with a Command Prompt (or MS-DOS window) where you can type in the relevant command/utility name.
Mac OS X:
1. Double-click on your local disk.
2. Double-click on Applications.
3. Double-click on Utilities.
4. Double-click on Terminal.

Command list

IPCONFIG

Ipconfig is a DOS utility which can be used from MS-DOS and a MS-DOS shell to display the network settings currently assigned and given by a network. This command can be utilized to verify a network connection as well as to verify your network settings.
Windows 2000 users should use this command to determine network information.

PING

Ping is one of the most commonly used and known commands. Ping allows a user to ping another network IP address. This can help determine if the network is able to communicate with the network.

NBTSTAT

The nbtstat is a MS-DOS utility that displays protocol statistics and current TCP/IP connections using NBT.

NET

The net command is available in MS-DOS / Windows and used to set, view and determine network settings.

NETSTAT

The netstat command is used to display the TCP/IP network protocol statistics and information.

NSLOOKUP

The nslookup MS-DOS utility that enables a user to look up an IP address of a domain or host on a network. This command is being deprecated.

TRACERT/TRACEROUTE

tracert in MS-DOS/Windows or traceroute in UNIX/Linux variants is another commonly used network command to help diagnose network-related issues. Using this command you can view a listing of how a network packet travels through the network and were it may fail or slowdown. Using this information you can determine the computer, router, switch or other network device possibly causing your network issues.
e.g.:
• traceroute www.pulsant.com
• traceroute 212.20.226.130

WINIPCFG

The winipcfg command available in Windows allows a user to display network and network adapter information. Here a user can find such information as IP address, subnet mask, gateway, etc…
NOTE: Windows 2000/XP/Vista users do not have winipcfg. Instead use:
• ipconfig (on a windows Machine)
• ipconfig /all … show detailed information
• ipconfig /renew … renew all adapters
Similar output can be viewed on Mac OSX using the ifconfig command.