On Tue, Nov 26, 2002 at 11:54:59AM -0500, Mike Varley wrote:
> 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

Hi All!
In radiusd.conf I put this:

=== radiusd.conf =====
ippool main_pool {
    range-start = 10.1.1.1
    range-stop = 10.1.1.255
    netmask = 255.255.255.255
    cache-size = 800
    session-db = ${raddbdir}/db.ippool
    ip-index = ${raddbdir}/db.ipindex
}

post-auth {
          #  Get an address from the IP Pool.
          main_pool
}
======================

In user I write this:
====== users ========
zzz zyxel   Auth-Type := Local, User-Password == "some_pass", Pool-Name := "main_pool"
====================

But IP-address anywhere does not assign from space 10.1.1.0/24

Thanks for any suggestion.

PS. Where is I find documentation about rlm_ipppol ?


-- 
WBR, Vitaliy Karlov [KV1670-RIPE]

- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to