(RADIATOR) Assign IP

Hugh Irvine hugh at open.com.au
Wed Feb 22 16:19:23 CST 2006


Hello David -

One way to do this is with Handlers based on the different types of  
Clients.

Something like this:


<Client 1.1.1.1>
	Identifier MustAllocateIPAddressInRadiator
	......
</Client>

<Client 2.2.2.2>
	Identifier MustAllocateIPAddressInRadiator
	......
</Client>

<Client 3.3.3.3>
	Identifier MustAllocateIPAddressInNAS
	......
</Client>

<Client 4.4.4.4>
	Identifier MustAllocateIPAddressInNAS
	......
</Client>

.......

<AddressAllocator SQL>
	......
</AddressAllocator>

<Handler Client-Identifier = MustAllocateIPAddressInRadiator>

	AuthByPolicy ContinueWhileAccept

	<AuthBy SQL>
		......
	</AuthBy>

	<AuthBy DYNADDRESS>
		......
	</AuthBy>

</Handler>

<Handler Client-Identifier = MustAllocateIPAddressInNAS>

	<AuthBy SQL>
		.....
	</AuthBy>

</Handler>


You will find an example configuration file in "goodies/ 
addressallocator.cfg".

regards

Hugh



On 23 Feb 2006, at 07:31, David Felipe Rios Rojas wrote:

> Hello.
>
> Radiator has successful finished first test; it authenticates and
> replay connection attributes to RAS.
> Now I want to make it more complex: Several RAS must not assign
> dynamic IP, so Radiator should do it; I've read Reference Manual
> but I don't see information about this; how could I do it?
> This can not be a general feature because some RAS _must_ assign
> dynamic IP and Radiator should not; that's depending of RAS IP
> address.
>
> Regards,
>
> -- 
> David Rios R.
> Equipo Ingenieria de Desarrollo
> Unidad Gestión Tecnológica
> Empresas Publicas de Medellin
>
>
> --
> 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.


NB:

Have you read the reference manual ("doc/ref.html")?
Have you searched the mailing list archive (www.open.com.au/archives/ 
radiator)?
Have you had a quick look on Google (www.google.com)?
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, MacOS X.
-
Nets: internetwork inventory and management - graphical, extensible,
flexible with hardware, software, platform and database independence.
-
CATool: Private Certificate Authority for Unix and Unix-like systems.


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