leasequery help!

Shane Kerr Shane_Kerr at isc.org
Wed Mar 14 09:10:29 UTC 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Ray,

Ray O'Leary wrote:
> Hi, I have just started some testing of dhcpd version 3.1.0a3, as I need a
> dhcp server that supports leasequery functionality. It seems that version
> 3.0.5 does not support leasequery ? Right now the server appears to ignore
> leasequery requests. I can see the request in Ethereal with Option 53 =
> 0x010d and I have included a global "allow leasequery;" in the dhcpd.conf.
> But the server does not reply, nor can I see any sign of the request in the
> trace file. Any help much appreciated. Ray.

I think the answer is in the question. :)

If Option 53 = 0x010d, this means that the message type is DHCPLEASEACTIVE, not
DHCPLEASEQUERY. From RFC 4388:

                        Value   Message Type
                         -----   ------------
                           10    DHCPLEASEQUERY
                           11    DHCPLEASEUNASSIGNED
                           12    DHCPLEASEUNKNOWN
                           13    DHCPLEASEACTIVE

You didn't say what software was issuing the LEASEQUERY, but my guess is that is
the problem.

For the rest of your message:

- - Yes, you need 3.1 because LEASEQUERY support was not added until then.

- - Even if you don't enable LEASEQUERY, you will still see log messages on the
server (which will report that the message is ignored). These are sent to syslog
at a level LOG_INFO.

- --
Shane
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFF97wEMsfZxBO4kbQRAlVmAJ9WzmSbfI21a6SZiv1ydSNhaI5fwACfWESu
itKY1doldZeD1pTwBnGqAwU=
=cnut
-----END PGP SIGNATURE-----


More information about the dhcp-users mailing list