Here is a simple bash script to ping multiple hosts at a time. It’s a very simple and might not be useful always. I just wrote this when I wanted to test hundreds of IP addresses by ping.
# Usage: pingtest 192.168.1.0/24
# pingtest 192.168.1.0-255
You can download the script from here.