(RADIATOR) Re: Conditional IP Pool Allocation

Hugh Irvine hugh at open.com.au
Sun May 4 17:50:17 CDT 2003


Hello AdbusSami -

You should set up your address pools with the plantype values and use 
them directly in the PoolHint:

	<AddressPool p1>
		....
	</AddressPool>
	<AddressPool p2>
		....
	</AddressPool>
	<AddressPool p3>
		.....
	</AddressPool>

Then your AuthSelect would look like this:

	AuthSelect select PASSWORD, PLANTYPE, ....
	AuthColumnDef 0, Password, check
	AuthColumnDef 1, PoolHint, reply
	.....
	AddToReplyIfNotExist PoolHint = p3

And your AuthBy DYNADDRESS would look like this:

	.....
	PoolHint %{Reply:PoolHint}
	.....

See the corresponding sections in the Radiator 3.6 reference manual 
("doc/ref.html").

regards

Hugh


On Sunday, May 4, 2003, at 17:15 Australia/Melbourne, Mohammed 
AbdusSami wrote:

> Dear All,
>
> How can I do following :
>
> Allocation of IP pool depend on plan type. For example I have 2 DSL
> customers of plan type p1 & p2 respectively. when they request to 
> connect
> they should get ip pool pool1  & pool2 respectively.  And the plan type
> value I want to retrieve from "AuthSelect"
>
>
> If plantype = p1
> 	Pool1
> If plantype = p2
> 	Pool2
> Else
> 	Pool3
>
>
>
>
> Thanks in Advance.
>
> Regards,
>
> AbdusSami
>
>
>
>

NB: have you included a copy of your configuration file (no secrets),
together with a trace 4 debug showing what is happening?

-- 
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.

===
Archive at http://www.open.com.au/archives/radiator/
Announcements on radiator-announce at open.com.au
To unsubscribe, email 'majordomo at open.com.au' with
'unsubscribe radiator' in the body of the message.


More information about the radiator mailing list