How to ping continuously

When you run ping command on a Windows machine, the default behavior is to send four ICMP Echo Request messages to destination computer. Ping command then analyze the results by checking ICMP Echo Reply messages from the remote destination computer and display the results in command prompt.

Please refer below image to see the default behavior of ping command for number of ICMP Echo Request messages sent.


Sometimes, you may need to monitor the network connectivity to a remote computer continuously by running continuous ping command.

To run the ping command continuously in a Windows machine, use the ping command with -t option as shown in below image.

To exit the continuous ping command at any moment, press Control + C key combination.


Related Tutorials
Internet Control Message Protocol, ICMP, How ICMP Work, ICMP Header, ICMP Message Header
ICMP message types
ICMP Echo Request and Echo Reply messages
ICMP Destination Unreachable messages
ICMP Source Quench messages
ICMP Router Advertisement messages
ICMP Router Solicitation messages
ICMP Time Exceeded messages
ICMP Parameter Problem messages
ICMP Timestamp Request and Timestamp Reply messages
ICMP Photuris messages
Ping command tool
Ping command options
How to show remote computer name in ping command output
How to specify the number of packets sent in ping command
How to specify the size of data to send in ping command
What is Ping of death (PoD) network attack
Traceroute/tracert command tool
Tracert command options
Pathping command tool
Pathping command options
Difference between ping, traceroute/tracert and pathping