fping is a small command line tool to send ICMP (Internet Control Message Protocol) echo request to network hosts, similar to ping, but much higher performing when pinging multiple hosts. fping totally differs from ping in that you can define any number of hosts on the command line or specify a file with the list of IP addresses or hosts to ping.

Key Features: 

  • Limit the IP scan to just IPv4 or IPv6 addresses.
  • Display targets by DNS name.
  • Set the Time To Live.
  • Specify only active hosts.


How to Install Fping in Linux Systems


In most Linux distributions, the package fping is available to install from the default package repositories using package management tool as shown.

# sudo apt install fping  [On Debian/Ubuntu]
# sudo yum install fping  [On CentOS/RHEL]
# sudo dnf install fping  [On Fedora 22+]
# sudo pacman -S fping    [On Arch Linux]


Alternatively, you can install latest version of fping (4.0) from the source package using following commands.

$ wget https://fping.org/dist/fping-4.0.tar.gz
$ tar -xvf fping-4.0.tar.gz
$ cd fping-4.0/
$ ./configure
$ make && make install


Example:  Fping Multiple IP Address


The below command will fping multiple IP address at once and it will display status as alive or unreachable.

# fping is alive is unreachable is unreachable


Was this answer helpful? 0 Users Found This Useful (0 Votes)