Results 1 to 4 of 4
Thread: Help needed ...
-
04-04-2009, 11:05 PM #1Newbie
- Join Date
- May 2008
- Location
- Veles, Macedonia
- Posts
- 16
Help needed ...
Hi to all.
Does anybody know how can I determine which of the IPs within the network are used or not. I know that this can be archived by pinging each of the ips but there are 256 (192.168.1.0 - 192.168.1.255). I am using CentOS 5.
Any help on this would be much appreciated.
Thanks.dacho
Linux Server Administrator
-
04-05-2009, 12:14 AM #2Hosting Systems Specialist
- Join Date
- Dec 2003
- Location
- New Zealand
- Posts
- 1,265
nmap -sP 192.168.1.0/24
http://www.liamm.com/linux/find-all-...-in-an-network
I hope this helps out
-
04-05-2009, 06:36 AM #3Newbie
- Join Date
- Feb 2008
- Posts
- 12
you can also use IP scanner from angryziber for gui
-
04-09-2009, 08:42 AM #4Newbie
- Join Date
- May 2008
- Location
- Veles, Macedonia
- Posts
- 16
Help needed ...
Thanks for the replies. I found the solution, and just in any case I will paste below if anyone need it in the future:
nmap -v -sP xxx.yyy.zzz.0/24 | grep "appears to be down" | awk '{print $2}' >> unsuedips-xxx.yyy.zzz
I hope this solution will help to someone.dacho
Linux Server Administrator