Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: Re: ip address calculations

by arc_of_descent (Hermit)
on May 06, 2002 at 13:30 UTC ( [id://164316]=note: print w/replies, xml ) Need Help??


in reply to Re: ip address calculations
in thread ip address calculations


Yes! Very Interesting
Thanx

But i want to neglect ip addresses which are network or broadcast addresses.
The above code prints out 172.16.2.0, 172.16.2.255, etc.
I really want this functionality for users who are supposed
to allocate ip addresses from a pool which they have defined
using start and end ip addresses.
I guess i'll have to put additional code to neglect
the network and broadcast addresses.

Thanx a lot!

--
arc_of_descent

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (2)
As of 2024-04-26 03:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found