host-identifier option agent.circuit-id BUG?

Denis Laventure Denis_Laventure at uqac.ca
Thu Jul 15 12:26:48 UTC 2010


I'm glad you found out the reason! Do I need to file a bug report?

Denis

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



More information about the dhcp-users mailing list