Ping an IP Range

I was installing a security camera and when I hooked it up to one my routers, the camera would get online but the router didn’t seem to show the new devices IP address.

So I was looking for a number of ways to ping the device as I know what the subnet was.  Most people came up with tools, and they were good.  But it turns out there is an easy way to do it via a command-line in Windows:

for /L %z in (1,1,254) do @ping 192.168.2.%z -w 10 -n 1 | find “Reply”

Just change your IP range to match your network.

Leave a Reply