DHCP + sqlpippol test, v2.1.x
Fajar A. Nugraha
list at fajar.net
Tue Jan 17 09:22:38 CET 2012
Hi,
I'm testing some modifications to make DHCP able to allocate dynamic
IP address using sqlippool. It's only tested with one client, but it
should be able to assign dynamic IP address (smallest ip address
first, due to sorting). The modification is purely config files
addition/modification, no source code change. Current version is here:
https://github.com/fajarnugraha/freeradius-server/commit/8af7142
Static IP allocation SHOULD also be possible by having expiration time
far in the future (e.g. 2100-01-01 00:00:00) on radippool table, and
modifying the query to NOT overwrite the expiration time on that
scenario. This hasn't been implemented though.
Any thoughts on these changes? Perhaps there a simpler way to implement it.
--
Fajar
More information about the Freeradius-Devel
mailing list