Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have a DHCP server that serves leases to several houndred, maybe up to a thousand, different clients on an average day. The pool consists of 242 IPs, and due to the highly dynamic nature of the network, it's enough 99% of the time (most devices are gone from the network in a few minutes), despite having a lease time of 3600.

Now, imagine if more clients than that connect to the network during an hour. The sollution is obvious: Decrease lease time, or increase the DHCP pool, however, what i would like to know: What happens when dhcpd has exhausted the pool? Are new DHCP requests simply ignored?

share|improve this question

2 Answers 2

up vote 3 down vote accepted

Your system will simply stop assigning IP addresses once the leases have been exhausted. This will also be reflected in the DHCP server's /var/log/messages. E.g. "No free leases".

DHCPDISCOVER from 00:40:ee:40:38:f8 via eth0: network 10.1.1.0/24: no free leases

On the device side, they will either get 0.0.0.0 or self-assigned 169.x.x.x addresses...

Is expanding your subnet an option?

share|improve this answer
    
plenty of options, that being one of them. It's not a realy problem, i would just prefer to know what the result would if no action was taken. –  Jarmund Sep 11 '12 at 20:32

If your DHCP pool has been exhausted then your server will stop giving out addresses - it will not use up the oldest unused lease.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.