leasequery help!

Ray O'Leary r.oleary at hsdatasolutions.com
Wed Mar 14 09:34:37 UTC 2007


Dear Shane,
	Thanks so much for the great assist. I was looking at
http://marc.theaimsgroup.com/?l=dhcp-server&m=106684684729418&w=2
	that has LEASEQUERY=13!

	I'll try this and let you know.
regards,
Ray.


-----Original Message-----
From: dhcp-users-bounce at isc.org [mailto:dhcp-users-bounce at isc.org]On
Behalf Of Shane Kerr
Sent: Wednesday, March 14, 2007 9:10 AM
To: dhcp-users at isc.org
Subject: Re: leasequery help!


-----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