There is a module that does dynamic IP assignment: look in
${freeradius_source_dir}/src/modules/rlm_ippool
It is not built by default, so you need to add it to the top level
Makefile. There is a description on how to configure it in the docs
direcotry.
Once you've compiled and installed it, change your radiusd.conf file to
have a section:
post-auth {
ippool
}
and then after every successful authentication, this module will add an
IP address chosen dynamically BASED ON the NAS/port combination. The
ippool module uses dbm databases. I'm not sure if this is what you are
looking for, but it may help point you in the right direction.
HTH!
MV
On Tue, 2002-11-26 at 11:37, kenw wrote:
> Is it possible to dynamically allocate IP addresses from FreeRadius.
> I am using a MySQL auth database, and need to supply dynamic IP's from
> radius rather than from the NAS..
>
> Thanks,
> Ken
>
>
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Mike Varley -= SOMA Networks =-
Tel: 416.977.1414 x1578
email: [EMAIL PROTECTED]
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html