|
Hi Hugh,
I assume I can have multiple PoolHint
%{Client:Identifier} in a single <AuthBy DYNADDRESS> clause?
Secondly, how do I restrict the special NAS to ONLY
answer requests from clients with the mobile phone addresses
I have mentioned?
I thought of using <Calling-Station-Id =/^080[234]/> but what stops
the client from dialing into some of
my other NASes?
Is there some way to negate the HANDLER attributes? Something
like:
<Handler Client-Identifier = specialNAS, (NOT)Calling-Station-Id
=/^080[234]/>
Regards,
Tunde I.
----- Original Message -----
Sent: Wednesday, August 14, 2002 12:36
PM
Subject: Re: Multiple
Calling-Station-Id
Hello Tunde -
For your
second point, you would do something like this:
# define Clients with
Identifiers
<Client 1.2.3.4> Identifier
PoolTag .... </Client>
.....
# define AuthBy
DYNADDRESS
<AuthBy DYNADDRESS> Identifier
AllocateIPAddress .... PoolHint
%{Client:Identifier} ..... </AuthBy>
.......
For
your first point, you could also use something like this:
<Handler
Client-Identifier = specialNAS, Calling-Station-Id =/^080[234]/>
The
above says "080" at the start of the string, followed by 2 or 3 or 4, followed
by anything.
As always, you should test such Handlers and regular
expressions thoroughly.
regards
Hugh
On Wednesday,
August 14, 2002, at 07:31 PM, Ayotunde Itayemi wrote:
Hi All,/smaller>/fontfamily> I
have a similar problem to Micheal's (see
inquiry)/smaller>/fontfamily> If
my understanding is correct, that user cannot connect under any circumstance/smaller>/fontfamily> to
any other NAS on the network?/smaller>/fontfamily> I
require a little more flexibility in that the user should ONLY be restricted
to a particular/smaller>/fontfamily> NAS
if he uses a special (GSM) number. The numbers are of the form 0802xxxxxxx
OR/smaller>/fontfamily> 0803xxxxxxx
OR 0804xxxxxxx (where xxxxxxx is any sequence of 7 digits)/smaller>/fontfamily> I
was thinking of a special HANDLER clause for them. /smaller>/fontfamily> I guess I
would need something like/smaller>/fontfamily> <HANDLER
/smaller>/fontfamily>Client-Identifier
=
specialNAS, /fontfamily>Calling-Station-Id=/0802xxxxxxx|0803xxxxxxx|0804xxxxxxx/
>/smaller>/fontfamily> </HANDLER>/smaller>/fontfamily> Would
this work?/smaller>/fontfamily> Also,
how can I associate a pool of IPs with a particular NAS. The purpose is to
allow me to/smaller>/fontfamily> leave
out the poolhint attribute from the record of each user in my database. This
should/smaller>/fontfamily> allow
the allocation of IPs based on the NAS rather than the user./smaller>/fontfamily> Regards,/smaller>/fontfamily> Tunde
Itayemi./smaller>/fontfamily>
-- Radiator: the
most portable, flexible and configurable RADIUS server anywhere. Available
on *NIX, *BSD, Windows 95/98/2000, NT, MacOS X. - Nets: internetwork
inventory and management - graphical, extensible, flexible with hardware,
software, platform and database independence.
|