Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: Iterating through all IP addresses in a CIDR

by phydeauxarff (Priest)
on Nov 04, 2003 at 15:09 UTC ( [id://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

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (4)
As of 2024-03-29 01:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found