Delegated-IPv6-Prefix & sqlippool

Arran Cudbard-Bell a.cudbardb at
Thu Jun 29 00:40:53 CEST 2017

> On 28 Jun 2017, at 17:13, Alan DeKok <aland at> wrote:
> On Jun 28, 2017, at 4:28 PM, maxime.gerges at wrote:
>> I am currently checking for the possibility of using the sqlippool module to assign dynamically delegated IPv6 Prefixes.
>> I found out that there is an option in the module to activate the IPv6 support and start assigning IPv6 address as well as traditional IPv4, but this option is only handling the creation of reply attribute 'Framed-IPv6-Prefix'.
>> From the module's code on github, I also confirm that sqlippool doesn't seem to be ready to handle Delegated-IPv6-Prefix attribute.
>  Yes, it really only does IP assignment.
>> Does anybody know if this option might be interesting to be integrated in the code ? Is there any plan to add such option ?
>  We're always interested in new code and new functionality.  There's no plan for us to add it, as we're busy working on the v4 re-architecture.
>> For information we are currently assigning Delegated IPv6 prefixes to customer thanks to an entry per customer in the radreply table and are copying the job of the sqlippool in an algorithm outside of the radius server.
>  That works, but is imperfect.
>> We do have a pool of available prefixes in an external database - when a customer subscribes we are picking up a prefix and populate it in the radreply - when the customer unsubscribe we are deleting the radreply entry and make the prefix available again in our external database.
>  It may be better to write a new module.  Just copy the sqlippool, and make a new one which is better-suited for Delegated-IPv6-prefixes.

Though such a major change should not be merged into v3.0.x.  Just making the output attribute selectable is a relatively small patch and probably much easier.

They’re both v6 prefix types, so there’s no advantage in duplicating all that logic.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <>

More information about the Freeradius-Users mailing list