address match list syntaxs

Andris Kalnozols andris at hpl.hp.com
Mon Oct 8 01:41:30 UTC 2001


Pete:  Thanks very much for the reference to the 'aggis' program.

George: The 'check-net' script is also written in Perl.  For the
        Win32 platform, Perl can be easily obtained at the
        following URL:

        http://aspn.activestate.com/ASPN/Downloads/ActivePerl/

Andris


> * George Young <gyoung at gldata.com> said, on [011007 17:06]:
> > 
> > Thank you for your responses - I was hoping there was a wild card type
> > option, kinda of like using the $GENERATE statement in the zone files. This
> > is an ongoing problem here with all these subnets. Addresses are assigned in
> > blocks (usually contiguous) to the various divisions. For this particular
> > problem I will make use of the CIDR concept. Giving my math skills this is
> > going to be challenging.
> > 
> I've always used aggis for this:
> 
> tigger[~]$ aggis 161.241.51/24 - 81
>  
> The range of nets from 161.241.51 to 161.241.81/24 can be represented
> by:
>  
>         161.241.51/24  (256 hosts: 161.241.51.0 - 161.241.51.255 )
>         161.241.52/22  (1024 hosts: 161.241.52.0 - 161.241.55.255 )
>         161.241.56/21  (2048 hosts: 161.241.56.0 - 161.241.63.255 )
>         161.241.64/20  (4096 hosts: 161.241.64.0 - 161.241.79.255 )
>         161.241.80/23  (512 hosts: 161.241.80.0 - 161.241.81.255 )
> 
> tigger[~]$
> 
> aggis has been around forever, and seems to do everything you'd want.
> 
> ftp://ftp.merit.edu/oldmerit/pub/nsfnet/cidr/aggis.tar.Z
> 
> It's pretty standard perl, should run on your Red Hat systems with no
> problem.
> 
> -Pete
>  
> 



More information about the bind-users mailing list