Windows 10

How to Ping IP Address in CMD

In this tutorial, we are going to see how to ping IP address in CMD. The ping command is used to test the availability of a remote computer on a network. We will discover various uses of ping command on Windows.

All commands can be executed in CMD or with PowerShell. We have tested this tutorial on Windows 10, but it should also work on Windows 8, 7, and XP.
 

How to Ping IP Address in CMD

To ping any machine, run the following command:

ping <IP address of the computer>


 

 

How to Constantly Ping IP Address in CMD

By default, ping sends 4 packets to the destination machine. If you want ping to constantly send a packet to your machine, use the -t option. When you want to stop the ping command from sending packets, press CTLR + C keys at the same time. The ping command should be:

ping <IP address of the computer> -t


 

How to Ping IP Address N times in CMD

By default, ping sends 4 requests. However, if you want to send the desired number of requests, you should use the -n option. The complete command should look like this,

ping <IP address of the computer> -n count


 

 

How to Ping IP Address with Packet Size in CMD

By default, the ping request sends a 32 byte packet to the destination machine. If you want to change the packet size, you will need to use the -l option. The complete command should look like this,

ping <IP address of the computer> -l size


 

Conclusion

There are many options available that you can use with the ping command. However, we have explored what is commonly used in this tutorial.
 

Leave a Reply

Your email address will not be published. Required fields are marked *