Delegated-IPv6-Prefix & sqlippool
aland at deployingradius.com
Wed Jun 28 23:13:46 CEST 2017
On Jun 28, 2017, at 4:28 PM, maxime.gerges at ariane.network 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.
More information about the Freeradius-Users