Link to home
Start Free TrialLog in
Avatar of Pau Lo
Pau Lo

asked on

IP Range Ping

Is there any simple way to ping upwards of 1000 IP addresses to see which reply and put it in a tidy format? Will pinging so many all at once cause serious performacne / confusion impacts to the network?
ASKER CERTIFIED SOLUTION
Avatar of Adrian Cantrill
Adrian Cantrill
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
The amount of traffic generated from a PING is minimal - nobody will generalle care for 1000 machines, even 10000 will probably be fine on a decent network. it may trip up on any decent intrusion detection system as a potential scan, but from inside and assuming your a member of IT or IS - nobody should care.
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of dutchgeek
dutchgeek

Hi,

You can do it with the following script. Just save it in a .BAT file and than run it. It will generate a output.txt
Offcourse you will need to specify the correct ip range you want to scan and the times it will run now set to 255.

@echo off
SET t=0
:start
SET /a t=t+1
ping -n 1 -l 1 192.168.1.%t% > nul
if %errorlevel%==0 echo Host %t% is UP! >> output.txt
if %errorlevel%==1 echo Host %t% is DOWN! >> output.txt
IF %t%==255 Exit
Goto start