Home | Site Map | Cisco How To Net How To | Wireless | Search | Forums | Services | Setup Guide | Chicagotech MVP | About Us | Contact Us|

Ping, Tracert and PathPing                                                        

 

Ping and Tracert

If you are unable to contact to a remote server, there are two common tools that you can use. Use the ping command to verify that a host computer can connect to the TCP/IP network and network resources. Use the tracert command to examine the route taken to a destination.
 

To Test Connections by Using Ping.exe

Using ping

When troubleshooting, you can use ping to verify IP-level connectivity. You should perform the following steps when using ping:

  1. Ping the loopback address to verify that TCP/IP is configured correctly on the local computer - ping 127.0.0.1
  2. Ping the IP address of the local computer to verify that it was added to the network correctly - ping IP_address_of_local_host
  3. Ping the IP address of the default gateway to verify that the default gateway is functioning and that you can communicate with a local host on the local network - ping IP_address_of_default_gateway
  4. Ping the IP address of a remote host to verify that you can communicate through a router - ping IP_address_of_remote_host

If you can ping a remote computer's IP but not the ComputerName (Time out), this is likely caused by a name resolution failure, rather than network connectivity. You need to check the network settings such as DHCP, DNS, WINS and NetBIOS over TCP/IP.

If you cannot ping both IP and ComputerName, 1)  Ping the loopback address (by using the ping 127.0.0.1 command) to verify that TCP/IP is installed and working correctly on the local computer. 2)   Ping the IP address of the local computer to verify that it was added to the network correctly. 3)   Ping the IP address of the default gateway to verify that the gateway is functional and it is possible to connect to a local host on the local network. You can obtain the IP address of the local default gateway by using the ipconfig /renew command. 4)  Ping the IP address of another remote host to verify that you can communicate through a router.

 

To Test Connections by Using Tracert.exe

Tracert.exe is a route-tracing utility that you can use to determine the network path to a destination. To determine the path that a packet takes on the network and where that path may be ending.

 

For example, your LAN works fine but no one can access the Internet. You may want to use tracert to determine the network path to a Internet destination like yahoo.com before you call your ISP. You can use tracert to examine the results to determine the length of time that the packet took to reach each network segment and the point at which the connection may stop working.

 

PathPing display all routers along the way

Using PathPing can displays information for the destination computer and all routers along the way. For example, to display the information of all router paths to yahoo.com, use command pathping yahoo.com.

Can't ping computers in workgroup
 

  This web is provided "AS IS" with no warranties.
Copyright 2002-2017 ChicagoTech.net, All rights reserved. Unauthorized reproduction forbidden.