Getting Peer hold all free leases

Kraishak Mahtha kraishak.edu at gmail.com
Tue Aug 17 12:11:16 UTC 2021


Hi,
I am using ISC DHCP in primary and failover mode and I am getting issue
that clients are not getting leases and when I checked for the service logs
I see as
Primary Logs:
==========
Aug 17 17:15:48 dhcp1 dhcpd[12130]: balancing pool f6f5f0 192.168.56.0/24
 total 50  free 0  backup 0  lts 0  max-own (+/-)0
Aug 17 17:15:48 dhcp1 dhcpd[12130]: balanced pool f6f5f0 192.168.56.0/24
 total 50  free 0  backup 0  lts 0  max-misbal 0
Aug 17 17:15:48 dhcp1 dhcpd[12130]: peer peer-host: Got POOLREQ, answering
negatively!  Peer may be out of leases or database inconsistent.

Failover Logs
==========
Aug 17 17:14:48 dhcp2 dhcpd[1902]: balancing pool bf05b0 192.168.56.0/24
 total 50  free 50  backup 0  lts -25  max-own (+/-)5  (requesting peer
rebalance!)
Aug 17 17:14:48 dhcp2 dhcpd[1902]: balanced pool bf05b0 192.168.56.0/24
 total 50  free 50  backup 0  lts -25  max-misbal 8
 pool response: 0 leases

I tried searching the forums and many of them suggested that there might be
inconsistency between the configuration file and leases database, I cross
verified the configs they are good and regarding the leases file can we
manually do any operation to make them in sync ?

I tried checking the status of the primary and failover in the lease file
but they are in normal-normal,
cat dhcpd.leases | egrep "my state|partner state" | tail -2
  my state normal at 2 2021/08/17 16:41:09;
  partner state normal at 2 2021/08/17 17:01:17;

Has anyone faced a similar issue/Any suggestions of how to fix the issue,
Can we manually send requests for the DHCP service to do the pool balance
and sync the leases for that specific subnet ?


Any help/suggestion would be much appreciated
Thanks
Kraishak
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20210817/e9064dd4/attachment.htm>


More information about the dhcp-users mailing list