gb
  English
Phone:  +1 (217) 636-4164
Skype:  onegbits
  1. Home
  2. Blog
  3. How To Install Fping on CentOS 7

How To Install Fping on CentOS 7

How To Install Fping on CentOS 7

26

Sep, 16

1929

What is Fping?

How To Install Fping? Fping is a small program that uses ICMP (Internet Control Message Protocol) echo request that the target host is responding like ping command in Linux. It’s totally different from ping command as it use to ping number of specified hosts on the command line or specify file having list of IP address to ping. For example, we can specify the complete network Fping like (192.168.0.1/24 Class ‘C‘ Network). It will send Fping request to host and move to another target host as you mentioned. This works like round robin. Unlike ping, Fping is meant for basically scripting. You need to install Fping packages separately as this doesn’t included with Operating System.

How To Install Fping on CentOS 7

First, download fping source package to your linux server (latest version is 3.10):
# wget http://fping.org/dist/fping-3.10.tar.gz
To install an application fping follows these steps:
# tar -xvf fping-3.10.tar.gz
# cd fping-3.10
# ./configure
# make
# make install
You can can compile fping with support for IPv6 addresses follow next steps:
# ./configure --prefix=/usr/local --enable-ipv4 --enable-ipv6
  # make
  # make install

Example usage fping program

Fping multiple ip address:
# fping 8.8.8.8 8.8.4.4 104.28.25.20
8.8.4.4 is alive
8.8.8.8 is alive
104.28.25.20 is alive
Fping range of ip address:
# fping -s -g 192.168.1.1 192.168.1.5
ICMP Network Unreachable from 83.231.213.65 for ICMP Echo sent to 192.168.1.1
ICMP Network Unreachable from 83.231.213.65 for ICMP Echo sent to 192.168.1.3
ICMP Network Unreachable from 83.231.213.65 for ICMP Echo sent to 192.168.1.5
ICMP Network Unreachable from 83.231.213.65 for ICMP Echo sent to 192.168.1.1
ICMP Network Unreachable from 83.231.213.65 for ICMP Echo sent to 192.168.1.3
ICMP Network Unreachable from 83.231.213.65 for ICMP Echo sent to 192.168.1.5
ICMP Network Unreachable from 83.231.213.65 for ICMP Echo sent to 192.168.1.1
ICMP Network Unreachable from 83.231.213.65 for ICMP Echo sent to 192.168.1.3
ICMP Network Unreachable from 83.231.213.65 for ICMP Echo sent to 192.168.1.5
ICMP Network Unreachable from 83.231.213.65 for ICMP Echo sent to 192.168.1.1
ICMP Network Unreachable from 83.231.213.65 for ICMP Echo sent to 192.168.1.3
ICMP Network Unreachable from 83.231.213.65 for ICMP Echo sent to 192.168.1.5
192.168.1.1 is unreachable
192.168.1.2 is unreachable
192.168.1.3 is unreachable
192.168.1.4 is unreachable
192.168.1.5 is unreachable

       5 targets
       0 alive
       5 unreachable
       0 unknown addresses

       5 timeouts (waiting for response)
      20 ICMP Echos sent
       0 ICMP Echo Replies received
      12 other ICMP received

 0.00 ms (min round trip time)
 0.00 ms (avg round trip time)
 0.00 ms (max round trip time)
        4.191 sec (elapsed real time)
Fping complite network
# fping -g -r 3 192.168.1.1/24
Show fping version
# fping -v
fping: Version 3.10
fping: comments to [email protected]
Congratulation’s! You have successfully installed Fping.
 How To Install Fping
Save
Leave A Comment
We are with you

24 X 7 X 365

+1 (217) 636-4164

©2018 1Gbits. All rights reserved