Is there an easy way to ping the subnet to see what IP addresses are active? I tried broadcast ping and I know one IP is up for sure and it didn't respond, so that's not a terribly good solution.
I thought about writing a simple bash script, until I realized I can set a minimum of a one second timeout. This of course would lead to over four minutes of scan time.
I'd forgotten I had nmap installed. Quick look at the man pages and I found a way to scan my subnet in four seconds:
Code:
nmap -n -sP 192.168.0.0/24
Of course this only works if your hosts respond to ping. I know all of mine on my home network do.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.