(RADIATOR) Re: Multiple Calling-Station-Id

Hugh Irvine hugh at open.com.au
Wed Aug 14 06:36:45 CDT 2002


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,
>  
> I have a similar problem to Micheal's (see inquiry)
> If my understanding is correct, that user cannot connect under any 
> circumstance
> to any other NAS on the network?
> I require a little more flexibility in that the user should ONLY be 
> restricted to a particular
> NAS if he uses a special (GSM) number. The numbers are of the form 
> 0802xxxxxxx OR
> 0803xxxxxxx OR 0804xxxxxxx (where xxxxxxx is any sequence of 7 digits)
>  
>  
> I was thinking of a special HANDLER clause for them.
> I guess I would need something like
>  
> <HANDLER Client-Identifier = specialNAS, Calling-Station-
> Id=/0802xxxxxxx|0803xxxxxxx|0804xxxxxxx/ >
>  
> </HANDLER>
>  
> Would this work?
>  
> Also, how can I associate a pool of IPs with a particular NAS. The 
> purpose is to allow me to
> leave out the poolhint attribute from the record of each user in my 
> database. This should
> allow the allocation of IPs based on the NAS rather than the user.
>  
>  
> Regards,
> Tunde Itayemi.
>
--
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/enriched
Size: 3229 bytes
Desc: not available
URL: <http://www.open.com.au/pipermail/radiator/attachments/20020814/1e35af53/attachment.bin>


More information about the radiator mailing list