Need help with LEASEQUERY..

Jeffrey Hutzelman jhutz at cmu.edu
Fri Jun 18 05:46:04 UTC 2010


--On Friday, June 11, 2010 04:42:53 PM -0500 Pat Winn <ptwinn at cimtel.net> 
wrote:

>
> Also, is there any way to have it send back any user
> options set in the dhcpd.conf which show up in the
> lease file?
>
> For example, I have put into each of my network stanzas:
>
> set myLocation = "<some network location>"
>
> In the leases file, it gets added to the lease as:
>
> set myLocation = "<some network location>"
>
> Any way to ask for that information to be sent back
> as part of the lease query response? I know the server
> knows about it, but I see nothing in any docs about
> how to try and retrieve it?

No; that's internal server state and there is no way to query it via the 
DHCP protocol, short of configuring the server to expose it as an option 
value.

-- Jeffrey T. Hutzelman (N3NHS) <jhutz+ at cmu.edu>
   Carnegie Mellon University - Pittsburgh, PA




More information about the dhcp-hackers mailing list