Does anyone know which structure store the options value in the config file?
alex at alex.org.uk
Wed Mar 21 09:32:34 UTC 2012
--On 20 March 2012 12:11:55 -0600 Chengyu Fan <chengy.fan at gmail.com> wrote:
> I am trying to modify the isc dhcp code to support dynamical allocation
> of an private option, like IP address pool. But it seems like that all
> other options are static. So I want to learn from the IP allocation, and
> let dhcp server do the allocation dynamically when he receives a request
> about the option from clients.
> Does anyone know which structure store the options value in the config
> file? And which function handles the IP allocation?
You could look at the approach taken by the LDAP work, and my SQL
patch (based on the LDAP stuff). These take the MAC address etc.
and make a database query, which is capable of return arbitrary
More information about the dhcp-users