On Wed, 27 Nov 2002, Vitaliy Karlov wrote:

> On Wed, Nov 27, 2002 at 04:50:50PM +0200, Kostas Kalevras wrote:
> > > > 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.
> > > ===
> > >
> > > ???
> >
> > I meant all the db *files* not the configuration directives!!
>
> OK! Now from this pool IP-address assign diul-up user. Everuthing is OK.
>
> But I have some another target...
> I want in this pool assign, for example, 10 IP-address, not 8 or 16...
> I.e. 10.1.1.1 - 10.1.1.10.
>
> I do not want write like this 10.1.1.0/29 (for 8 IP-address
> 10.1.1.0-10.1.1.7) or 10.1.1.0/28 (for 16 IP 10.1.1.0-10.1.1.15)
>
> May I release similar assignment with radius+rlm_ippol ???

Just put the corresponding values in range-start and range-stop.
The netmask is only used to find the network and broadcast addresses of the
range given.

>
> > > What is goal of the db* files?
> > They are the db keeping state of allocated ips
>
> Thanks, i.e. anyway for restarting radiusd I must:
> touch db.ipindex && touch db.ippool
> ?
> I right understand?

No you don't need to. The only requirment is that if you change the range-start
and/or range-stop parameters you should then delete the db files.

>
>
> > > > Read raddb/experimental.conf
> > >
> > > Thanks, I read yet... no more?
> >
> > No. If you find that it is lacking something please contribute some
> > documentation.
>
> I have bad english :(
> I may example of config files put here, if I can release _not_ CLASSLESS IP address 
>pool...

Just explaining what is missing in the documentation will also do the job just
fine.

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

Reply via email to