Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Aug 2008 13:54:19 -0600 (MDT)
From:      Warren Block <wblock@wonkity.com>
To:        Mark Wilson <wilsoncpu@aol.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Question re IPs-to-CIDR conversion program
Message-ID:  <alpine.BSF.1.10.0808011353070.16838@wonkity.com>
In-Reply-To: <8CAC1FE1B91EC30-116C-2BF2@MBLK-M10.sysops.aol.com>
References:  <8CAC1FE1B91EC30-116C-2BF2@MBLK-M10.sysops.aol.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.1.10.0808011353070.16838>