Trusted For Over 35 Years

Using PING to Test Network Connections

SUMMARY
I want to connect using the TCP/IP protocol. This might be over the Laplink Ethernet Cable or a Local Area Network (LAN). How can I test the TCP/IP protocol?

SOLUTION
The PING command sends a test packet of data to a designated IP address.

Open up a DOS command prompt:

    1. From the Windows Start menu, click Run. (In Windows Vista and newer, simply type the command in step 2 into the search field and hit enter instead of clicking Run.)

 

    1. Type CMD and click OK.

 

  1. Do this step on both computers.

Identify the IP address on the target computer: See Technical Document 204: How to Determine the IP Address on a Computer for more information.

Testing the network connection using PING:

  1. In the command prompt of the source computer, type the following:

    PING IP Address of the target computer

    Then press Enter. For example, PING 10.0.0.2

Understanding the results:

Each PING test makes 4 tries, and gives back a response for each attempt. If the response looks like this, the test is successful.
Successful PING results

If the response looks like either of these examples, the test failed.
Timed out PING results.

Host unreachable PING results

Resolving the problem:
There are several things that can cause a PING test to fail, such as:

    • Pinging the incorrect IP address. Verify that you are pinging the correct IP address of the host computer.

 

 

    • The network may be incorrectly configured. This can be due to a number of different factors including incorrect IP address and/or subnet mask. Subnet masks determine the valid range of IP addresses for a network. Both machines should have IP addresses that fall within the range determined by the subnet mask. If the machines are on the same subnet then they must have the same subnet mask. For more information, contact your network administrator.

 

  • Hardware failure, i.e. a bad ethernet adapter, cable, router, hub, etc.

need help?