On 10.11.2010 16:34, Ricardo Signes wrote:
* Evgeniy Kosov<evge...@kosov.su>  [2010-11-10T07:58:32]
So, few words about what it is and why it is so.
My task was to track ranges of available IP addresses (IPv6 as well
as IPv4), to print reports (which addresses are free, which aren't),
to be able to grab one free IP and so on. I couldn't find any
suitable module (btw, is there any?), so I decided to implement one.

Isn't this what Net::IP does?

   http://search.cpan.org/dist/Net-IP/IP.pm#looping

Its interface is a bit gross, but it does exist and work.


Does Net::IP track occupied IP addresses within specified range?

No, looping won't work here, because looping through say dead:beaf:aa:bb::/64 just to print out allocation status report seems way too ineffective.

--
BR,
Evgeniy Kosov

Reply via email to