How to use Fping on Linux

We are looking at one by one how to use the tools in Linux in that order we want to see is the Fping tool. To access this tool on your Linux go-to information gathering> Live host identification> Fping

What is Fping?

Fping is a small command-line tool for sending ICMP (Internet Control Message Protocol) echo requests to network hosts, similar to Ping, but more efficient when pinging multiple hosts. Fping is completely different from Ping in that you can define how many hosts are in the command line or specify a file with a list of IP addresses or hosts.

How to install fping?

The fping tool is pre-installed on all types of Linux devices, and if you do not have a working Linux fping tool you can install it using the command below.

									

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

									

Fping Command list

Usually, the fping tool is used to find out whether an IP address is alive or unreachable. Now let’s see how to check the IP addresses with the help of this fping tool.

Fping Multiple IP addresses

If you want to check more IP addresses at once, type fping and type your target IP address one after the other. See the image below for an example.

									
How to use Fping on Linux
Output for Scanning multiple ip address

Range of IP address

The following command will fping a specified range of IP addresses. With the below output, we are sending echo requests to a range of IP addresses and getting reply as we wanted. Also, cumulative results are shown after exit.

How to use Fping on Linux
Output for range of IP address

Complete network with different option

With the above command, it will ping the complete network and repeat once (-r 1).

Output for complete scan

Also, if you want to know the version of the Fping tool, you can type Fping -v in your terminal.

I hope this post was helpful to you and I want to share this post with your friends too. If you have any doubts about this post you can ask me through the command section.










Post a Comment

أحدث أقدم