It sends ICMP Echo Requests to the remote computer until you manually stop the command by pressing Ctrl + C. The -t is the continuous ping command option. It might be because the remote computer blocks pings. This doesn't necessarily mean that the host is down. Request timed out - Your computer did not receive ICMP Echo Reply from the targeted device.You probably entered an incorrect domain name. Your DNS Server can't resolve the domain name to the IP address. Ping request could not find host - This is a DNS error.Your router does not know how to reach the remote computer you specified. Destination host unreachable - No routes to the destination.When the ping command fails, you will get one of several error messages like Destination host unreachable or Request timed out. Under the statistics section, you will see the number of packets that were sent, received, and lost. If the ping is successful, you will see the ICMP Echo Reply from the remote IP, as shown in the following screenshot. If the remote device receives the request, it sends an ICMP Echo Reply confirming the connectivity. The ping command tests connectivity between two network devices by sending an ICMP Echo Request to the remote device. This option displays the help file for the CMD ping command. When your computer has more than one IP address, use this option to specify the source IP address from which the pings should be sent. Timeout in milliseconds to wait for each reply. Use this option to modify the packet size of the ICMP Echo Request. TTL tells the maximum number of routers each ICMP packet may pass through on its way to a destination. Use this option to specify the TTL (Time to live) value. Resolve addresses to hostnames (reverse DNS lookup) if possible. Use this option to specify the number of pings to send. Use this option to send continuous pings. This command resolves the IP address to the hostname before sending echo requests: ping -a 8.8.8.8 Command Options -t Ping a remote computer with a larger packet size: ping -l 1000 192.168.1.1 In the following example, we use the -t option to send continuous pings to the IP Address 192.168.1.1 (you stop the command by pressing Ctrl+C): ping -t 192.168.1.1 We can specify the ping count with the -n option: ping -n 10 192.168.1.1 Ping the domain name of the remote host: ping Ping the IP Address of the remote host: ping 192.168.1.1
![ping to test internet connection ping to test internet connection](https://custom-images.strikinglycdn.com/res/hrscywv4p/image/upload/c_limit,fl_lossy,h_9000,w_1200,f_auto,q_1/12624263/wslMafxCdHHN8pq4HYXioBZ1HKL7EjBQ.png)
If you use the -t option, it sends continuous pings until you stop the command by pressing the Ctrl+C key sequence.With the -n option, you can specify the number of echo requests to send.By default, the CMD ping command sends out 4 ICMP echo-request packets.To do a ping test, execute the command followed by the IP Address or domain name of the remote host you want to test. It is the most popular command-line tool for testing connectivity between two network devices. The ping command sends ICMP requests, also known as pings, to a remote device and returns the response. CMD Ping Command | Test Network Connectivity and Latency