dhcpd.leases file does not get updated

This document (7009267) is provided subject to the disclaimer at the end of this document.

Environment

SUSE Linux Enterprise Server 11 Service Pack 1

Situation

On a number of DHCP servers at a customer site it was observed that the /var/lib/dhcp/db/dhcpd.leases file did not get updated, despite the fact that clients did get addresses from the server upon request.

Resolution

Investigation revealed a common denominator for all the IP addresses assignments, which were not recorded in dhcpd.leases. Each of them was defined in a fixed-address statement in /etc/dhcpd.conf.
The lease file is not used when handing out addresses that are fixed.

Fixed-address assignments are not considered leases by dhcpd and thus they are not recorded in dhcpd.leases. To the client it looks like a "normal" lease is allocated, but on the server the fixed-address clients go through a completely different code path. They do not go through the same lease allocation routines, so the lease is not recorded in dhcpd.leases. The ISC dhcpd has always worked like this.

Additional Information

To verify this, perform a DHCP request from client with an undefined MAC address that is connected to network served by the DHCP server. The lease information should then appear in dhcpd.leases (given of course a range has been configured).

Disclaimer

This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

  • Document ID:7009267
  • Creation Date: 31-Aug-2011
  • Modified Date:03-Mar-2020
    • SUSE Linux Enterprise Server

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

Join Our Community

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.


SUSE Customer Support Quick Reference Guide SUSE Technical Support Handbook Update Advisories
Support FAQ

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.

Go to Customer Center