From owner-freebsd-questions@FreeBSD.ORG Fri Aug 1 15:57:14 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 43B67106564A for ; Fri, 1 Aug 2008 15:57:14 +0000 (UTC) (envelope-from pprocacci@datapipe.com) Received: from fmailhost01.isp.att.net (fmailhost01.isp.att.net [207.115.11.51]) by mx1.freebsd.org (Postfix) with ESMTP id 2DECA8FC08 for ; Fri, 1 Aug 2008 15:57:13 +0000 (UTC) (envelope-from pprocacci@datapipe.com) Received: from [10.5.21.122] (adsl-19-255-192.bna.bellsouth.net[68.19.255.192]) by isp.att.net (frfwmhc01) with ESMTP id <20080801155713H0100m5udie>; Fri, 1 Aug 2008 15:57:13 +0000 X-Originating-IP: [68.19.255.192] Message-ID: <4893324F.9070406@datapipe.com> Date: Fri, 01 Aug 2008 10:57:03 -0500 From: Paul Procacci User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) MIME-Version: 1.0 To: Mark Wilson References: <8CAC1FE1B91EC30-116C-2BF2@MBLK-M10.sysops.aol.com> In-Reply-To: <8CAC1FE1B91EC30-116C-2BF2@MBLK-M10.sysops.aol.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Question re IPs-to-CIDR conversion program X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Aug 2008 15:57:14 -0000 Mark Wilson wrote: > I'm trying to write a program that will take 2 IPs and return an appropriate CIDR which contains both. > I found this file: ips-to-cidr-nets.pl listed under ~eivind on FreeBSD, which sounds like it might be a good model. > Unfortunately, I can't download the file (get "Forbidden") page, nor locate user "eivind" on the FreeBSD Homepages page to ask him/her about it. > (It's dated 2001, in case that helps; apparently eivind is long gone...) > > 1. Can anyone get me a copy of this program? Or... > 2. Put me in touch with its author so I can ask about it?? Or... > 3. Point me to another program which does what I need? > > Thanks. I'm very new to all this; I was able to cobble together a CIDR-to-IPs calculator in JavaScript, but going this other direction seems much harder, and far more confusing. > > > > > > ------------------------------------------------------- > Mark Wilson, CPUWORKS.COM > wilsoncpu@aol.com > ------------------------------------------------------- > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > You may want to look at ipcalc (/usr/ports/net-mgmt/ipcalc)