host-identifier option agent.circuit-id BUG?

David W. Hankins dhankins at isc.org
Wed Jul 14 22:38:57 UTC 2010


On Wed, Jul 14, 2010 at 03:34:53PM -0400, Denis Laventure wrote:
> host computer1        { host-identifier option agent.circuit-id 0:4:1:2:1:3;  fixed-address 172.17.8.64; }
> 
> Jul 14 14:54:32 dnsa dhcpd: DHCPDISCOVER from 00:1c:25:95:1d:7a via 172.17.8.1: network 172.17.8.0/24: no free leases
> 
> host pyle                        { hardware ethernet 00:1c:25:95:1d:7a; fixed-address 10.30.32.19; }

This looks like a bug to me, you're failing to enter this condition
so that the search for the host-identifier based lookup can be
performed;

        if (!fixed_lease && !host) {

Because the 'host' pointer is filled with the 'hardware ethernet' host
record from before, the code never checks the host-identifier table.

-- 
David W. Hankins	"If you don't do it right the first time,
Software Engineer		     you'll just have to do it again."
Internet Systems Consortium, Inc.		-- Jack T. Hankins
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20100714/afd52ecf/attachment.bin>


More information about the dhcp-users mailing list