address match list syntaxs

Will Yardley william+dns at hq.newdream.net
Sun Oct 7 21:24:03 UTC 2001


JOHNSON, ERIK *Internet* (PBI) wrote:
> 
> Using CIDR, you can write it out this way:
> 
> acl mylocalsubnets { 161.241.51.0/19; }; 
> 
> /19  =   32 Class C's  
> 
> Since you mention 30 Class C's and not 32, you can just disallow the last
> two.

the command line tool 'cidr' is pretty useful for this sort of thing,
especially if you're bad at math like i am!

aura% cidr 161.241.51.0/19

ip address..........:  161.241.51.0
netmask.............:  255.255.224.0

network address.....:  161.241.32.0
broadcast address...:  161.241.63.255

please wait while host addresses are validated...

total host addresses:  8190

-- 
GPG Public Key:
http://infinitejazz.net/will/pgp/


More information about the bind-users mailing list