Re: CIDR prefixes

"Brett D. Watson" <bwatson@genuity.net> Sat, 16 November 1996 00:07 UTC

Received: from cnri by ietf.org id aa12923; 15 Nov 96 19:07 EST
Received: from nico.aarnet.edu.au by CNRI.Reston.VA.US id aa23987; 15 Nov 96 19:07 EST
Received: from genbsd.genuity.net (genbsd.genuity.net [204.74.125.59]) by nico.aarnet.edu.au (8.6.10/8.6.10) with SMTP id KAA23811 for <cidrd@iepg.org>; Sat, 16 Nov 1996 10:18:42 +1100
Received: from genbsd.genuity.net (bwatson@localhost [127.0.0.1]) by genbsd.genuity.net (8.7.4/8.7.3) with ESMTP id PAA18426; Fri, 15 Nov 1996 15:18:30 -0800 (PST)
Message-Id: <199611152318.PAA18426@genbsd.genuity.net>
X-Mailer: exmh version 1.6.5 12/8/95
To: Kim Hubbard <kimh@internic.net>
cc: Rick Ervin <rervin@dnanet.com>, cidrd@iepg.org
From: "Brett D. Watson" <bwatson@genuity.net>
Reply-To: bwatson@genuity.net
Subject: Re: CIDR prefixes
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Date: Fri, 15 Nov 1996 15:18:26 -0800
Sender: bwatson@genbsd.genuity.net

  a very useful tool is on the net somewhere (can't remember where 
but i think tony bates was involved in writing it, at least i think 
it come from ripe while he was there) called "aggis".  it will accept 
various inputs like:

genbsd:~ $ aggis 204.74.64.0/18

  204.74.64/18 is an aggregate equivalent to 64 Class Cs:  204.74.64
                                                       to  204.74.127


or:

genbsd:~ $ aggis -d 204.74.64.0/18

  204.74.64/18(255.255.192) is an aggregate equivalent to 64 Class 
Cs:  204.74.64 to  204.74.127



or even:

genbsd:~ $ aggis
usage:  aggis [-flags] ip_prefix[/prefix_length]        (Version 2.7)
   or:  aggis [-flags] aggregate #_of_nets
   or:  aggis [-flags] aggregate - aggregate
             e.g.  aggis 141.212 - 141.214 
   or:  aggis [-flags] aggregate - <end_last_byte_value>
             e.g.  aggis 141.212/18 - 216 

           flag -d: "include dotted decimal masks"
           flag -D: "include inverted dotted decimal masks"
           flag -r: always use "host ranges" for expansions.
           flag -q: always use "dotted.quad" format
           flag -l: expand into a list of classful ip/lens
           flag -L: expand into a list of classful ip's only
           flag -T: trim extra blank lines on expansions
           flag -h: print this "help".



  *very* handy tool.

-brett

> >
> Rick,
> 
> You can find the information you're looking for in RFC 1878.
> 
> Regards,
> 
> Kim Hubbard
> InterNIC IP Registry
>  
> > To CIDR:
> > 
> > Has anyone taken the CIDR prefix table, and converted it to the appropriate
> > subnet mask?
> > 
> > I'm having a devil of a time with this, and it would sure be nice if there
> > was a table (such as the Class C Subnetting sheet that I have) that would
> > look something like this:
> > 
> > CIDR Prefix     # of former class C nets        Appropriate Subnet Mask 
> > /24                     1                       255.255.255.0
> > etc., etc.
> > 
> > This would sure make it easy for a dummy like me to set up routers that are
> > using the CIDR scheme, as I am only clear on the old Subnet Mask way of
> > doing things.
> > 
> > Anyway, if there is such an animal, I would appreciate knowing where to get
> > it.  Otherwise, I guess I'll have to sit down and wrestle with creating this
> > list myself.
> > 
> > Thank you for your time.
> > 
> > Rick Ervin
> > DNA
> > 
> > 
> > *********************************************************
> > *     Rick Ervin                                        *
> > *     System Administrator/Postmaster/Hostmaster        *
> > *     DNA/Digital Network Access                        *
> > *     100 W. Clarendon, Suite 1150                      *
> > *     Phoenix, Arizona  85013                           *
> > *     rervin@dnanet.com                                 *
> > *     (602) 277-2725                                    *
> > *     (602) 277-2845 (FAX)                              *
> > *     (602) 263-8731 (Computer Lab)                     *
> > *********************************************************
> > 
>