address match list syntaxs

Pete Ehlke pde at ehlke.net
Mon Oct 8 00:12:18 UTC 2001


* 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