Continuous ping tool is a tool that ping a remoter device on an interval and not stop. It do it every 5 second, for example, and do not stop, by using this tool it is possible to monitor that the remote device is up and running.
It is done using a ping tool. That tool enables you to verify if a particular host name or IP address is accessible or not. You can also use ping to diagnose network related problems on your computer.
Open Port Ping UI Tool:
Our PingUI tool has the continuous ping checkbox to support it, that enable you to start a ping command on a remote host to verify whether a computer connected to a network and running. Selecting the continues checkbox will make this tool to continue pinging forever.
The Ping command line:
The ping command works by sending an echo request message to the target over the ICMP (Internet Control Message Protocol). It then waits for that message to come back.
It is good to know that ping command can send more than one echo request and counts the statistics on all the attempts it makes which are later displayed on the output.
What is continuous Ping anyway:
Continuous ping as we already know is the process of running a ping to a remote device and continue doing it for a long time. Using this the tool can collect the ping matrix and use it for statistics. You can see what was the ping longest time and when to figure if there are any networks issues.
How to do a Continuous Ping Test:
One option to perform a continuous ping test is by using our PingUI tool. That you can download from this website. Another option is using the ping command line tool with the -t parameter. This is for running the command under windows environment. On Linux environment the default behavior of the ping command is to continue till you stop it.
In basic term a continuous ping is done by sending ping ICMP packet to a remote host again and again and again. You only need to specify the hostname or IP address that you want to ping to.
Then, depending on the continuous ping tool you are using, you just need to click on the ‘ping’ or ‘start’ button and it will start pinging. As you specify the host name, it is translated it into the corresponding IP address where the echo requests will be sent.
As you do the continuous ping test, you can make some settings on the ping command.
These may include:
- Count – Number of echo requests to be sent.
- Timeout – Represents the time to wait for each reply.
- Time To Live – Representing the number of network nodes that the request packet can go through.
- Buffer Size – The additional information added to the ping packets.
Please refer to our ping command page for more information on the ping command line tool.
Using the ping command as a continuous ping tool:
Below are the methods you can use to create a continuous ping test depending on the environment. Here are some of the ways of creating continuous ping.
- ping 192.168.1.1 –t This continuous ping command is used in Windows (CMD Prompt), and it works in Windows 7, 8, 98, 95, XP and the Server family. You need to go to start, run and type CMD to open the command prompt.
- ping 192.168.1.1 This is used in OSX and Mac in OSX the ping is continuous by default. If this command does not work, you can use “/sbin/ping 192.168.1.1” instead.
- ping 192.168.1.1 It is used in the Unix/Linux shell, also in UNIX the ping command is continuous by default. Under Unix/Linux shell, you can also use “ping 192.168.1.1 -c 9999999″ the -c indicate count and the high number will make the ping command run lots of time. If this command does not work, you can use ” /bin/ping 192.168.1.1″ instead.
- ping 192.168.1.1 This is used in Juniper, JunOS, the ping command is continuous by default in JunOS.
- ping 192.168.1.1 repeat 9999999 This is used in Firewall/Switch/Cisco Router. It is important to know that you cannot do a continuous ping on a Cisco router, switch or firewall. Nevertheless, you can do lots of pings to simulate a continuous ping, but it may be block on the Firewall/Switch/Cisco Router.
The above are the common continuous ping steps. You can always stop the continuing ping if needed, by simply press CONTROL+C.
Ping not responding:
In some cases, the computers may not respond to a ping command. This might be as a result of one of the following options:
- Incorrect firewall or router configuration.
- A policy that restring the ICMP protocol.
- The target host is down.
- Failure in the network hardware
- The ping was block on the firewall.
- Other reason.
If a ping command return an error it is important to understand why it is fail during the check. Using the error message that it return and the above list it is possible to understand why your continuous ping test failed.
Please also check our open port tool.