Does anyone know which structure store the options value in the config file?
chengy.fan at gmail.com
Wed Mar 21 16:44:14 UTC 2012
Thanks for the quick response.
What I am going to do is the third level: Properly allocate individual
values for clients from a pool, so that each value is used for only one
client. I think it is similar with IP allocation, but what I want to do is
using dynamical option value.
On Wed, Mar 21, 2012 at 1:54 AM, Hans Liss <Hans at liss.pp.se> wrote:
> This list is not really a list for developers and code modders, but you
> should take a look at common/options.c and common/execute.c at the very
> least. However, I'm a bit concerned that this may turn out to be somewhat
> tricky for you, if you couldn't find that out on your own.
> What you are suggesting sounds interesting, though. What is it you want to
> achieve with this pooling, more exactly?
> There are at least three distinct levels of complexity here. Are you going
> * Hand out option values randomly to each client without keeping track of
> them on the server
> * Keep track of the value selected for each client but allow each value to
> be used for several clients
> * Properly allocate individual values for clients from a pool, so that
> each value is used for only one client
> Best regards,
> On 20 mar 2012, at 19:11, Chengyu Fan wrote:
> > Hi~
> > 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?
> > Thanks,
> > --
> > Regards,
> > Chengyu Fan
> > _______________________________________________
> > dhcp-users mailing list
> > dhcp-users at lists.isc.org
> > https://lists.isc.org/mailman/listinfo/dhcp-users
> dhcp-users mailing list
> dhcp-users at lists.isc.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the dhcp-users