Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
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 about the Monastery: (7)
As of 2016-09-27 12:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Extraterrestrials haven't visited the Earth yet because:







    Results (502 votes). Check out past polls.