Question re IPs-to-CIDR conversion program

Warren Block wblock at
Fri Aug 1 19:54:24 UTC 2008

On Fri, 1 Aug 2008, Mark Wilson wrote:

> I'm trying to write a program that will take 2 IPs and return an appropriate CIDR which contains both.
> 3. Point me to another program which does what I need?

Net::CIDR has a range2cidr method that will do that.

-Warren Block * Rapid City, South Dakota USA

More information about the freebsd-questions mailing list