Guide to Using ping and tracert Commands

VPTS Team Content has been moderated
Published date:20/9/2025 Update:20/9/2025 Views:135 Reviews: 5.0/51reviews
VPTS on

Below is a detailed guide on how to use ping and tracert commands in Windows, created by VPTS Company – a provider specializing in network infrastructure, VPS, and...

Below is a detailed guide on how to use ping and tracert commands in Windows, created byVPTS– a company specializing in high-quality network infrastructure, VPS, and IT services in Vietnam. With years of experience, VPTS always aims to deliver valuable insights to help customers optimize their systems and troubleshoot issues quickly.

1. Introduction to ping and tracert

Ping: Checks whether your computer can connect to a specific server or IP address.

Tracert: Determines the path packets take from your computer to the destination server, including intermediate hops.

2. What is Ping?

Definition:In theory, Ping – short for Packet Internet Grouper (Groper), is a computer network tool used on TCP/IP networks (such as the Internet) to check whether a connection can be established to a specific server, and estimate the round-trip time for data packets as well as packet loss rates between two machines. Ping is an extremely popular cmd command, commonly used to troubleshoot network errors, test two devices on a network, or simply check if they can reach each other.

Example: Testing connectivity between 2 hosts A and B to verify communication; on host A, we run the command – ping<host A address>and vice versa. If the returned result has a reply time, it means host A and host B can connect to each other properly; if the returned result is request timed out or destination host unreachable, it means they cannot connect to each other.

3. How to execute ping and tracert commands

a. How to ping and tracert on Windows

Step 1: Click Start ->Type “Command Prompt” and click to open the cmd window

Step 2. In the CMD window, type the command to ping your host address, IP, or domain

  • Example: ping 103.77.172.179
Guide to Using the ping Command
  • Example: tracert -d 103.77.172.179
Guide to Using the ping Command

b. How to ping and tracert on Mac/Linux

  • On Linux and Mac, use the terminal application to execute verification commands.
  • Ping destination host address
  • Example: ping . This ping 103.77.172.200 command runs continuously; to stop pinging, press the "Ctrl + C" key combination
Guide to Using the ping Command
  • Perform Traceroute: On Mac/Linux operating systems, the tracert command is replaced by the traceroute command. But Linux does not include this toolset by default, so we must install traceroute by executing the command:

sudo yum install -y traceroute
Guide to Using the ping Command
  • Execute traceroute to the destination host address. E.g.: traceroute google.com
Guide to Using ping and tracert Commands

4. Explaining results

  • Each line is ahop(hops) that the packet travels through.
  • Displays the IP address and response time of each hop.
  • If you see a mark* * *, meaning that hop did not respond.

5. Practical applications

  • Identify where the network is slow or dropping connections.
  • Check the network route from the user to the destination server.

CONCLUSION

The ping and tracert commands are two essential tools that help network administrators and users quickly check network connectivity. Understanding how to use these commands not only helps locate issues but also optimizes network performance, reduces downtime, and enhances user experience.

Furthermore, when combined with other monitoring tools, these two commands help build a more professional and efficient network management workflow. For enterprises such asVPTS, mastering basic network diagnostic tools like ping and tracert is the foundation for delivering high-quality services, ensuring the system always operates stably and securely for customers.

VPTS – Comprehensive Digital Infrastructure Solutions Provider

VPTS is a digital infrastructure solution provider in Vietnam, serving deployment, operation, and data storage needs for individuals, developers, and enterprises. The service ecosystem includesVietnam VPS, International VPS, VPS Anti DDoS, Hosting cPanel, dedicated server, Rack rental, Proxy IPv4/IPv6, S3 MinIOandCloud Storage.

Besides providing infrastructure resources, VPTS also focuses on assisting customers with deployment, configuration, and practical troubleshooting. Content on the VPTS Blog is drawn from common scenarios in operating VPS, servers, and online systems, helping readers understand root causes and apply clear solutions.

VPTS – Stable infrastructure, flexible solutions, and continuous partnership throughout operations.

VPTS Team Contact Information