Auto Pinging

Ping

Auto Pinging

Automatically ping selected hosts by creating and saving a list of the host IP addresses in a file called ping.cfg in the User directory. When Ping starts, it searches for ping.cfg. If the file exists, hosts in the file are pinged.

To create a host list for auto pinging:

  1. Create a text file called ping.cfg and save it in the User directory.
  2. In the file, type the IP address of each host you want to ping on a separate line. You can also add comments by typing the number sign (#) at the beginning of each comment line.

Example

The format of the ping.cfg file is shown in the example below.

# This is a hosts file

# Comments

12.30.5.167 12.30.5.167 12.30.5.167 nickname.com

12.30.5.168 12.30.5.168 12.30.5.168 192.84.95.10 maccs

Ping reads only the IP address and ignores anything after the IP address. The additional information helps administrators to identify IP addresses of each host being pinged through the ping.cfg file settings.