DHCP server: no entry in dhcpd.leases when using host statements

Daniel Manser doenle85 at gmail.com
Tue Jan 26 14:12:52 UTC 2010


Hello List

I'm using DHCP 4.1.1 in a network with dynamic and static ip
addresses. Static IPs are configured like:

    host fwdaniel {
        hardware ethernet 02:09:0f:72:6c:34;
        fixed-address 10.0.0.43;
}

The devices are behind a switch which acts as a dhcp relay and appends
option 82 (agent.remote-id) data.

My problem is that I have no information in the server leases file for
such host entries. For dynamic configurations, DHCPD appends this info
to the leases file:

# Dynamic IP lease
    lease 10.0.3.14 {
      starts 2 2010/01/26 03:46:16;
      ends 3 2010/01/27 03:46:16;
      tstp 3 2010/01/27 03:46:16;
      cltt 2 2010/01/26 03:46:16;
      binding state active;
      next binding state free;
      hardware ethernet 00:xx:xx:xx:xx:xx;
      uid "\001\000\036i\356!=";
      set test = "\000\036i\356!<";
      option agent.circuit-id 0:9e:0:41;
      option agent.remote-id 0:xx:xx:xx:xx:xx;
    }

Is there a way to enable this for host entries?

Thanks
Daniel



More information about the dhcp-users mailing list