Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
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?
[jedikaiti]: Classic Mercury Shiney!

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (11)
As of 2017-07-24 15:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I came, I saw, I ...
























    Results (355 votes). Check out past polls.