Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Iterating through all IP addresses in a CIDR

by phydeauxarff (Priest)
on Nov 04, 2003 at 15:09 UTC ( #304441=note: print w/ replies, xml ) Need Help??


in reply to Iterating through all IP addresses in a CIDR

We had to do the same thing for our IP management system at work.

Take a look at Net::Netmask, specifically the enumerate method which will return a list of the IPs within a block


Comment on Re: Iterating through all IP addresses in a CIDR

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://304441]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (20)
As of 2015-07-01 13:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    What kind of chocolate gives you the most pleasure?















    Results (816 votes), past polls