Hello Lisa -

I think the simplest thing to do is use Handlers.

# configuration for Handlers to check DNIS and NASIDENTIFIER

<Handler Called-Station-Id = xxxx, Client-Id = yyyy>
        .....
</Handler>

<Handler Called-Station-Id = xxxx, Client-Id = zzzz>
        .....
</Handler>

hth

Hugh

On Tue, 14 Nov 2000, Lisa Goulet wrote:
> Hi Hugh,
> 
> Thanks for the response.
> 
> Here is further clarification: We allocate IP Pools based on DNIS. However
> the same DNIS call can come into to different pops/NASs. We want to assign
> different IPs based on which NAS the call comes in on. Therefore we need
> logic that looks something like:
> 
> if (DNIS = xxxx) and (NASIDENTIFIER = yyyy) then
>       assign POOL1
> if (DNIS = xxxx) and (NASIDENTIFIER = zzzz) then
>       assign POOL2
> 
> 
> Hope this is clear.
> 
> Regards,
> Lisa
> 
> > -----Original Message-----
> > From:       Lisa Goulet [SMTP:[EMAIL PROTECTED]]
> > Sent:       Monday, November 13, 2000 1:19 PM
> > To: [EMAIL PROTECTED]
> > Subject:    (RADIATOR) DNIS and NASID based IP address pool
> > 
> > Hi,
> > 
> > I've implemented DNIS based IP address allocation with AuthBy DYNADDRESS
> > as
> > shown below. How can I extend the criteria so that IP pool is based on
> > DNIS
> > and NASID?
> > 
> > <AddressAllocator SQL>
> >    Identifier      SQLAllocator
> > 
> >     DBSource        dbi:Pg:dbname=radmin;host=xxx.xxx.xxx.xxx
> >     DBUsername      radmin
> >     DBAuth          radmin
> >    DefaultLeasePeriod      86400
> > 
> >    <AddressPool 207500370>
> >          Subnetmask      255.255.255.255
> >          DNSServer       xxx.xxx.xxx.xxx
> >          Range           213.35.224.1 213.35.224.100
> >    </AddressPool>
> > </AddressAllocator>
> > 
> > <AuthBy DYNADDRESS>
> >     Identifier AllocateIPAddress
> >     Allocator SQLAllocator
> >     PoolHint %{Called-Station-Id}
> > </AuthBy>
> > 
> > 
> > Thanks,
> > Lisa
> > 
> > ===
> > Archive at http://www.starport.net/~radiator/
> > Announcements on [EMAIL PROTECTED]
> > To unsubscribe, email '[EMAIL PROTECTED]' with
> > 'unsubscribe radiator' in the body of the message.
> 
> ===
> Archive at http://www.starport.net/~radiator/
> Announcements on [EMAIL PROTECTED]
> To unsubscribe, email '[EMAIL PROTECTED]' with
> 'unsubscribe radiator' in the body of the message.
-- 
Radiator: the most portable, flexible and configurable RADIUS server 
anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald, 
Platypus, Freeside, Interbiller, TACACS+, PAM, external, etc, etc.
Available on Unix, Linux, FreeBSD, Windows 95/98/2000, NT, MacOS X.



===
Archive at http://www.starport.net/~radiator/
Announcements on [EMAIL PROTECTED]
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.

Reply via email to