Multiple ippools and assigning them depending on realms
Alan DeKok
aland at deployingradius.com
Sun Jul 24 21:42:20 CEST 2016
On Jul 24, 2016, at 1:38 PM, Uwe Freier <uwe at freier.de> wrote:
>> Read the IPPool example.
>
> Can you please point me which one you meant? I found http://wiki.freeradius.org/modules/Rlm_ippool, it this the right one?
The server comes with an "ippool" module. It's in raddb/mods-available/ippool. It has lots of examples.
>> The ippool module manages IPs in pools. It can deal with multiple pools simultaneously. Just set the Pool-Name attribute.
>
> I think I had a 'hanger' anywhere. From the URL above, in "Custom configuration" - there are 2 ippools defined with different ip ranges (this is the scheme I need). But I did not find out what single name of ippool module I should write into accounting {} and post-auth{}.
If it has one name, it's just 'ippool". See the many, many, other examples of modules being used.
> In the end I gave up this way but succeeded in ip pooling at last by switching to sqlippool where the name of the ippool module is simply "sqlippool" and the pools are handled by radippool. After changing the update clauses from " expiry_time IS NULL" to " expiry_time = NULL" in ippool.conf mysql (with innodb on radippool) does not print errors anymore.
You're probably using an old version of the server.
> The assignment of ip addresses from ip pools dependent on realms works as expected.
That's good.
Alan DeKok.
More information about the Freeradius-Users
mailing list