To test connectivity with a host on a network or internetwork, use the PING utility.
  1. Open a command prompt
    • For Windows XP: Click Start, select Run, type cmd and press Enter or select OK button
    • For Windows Vista and Windows 7:  type cmd into the Start menu search box and select it from the Programs list that appears OR if you have the Run option enabled on your Start Menu, then click Start, select Run, type cmd and press Enter or select OK button.
  2. From the command prompt, type
    PING servername
        or
    PING serverIP
    where servername is the name of the server or serverIP is the IP address of the server with which you want to communicate.
  • A response of four lines, each with a time (TTL=) response indicates the server is reachable.
  • A response of Bad IP address indicates the name or IP address is incorrect or unknown.
  • A response of Request timed out indicates the server is known but is not able to respond within a reasonable time.
A second connectivity test is TRACERT which traces the route to the target computer and returns a list of routers through which your request travels to reach the destination.
To use TRACERT:
  1. Open a command prompt
    • For Windows XP: Click Start, select Run, type cmd and press Enter or select OK button
    • For Windows Vista and Windows 7:  type cmd into the Start menu search box and select it from the Programs list that appears OR if you have the Run option enabled on your Start Menu, then click Start, select Run, type cmd and press Enter or select OK button.
  2. From the command prompt, type
    TRACERT servername
        or
    TRACERT serverIP
    where servername is the name of the server or serverIP is the IP address of the server with which you want to communicate.
  • The default settings for TRACERT will test over a maximum of 30 hops.
  • If your TRACERT uses all 30 hops and receives many responses of * rather than a time in ms (milliseconds) at each hop, you can expect communication with the target computer to be inefficient.

    To pipe the TraceRT to a log file, from the command prompt, type
    TRACERT servername > C:\log.txt
        or
    TRACERT serverIP
    where servername is the name of the server or serverIP is the IP address of the server with which you want to communicate.
    You should wait until the command prompt reappears at the bottom of the screen before closing the screen. This indicates the entire log has been written.