

The tool includes an interactive and non-interactive mode. The nslookup (Name Server Lookup) tool can show valuable details to troubleshoot and resolve DNS-related issues. Similar to the ping tool, tracert includes several options, which you can view with the tracert /? Once you complete the steps, you will know if the destination is reachable or if there is a networking problem along the way. Type the following command to understand the path taken to destination and press Enter: tracert IP-OR-DOMAINIn the command, replace IP-OR-DOMAIN with the actual IP address or domain name for the destination you want to troubleshoot.For example, this command allows you to view the path the packets are taking to reach : tracert.To trace the route to a destination with Command Prompt, use these steps: However, unlike the ping command, each request includes a TTL (Time to Live) value that increases by one each time, allowing to display a list of the route the requests have taken and duration. Windows 10 also includes tracert (Trace Route), a diagnostic tool to determine the network path to a destination using a series of ICMP echo requests. Also, the tool can be used as a quick way to know when the server is up and running again when restarting a server remotely. In a local network, administrators usually use the ping command to find out when a service goes down quickly. Use the Control + C keyboard shortcut to stop the ping.Īfter you complete the steps, you will be able to see the successful and lost requests that can give you a clue on how to continue troubleshooting and resolving the connectivity problem.Type the following command to continue pinging until stopped and press Enter: ping IP-OR-DOMAIN -tIn the command, replace IP-OR-DOMAIN with the actual IP address or domain name of the computer or service you want to test.For example, this command tests the communication between the local device and router for 60 seconds: ping 10.1.4.1 -t.To run the ping command for a specific period of time, use these steps: The ping command includes a number of options that you can access with the ping /?Ĭommand, and one of these options is the ability to set the time you want to run the tool, which can come in handy to examine packet lost when you are troubleshooting connectivity problems. You should also be aware that if the remote device or service blocks the ICMP protocol, the ping command will always timeout. Then try to ping a website to find out whether there is a problem with the internet connection or the remote host. Then test the connection to the router to make sure the issue is not in the local network. If you are dealing with connectivity problems, start pinning the local computer to ensure the network stack is working. If the request times out, then there is a problem that many reasons can cause. Once you complete the steps, if you receive four successful echo replies from the destination, it means that the device can talk with the remote host. This is the same as pinging the device using its own network address. When you run the command, if you get a reply, it means that the networking stack on Windows 10 is up and running.

(Optional) Type the following command to test the local computer networking stack and press Enter: ping 127.0.0.1 or ping loopback Quick note: The 127.0.0.1 is a well-known address, and it is referred to as the loopback address.Type the following command to send ICMP echo requests to test connectivity and press Enter: ping IP-OR-DOMAINIn the command, replace IP-OR-DOMAIN with the actual IP address or domain name of the computer or service you want to test.For example, this command tests the communication between the local device and router: ping 10.1.4.1 Quick tip: If you use the -a option (for example, ping -a 10.1.4.1), the command will also resolve the address to a hostname.Search for Command Prompt, right-click the top result, and select the Run as administrator option.

To test the network connectivity with the ping command, use these steps: Ping is another essential networking tool because it allows you to send ICMP (Internet Control Message Protocol) echo request messages to test the IP connectivity with other devices, whether it is another computer in the network or internet service. Usually, this command will come in handy when you cannot connect to another computer or website using the host or domain name due to outdated information in the local cache. Once you complete the steps, the entries stored in the DNS cache of Windows 10 will be deleted and refreshed. Source: Windows Central (Image credit: Source: Windows Central)
