I have a bunch of machines on an IP address range which I want to ping simultaneously as a quick and dirty way of telling which ones are switched on. What (free) software can I use to do this?
I'm using Windows Vista.
The quickest way is to use Angry IP Scanner
I use it for the same way you want to!
I've used this command
in a batch file for a similar reason
You could just write a Bash script that loops through an IP address range and pings them. An example that pings addresses in the range 10.1.1.1 to 10.1.1.255 (inclusive):
Instead of manually pinging all IP addresses on your LAN you can do the following:
Open a Command Prompt and type:
This will ping all IP addresses on the 192.168.0.0 network segment and create a text file called
You can also add
Save the below script on the server with an extension of
Please enter only three octets of the IP address.
Once the command has run, it will create a text file name
It is pretty simple to run, and it should save you loads of time.
Angry IP Scanner is great, but I prefer CLI tools. See if you can get this powershell script running in Vista. https://github.com/webstersprodigy/PowerSploit/blob/Portscan/Recon/Invoke-Portscan.ps1
I also suggest getting access to a Linux CLI by using a linux live cd/usb, dual boot, or a vm in VirtualBox. (Install VirtualBox, add a new vm, install Debian.) A linux CLI is invaluable.
From a linux CLI, run the following:
PING Based Scan
Adjust for your network range (the '172.10.1' part,) and you're off. This will provide a list of all hosts on the network that respond to ICMP echo (ping) requests, and resolve them against your DNS server.
Note: This is not the most reliable way to test for live hosts as they may have ICMP blocked.
nmap Based Scan
nmap -sP 192.168.1.0/24
Note: Nmap is more reliable as it is a port scanner and bases its results on the activity on more than just ICMP responses. It's heavily used by pentesters and is worth learning.
Thank you for your interest in this question.
Because it has attracted low-quality answers, posting an answer now requires 10 reputation on this site.
Would you like to answer one of these unanswered questions instead?