It is currently Sat May 25, 2013 9:05 am

All times are UTC - 8 hours




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: Available IPs
PostPosted: Sat Jan 28, 2012 1:36 am 
Offline

Joined: Mon Jun 20, 2011 1:45 am
Posts: 4
I wrote this program because at my job, I often have to move printers and computers back and forth between static IP addresses and DHCP assigned. I got tired of pinging random IP addresses until I found one that was available. So, I wrote this little program to find and create a list of available ones.

http://www.fusionsolid.com/Projects/Ava ... e_IPs.html

Image

Image


Top
 Profile  
 
 Post subject: Re: Available IPs
PostPosted: Sat Jan 28, 2012 6:51 am 
Offline
User avatar

Joined: Fri Jun 17, 2011 10:26 pm
Posts: 70
Location: netherlands
Nice. There are other apps that do the same, but still. nice.

_________________
GFA/P/S/SS$/O d- s: a>? C++ UL++++ P++@ L++ !E W+++ N++@ o K+ w O M V- PS+++ PE Y+ PGP++>+++ t++ 5+ X++@ R !tv b+>++ DI++ D+ G e+++ h-->- r% y+


Top
 Profile  
 
 Post subject: Re: Available IPs
PostPosted: Sat Jan 28, 2012 7:01 am 
Offline
User avatar

Joined: Mon Feb 05, 2007 10:38 am
Posts: 66
Location: Sweden
dany wrote:
There are other apps that do the same

Such as?

_________________
Get Screamer!


Top
 Profile  
 
 Post subject: Re: Available IPs
PostPosted: Sat Jan 28, 2012 9:51 am 
Offline
User avatar

Joined: Fri Jun 17, 2011 10:26 pm
Posts: 70
Location: netherlands
Angry IP Scanner or SoftPerfect Network Scanner and quite likely others as well. They can all scan a network and list IP's that are available.
The real question is of course: is this IP really available or is it just a machine that's currently turned off? Since you mention static IP's in your first post, I'm assuming your app is really dedicated to answering that question, whereas the apps above only ping all IP's in a given range.

A small question though: Why can I only scan 1-253, why the exclusion of 254-255?

_________________
GFA/P/S/SS$/O d- s: a>? C++ UL++++ P++@ L++ !E W+++ N++@ o K+ w O M V- PS+++ PE Y+ PGP++>+++ t++ 5+ X++@ R !tv b+>++ DI++ D+ G e+++ h-->- r% y+


Top
 Profile  
 
 Post subject: Re: Available IPs
PostPosted: Sat Jan 28, 2012 12:50 pm 
Offline

Joined: Mon Jun 20, 2011 1:45 am
Posts: 4
dany wrote:
The real question is of course: is this IP really available or is it just a machine that's currently turned off?


No, it's not that intelligent. It only uses pings to determine if an IP address is used.

dany wrote:
A small question though: Why can I only scan 1-253, why the exclusion of 254-255?


The 255 octet is not a valid IP address. It is used for broadcast messages (http://en.wikipedia.org/wiki/Broadcast_address). And with this scanner, you can scan up to 254, which is the highest octet available. I set the range so that you can scan up to 1 less than the higher value, thus if you want to scan up to 254, you have to enter a range of 1-253 to the max of 254. This scenario makes sense to me.


Top
 Profile  
 
 Post subject: Re: Available IPs
PostPosted: Sat Jan 28, 2012 2:04 pm 
Offline
User avatar

Joined: Fri Jun 17, 2011 10:26 pm
Posts: 70
Location: netherlands
TheCrazyHacker wrote:
This scenario makes sense to me.

If you put it like that, yea makes total sense. The other apps do allow pinging the full range up to 255, that's why I asked.

About the range: just noticed that the second box goes up to 254, the first only to 253. Missed that.

_________________
GFA/P/S/SS$/O d- s: a>? C++ UL++++ P++@ L++ !E W+++ N++@ o K+ w O M V- PS+++ PE Y+ PGP++>+++ t++ 5+ X++@ R !tv b+>++ DI++ D+ G e+++ h-->- r% y+


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group