peer holds all free leases

Peter Rathlev peter at rathlev.dk
Tue Feb 21 10:56:16 UTC 2012


On Tue, 2012-02-21 at 00:27 -0500, Marion Bogdanov wrote:
> In a failover environment, anyone know how to fix the "peer holds all
> free leases" message in the logs while running dhcp-4.2.3-P2?

You forgot to describe the situation.

If only one server is active (in the "communications-interrupted" state)
then you have this "problem". It's by design. Either bring the other
server up again or place the remaining server in "partner-down" state.
This is described in the dhcpd.conf man page.

If you have a fragile setup and don't care about how well it runs, look
up the "auto-partner-down" option in the dhcpd.conf man page.

-- 
Peter





More information about the dhcp-users mailing list