Our Leadership team is attending CloudFest 2026, from Mar 22 - April 8. Schedule a Connect

Our Leadership team is attending CloudFest 2026, from Mar 22 - April 8.

Discuss MSP growth, DevOps excellence, and Cloud Transformation. Available for 1:1 meetings, Schedule a Connect

  • DevOps
    Case Study

    How we helped a development company rebuild DevOps for efficiency and scale.

    READ CASESTUDY
    icon

    24/7 DevOps as a Service

    Round-the-clock DevOps for uninterrupted efficiency.

    icon

    Infrastructure as a Code

    Crafting infrastructure with ingenious code.

    icon

    CI/CD Pipeline

    Automated CI/CD pipeline for seamless deployments.

    icon

    DevSecOps

    Integrated security in continuous DevOps practices.

    icon

    Hire DevOps Engineers

    Level up your team with DevOps visionaries.

    icon

    Consulting Services

    Navigate success with expert DevOps consulting.

  • TechOps
    Case Study

    How a US hosting leader scaled with us!

    READ CASESTUDY

    WEB HOSTING SUPPORT

    icon

    HelpDesk Support

    Highly skilled 24/7 HelpDesk Support

    icon

    Product Support

    Boost your product support with our expertise.

    MANAGED SERVICES

    icon

    Server Management

    Don’t let server issues slow you down. Let us manage them for you.

    icon

    Server Monitoring

    Safeguard your server health with our comprehensive monitoring solutions.

    STAFF AUGMENTATION

    icon

    Hire an Admin

    Transform your business operations with our expert administrative support.

    icon

    Hire a Team

    Augment your workforce with highly skilled professionals from our diverse talent pool.

  • CloudOps
    Case Study

    How we helped a Private Deemed University in India, save US $3500/m on hosting charges!

    READ CASESTUDY
    icon

    AWS Well Architected Review

    Round-the-clock for uninterrupted efficiency

    icon

    Optimize

    Efficient CloudOps mastery for seamless cloud management

    icon

    Manage

    Automated CI/CD pipeline for seamless deployments

    icon

    Migrate

    Upgrade the journey, Migrate & Modernize seamlessly

    icon

    Modernize

    Simplify compliance complexities with our dedicated services

    icon

    FinOps as a Service

    FinOps as a Service

  • SecOps
    Case Study

    Enabling financial grade platforms through strategic cloud modernisation.

    READ CASESTUDY
    icon

    VAPT

    Vulnerability Assessment and Penetration Testing

    icon

    Source Code Review

    Ensuring source code security ans safe practices to reduce risks

    icon

    Security Consultation

    On demand services for improving server security

    icon

    System Hardening

    Reduced vulnerability and proactive protection

    icon

    Managed SoC

    Monitors and maintains system security. Quick response on incidents.

    icon

    Compliance as a Service

    Regulatory compliance, reduced risk

  • Insights
    Case Study

    How we helped a Private Deemed University in India, save US $3,500/m on hosting charges!

    READ CASESTUDY
    icon

    Blog

    Explore our latest articles and insights

    icon

    Case Studies

    Read about our client success stories

    icon

    Flipbook

    Explore our latest Flipbook

    icon

    Events

    Join us at upcoming events and conferences

    icon

    Webinars

    Watch our educational webinar series

  • Our Story
  • Contact Us

Interested to collaborate?

Get in touch with us!

Ready to elevate your business with certified cloud expertise? Contact us today to learn how our team can help you leverage cloud technology to drive growth, streamline operations, and enhance security.

  • AWSAWS
  • Azure CloudAzure Cloud
  • Google CloudGoogle Cloud
  • Akamai CloudAkamai Cloud
  • OVHOVH
  • Digital OceanDigital Ocean
  • HetznerHetzner
  • Managed Services Overview
  • Kubernetes Consulting
  • DevOps as a Service
  • Infrastructure Monitoring
  • Kubernetes Consultancy Services
  • K8s & Cloud native Solutions
  • 24/7 Infrastructure Monitoring
  • DevOps as a Service
  • Cloud CI/CD Solutions
  • White Labeled MSP Support
  • Our story
  • Life@SupportSages
  • Insights
  • Careers
  • Events
  • Services
  • Managed Services

aws partneraws advanced partner
LinkedInFacebookXInstagramYouTube
SupportSages

Copyright © 2008 – 2026 SupportSages Pvt Ltd. All Rights Reserved.
Privacy PolicyLegal TermsData ProtectionCookie Policy

Ping Multiple Hosts At Once

Author Profile
Albert Reilly
  • 4 min read
Ping Multiple Hosts At Once

Generating audio, please wait...

fping is a command-line tool to send ICMP (Internet Control Message Protocol) echo request to network hosts, like ping. However, much higher performing when pinging multiple hosts. fping completely differs from ping therein you’ll be able to define any number of hosts on the command line or specify a file with the list of IP addresses or hosts to ping.

Installing fping

The package fping is available to install from the default package repositories using package management tool in most Linux versions.

On Debian/Ubuntu

sudo apt install fping

On CentOS/RHEL

sudo yum install fping

Alternatively, you can download and install it from package.

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

Multiple IP Address

fping <ip1> <ip2> <ip3> <ip4>

You can check the connectivity of multiple hosts at once. Just type in the addresses separated by space.

$ fping 192.168.1.1 192.168.1.2 192.168.1.3 192.168.1.24

192.168.1.1 is alive
192.168.1.24 is alive
192.168.1.2 is unreachable
192.168.1.3 is unreachable

Multiple Domains

fping <domain1> <domain2> <domain3>

You can check the connectivity of multiple domains at once. Just type in the domain names separated by space.

$ fping google.com yahoo.com test.com

google.com is alive
yahoo.com is alive
test.com is unreachable

Range of IP Address

fping -s -g <ip1> <ip2>

This will fping a specified range of IP addresses. A cumulative result will be shown after exit (-s option). The option -g is to generate a target list from our input.

$ fping -s -g 192.168.1.20 192.168.1.25
192.168.1.20 is alive
192.168.1.21 is alive
192.168.1.22 is alive
192.168.1.24 is alive
192.168.1.25 is alive
192.168.1.23 is unreachable

6 targets
5 alive
1 unreachable
0 unknown addresses

1 timeouts (waiting for response)
9 ICMP Echos sent
5 ICMP Echo Replies received
4 other ICMP received

0.04 ms (min round trip time)
0.25 ms (avg round trip time)
0.37 ms (max round trip time)
4.167 sec (elapsed real time)

Complete Network

fping -g -r 1 <IP subnet>

With the above command, it will ping the complete network and repeat once (-r 1). With options -q and -s the individual results will be omitted and only a summary of results is displayed.

$ fping -g -r 1 192.168.1.0/24

192.168.1.1 is alive
192.168.1.4 is alive
192.168.1.5 is alive
192.168.1.6 is alive
.....

192.168.1.249 is unreachable
192.168.1.251 is unreachable
192.168.1.254 is unreachable

Reads the List of Targets From a File

fping -s < iplist.txt

We have created a file called iplist.txt having IP address 192.168.1.24 and 192.168.1.25 to fping.

$ fping -s < iplist.txt

192.168.1.24 is alive
192.168.1.25 is alive

2 targets
2 alive
0 unreachable
0 unknown addresses

0 timeouts (waiting for response)
2 ICMP Echos sent
2 ICMP Echo Replies received
0 other ICMP received

0.08 ms (min round trip time)
0.15 ms (avg round trip time)
0.22 ms (max round trip time)
0.025 sec (elapsed real time)

Ping only Alive Host

fping -s -r 1 -a <ip1> <ip2> <ip3>

Using this, we can list only the IPs that are alive and omit that are unreachable.

$ fping -s -r 1 -a 192.168.1.2 192.168.1.24 192.168.1.25

192.168.1.24
192.168.1.25

3 targets
2 alive
1 unreachable
0 unknown addresses

1 timeouts (waiting for response)
4 ICMP Echos sent
2 ICMP Echo Replies received
0 other ICMP received

0.09 ms (min round trip time)
0.16 ms (avg round trip time)
0.24 ms (max round trip time)
1.277 sec (elapsed real time)

Display Targets by Address Instead of DNS Name

fping -A <domain1> <domain2> <domain3>

We will get the IP output instead of the domain name.

$ fping -A google.com yahoo.com test.com

172.217.194.101 is alive
72.30.35.10 is alive
69.172.200.235 is unreachable

Display Summary only

fping -s -q <ip1> <ip2> <ip3>

This will show a summary output instead of each IP output

$ fping -s -q 192.168.1.2 192.168.1.24 192.168.1.25

3 targets
2 alive
1 unreachable
0 unknown addresses

1 timeouts (waiting for response)
6 ICMP Echos sent
2 ICMP Echo Replies received
4 other ICMP received

0.09 ms (min round trip time)
0.21 ms (avg round trip time)
0.33 ms (max round trip time)
4.090 sec (elapsed real time)

These are some of the common examples of command fping. You can include additional examples from the man page at https://fping.org/fping.1.html.

server monitoring

  • Linux

Building up a WordPress website with AWS – PART 1

Building up a WordPress website with  AWS – PART 1
  • Apache
  • VPS
logo

Building up a WordPress website with AWS – PART 2

Building up a WordPress website with AWS – PART 2
  • Apache
  • VPS
logo

Building up a WordPress website with AWS – PART 3

Building up a WordPress website with AWS – PART 3
  • Apache
  • VPS
logo

Building up a WordPress website with AWS – PART 4

Building up a WordPress website with AWS – PART 4
  • WordPress
logo
Ping Multiple Hosts At Once

Posts by Albert Reilly

Albert likes to explore and learn new things. He is hardworking, enthusiastic and is getting expertise in Linux administration, Networking and Security areas. He understands client requirements and is able to act accordingly. He has been working for 2 years with us.