On Wed, 27 Nov 2002, Vitaliy Karlov wrote:
> 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
You should put a netmask of 255.255.255.0
Delete the db* files and run the server in debug mode (radiusd -X)
> 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 ?
Read raddb/experimental.conf
>
>
> --
> WBR, Vitaliy Karlov [KV1670-RIPE]
>
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
>
--
Kostas Kalevras Network Operations Center
[EMAIL PROTECTED] National Technical University of Athens, Greece
Work Phone: +30 210 7721861
'Go back to the shadow' Gandalf
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html