Fping (Part 4)
|
|
|
||||||||||||
Description: Ping is a utility which uses ICMP echo request to find out if the host machine is up or not. This utility is part of windows as well as linux operating system. But the default ping utility in windows operating system doesn’t provide rich command line options like changing the delay between two ping packets or sending ping message to multiple hosts. Fping provides the very rich command line options, so that one can ping number of different hosts it can also take input from file or change the data size or data content of the ICMP ping packet. Fping can be easily used in script and its output can be easily parsed.
This video explains the usage of following options
- -d Ping with specific data
- -g Ping IP range from host1 to host2
- -H Get hosts from file (comma separated list)
- -L Logging to text file
With the help of ‘-d’ option one can change the contents of the ICMP data portion. Now comes the real beauty of the fping package. With the help of ‘-g’ option you can ask fping to ping a list of hosts from host1 to host2. If you don’t want to ping all the hosts in between but want to ping only specific hosts saved in a text file that can be executed with ‘-H’ option. This option requires a file with complete path which contains a comma separated list of hosts.
Links






