How to find available IP addresses?
I would like to write a script (using perl or shell, etc) to find available IP addresses in my network. I really don't know where to start.
Here's what I would like the script to do:
Ping (or any other tool that may work) a range of IPs (example: 0.0.0.1 to 0.0.0.255). Then whenever an IP replies, it means that its already being used somewhere so this IP will be sent to a file called usedIP, but if the IP gives no response, then chances are that the IP is not being used. So this IP will be sent to a file called availableIP.
Could you guys give me some hint/help on how I can accomplish this?
|Thread||Thread Starter||Forum||Replies||Last Post|
|K3b cannot find growisofs||maxrussell||FreeBSD General||5||26th April 2009 12:20 PM|
|pkg_add g95;g95 x.f95: cannot find g95||enpey||OpenBSD Packages and Ports||8||27th August 2008 12:48 AM|
|where might I find 'libcamel'?||Damien787||FreeBSD Ports and Packages||16||17th June 2008 11:35 PM|
|Managing IP Addresses||bigb89||FreeBSD General||8||28th May 2008 12:09 AM|
|abbreviating email addresses?||ocicat||Feedback and Suggestions||9||22nd May 2008 12:21 AM|