[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Declare domain by IPRange
From: |
Ralph Angenendt |
Subject: |
Re: Declare domain by IPRange |
Date: |
Sun, 30 Jan 2005 13:41:56 +0100 |
User-agent: |
Mutt/1.5.6i |
Brian E. Seppanen wrote:
> However is is possible to declare more than a single IP Range to a set
> domain?
>
> What I mean is can I do something similar to
>
> Split = ( " " )
> domain1 = ( IPRange(192.168.0.1-255 192.168.1.0-255) )
> or
> domain1 = ( IPRange(192.168.0.1-255) IPRange(192.168.1.1-255) )
I do this to declare the Hosts which are on our internal network
(10.65.0.0 - 10.65.150.255) - and set the internal domain accordingly:
INTERNAL_HOSTS = ( IPRange(10.65.0.0/17) IPRange(10.65.128.0/20)
IPRange(10.65.144.0/22) IPRange(10.65.148.0/23) )
INTERNAL_HOSTS::
domain = (doma.in)
The above cidr notation seems to be the most simple notation to describe
our network.
You might probably be able to use domain1 = ( IPRange(192.168.0.0/23) )
though with your example.
Ralph
--
Ralph Angenendt......ra@br-online.de | .."Text processing has made it possible
Bayerischer Rundfunk...HA-Multimedia | ....to right-justify any idea, even one
Rundfunkplatz 1........80300 München | .which cannot be justified on any other
Tl:089.5900.16023..Fx:089.5900.16240 | ..........grounds." -- J. Finnegan, USC
pgpp1J7HflAj2.pgp
Description: PGP signature