Re: Question re IPs-to-CIDR conversion program

2008-08-01 Thread Warren Block
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

Re: Question re IPs-to-CIDR conversion program

2008-08-01 Thread Duane Hill
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. 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

Re: Question re IPs-to-CIDR conversion program

2008-08-01 Thread Paul Procacci
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