On Wed, 2002-11-27 at 09:26, Vitaliy Karlov wrote:
> On Wed, Nov 27, 2002 at 04:12:12PM +0200, Kostas Kalevras wrote:
> > > 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)
> 
> I delete all entries with db* and get this (I does not run radiusd in debug mode)
> == radius.log ==
> Wed Nov 27 16:20:17 2002 : Error: rlm_ippool: 'session-db' must be set.
> Wed Nov 27 16:20:17 2002 : Error: radiusd.conf[489]: main_pool: Module instantiation 
>failed.
> ===
> 
> ???
> 
> What is goal of the db* files?
> 

The db* files are used to manage which IP addresses are available, and
which ones have been assigned to which NAC/port combination. for the
session-db and index-db, you can just put in a path and file name. Here
is my complete settings for ths module:
ippool ippool {
        name = ippool
        session-db = /usr/local/etc/raddb/ippool-sess-db
        ip-index = /usr/local/etc/raddb/ippool-idx-db
        range-start = 192.168.1.2
        range-stop = 192.168.1.10
        netmask = 255.255.255.0
        cache-size = 1000
}


ippool-sess-db and ippool-idx-db are gdbm databases. you can do a 'man
gdbm' for more information.

MV




-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Mike Varley         -= SOMA Networks =-
Tel: 416.977.1414   x1578
email: [EMAIL PROTECTED]


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

Reply via email to