host-identifier option agent.circuit-id BUG?

Denis Laventure Denis_Laventure at uqac.ca
Wed Jul 14 19:34:53 UTC 2010


Hi,

I am trying to assign a fixed IP address using option-82 with this new feature of 4.2.0 (using the latest 4.2.0rc1):

host computer1        { host-identifier option agent.circuit-id 0:4:1:2:1:3;  fixed-address 172.17.8.64; }

Everything works well in my test, except that I had a problem today and I can't quite understand it (a bug?).

If I try several PCs in my switch ports,  I always get the correct IP based on my option-82. But with one PC, I was never able to get an IP on any port.

In my log I had this message for this PC:

Jul 14 14:54:19 dnsa dhcpd: DHCPDISCOVER from 00:1c:25:95:1d:7a via 172.17.8.1: network 172.17.8.0/24: no free leases
Jul 14 14:54:24 dnsa dhcpd: DHCPDISCOVER from 00:1c:25:95:1d:7a via 172.17.8.1: network 172.17.8.0/24: no free leases
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

I finally found how to get this PC to work. It had a static host entry in my config for another network :

host pyle                        { hardware ethernet 00:1c:25:95:1d:7a; fixed-address 10.30.32.19; }

I commented this line in the config and then I was able to get an IP with option-82...

Jul 14 14:57:16 dnsa dhcpd: DHCPDISCOVER from 00:1c:25:95:1d:7a via 172.17.8.1
Jul 14 14:57:16 dnsa dhcpd: DHCPOFFER on 172.17.8.64 to 00:1c:25:95:1d:7a via 172.17.8.1
Jul 14 14:57:16 dnsa dhcpd: DEBUG: Lease for 172.17.8.64 raw option-82 info is CID: 0:4:1:2:1:3 AID: 0:6:0:18:18:75:b5:80
Jul 14 14:57:16 dnsa dhcpd: DHCPREQUEST for 172.17.8.64 (192.168.10.10) from 00:1c:25:95:1d:7a via 172.17.8.1
Jul 14 14:57:16 dnsa dhcpd: DHCPACK on 172.17.8.64 to 00:1c:25:95:1d:7a via 172.17.8.1

I know a PC with a host statement in the config is a "known client", and I can control the IP assignement in a pool { } option in a subnet with this, but how can I tell my "fixed" host statement to "allow all clients" ?

Here's my basic subnet config:

subnet 172.17.8.0 netmask 255.255.255.0 {
        option subnet-mask 255.255.255.0;
        option broadcast-address 172.17.8.255;
        option routers 172.17.8.1;
}

Thanks,
Denis Laventure

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20100714/87d545c0/attachment.html>


More information about the dhcp-users mailing list