<div dir="ltr">Hi Glenn,<div><br></div><div>I tried checking with tcpdump command to make sure traffic is able to communicate initially, But again as recommended I checked with telnet command as well</div><div><br></div><div>From primary:<br>==========  <br>command used:  /usr/bin/telnet 192.168.56.178 647<br>Trying 192.168.56.178...<br>Connected to 192.168.56.178.<br>Escape character is '^]'.<br><br></div><div>From failover</div><div>=========</div><div>/usr/bin/telnet 192.168.56.156 647<br>Trying 192.168.56.156...<br>Connected to 192.168.56.156.<br>Escape character is '^]'.<br></div><div><br></div><div>I hope this means the ports are able to communicate each other, Please correct me If I am wrong in understanding this output</div><div><br></div><div>I also tried checking netstat to check port status</div><div>From Primary<br>===========</div><div>netstat -tulpna | grep 647<br>tcp        0      0 <a href="http://192.168.56.156:647">192.168.56.156:647</a>      0.0.0.0:*               LISTEN      8599/dhcpd<br>tcp        0      0 <a href="http://192.168.56.156:47907">192.168.56.156:47907</a>    <a href="http://192.168.56.178:647">192.168.56.178:647</a>      ESTABLISHED 8599/dhcpd<br></div><div><br></div><div>From Failover <br>==========</div><div>netstat -tulpna | grep 647<br>tcp        0      0 <a href="http://192.168.56.178:647">192.168.56.178:647</a>      0.0.0.0:*               LISTEN      7574/dhcpd<br>tcp        0      0 <a href="http://192.168.56.178:647">192.168.56.178:647</a>      <a href="http://192.168.56.156:47907">192.168.56.156:47907</a>    ESTABLISHED 7574/dhcpd<br></div><div><pre style="white-space:pre-wrap;color:rgb(0,0,0)">not blocked by any firewalls</pre><pre style="white-space:pre-wrap;color:rgb(0,0,0)">------> I don't have a firewall setup between the servers</pre></div><div><pre style="white-space:pre-wrap;color:rgb(0,0,0)">Could you post the failover clause from dhcpd.conf from both servers?</pre><pre style="white-space:pre-wrap;color:rgb(0,0,0)">----> yes I did shared already in the thread,</pre><pre style="white-space:pre-wrap;color:rgb(0,0,0)">Failover section from primary config</pre><div><font color="#202124" face="Roboto, RobotoDraft, Helvetica, Arial, sans-serif"><span style="font-size:14px;letter-spacing:0.2px;white-space:nowrap">=========================</span></font></div><div>failover peer "peer-host" {<br>        primary;<br>        address 192.168.56.156;<br>        port 647;<br>        peer address 192.168.56.178;<br>        peer port 647;<br>        max-response-delay 30;<br>        max-unacked-updates 30;<br>        load balance max seconds 3;<br>        mclt 1800;<br>        split 128;<br>}</div></div><div><br></div><div><div>Failover section from failover config</div><div>======================</div><div>failover peer "peer-host" {<br>        secondary;<br>        address 192.168.56.178;<br>        port 647;<br>        peer address 192.168.56.156;<br>        peer port 647;<br>        max-response-delay 30;<br>        max-unacked-updates 30;<br>        load balance max seconds 3;<br>}</div></div><div><br></div><div> </div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Aug 18, 2021 at 10:51 AM Kraishak Mahtha <<a href="mailto:kraishak.edu@gmail.com">kraishak.edu@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Question to ISC Team,<div><br></div><div>Can we manually send a request for the DHCP server from externally to do the pool balance for a specific subnet? or sent a force parameter in send request to balance specific subnet</div><div><br></div><div>Thanks </div><div>Kraishak</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Aug 17, 2021 at 5:41 PM Kraishak Mahtha <<a href="mailto:kraishak.edu@gmail.com" target="_blank">kraishak.edu@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi,<div>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<br>Primary Logs:<div>==========<br>Aug 17 17:15:48 dhcp1 dhcpd[12130]: balancing pool f6f5f0 <a href="http://192.168.56.0/24" target="_blank">192.168.56.0/24</a>  total 50  free 0  backup 0  lts 0  max-own (+/-)0<br>Aug 17 17:15:48 dhcp1 dhcpd[12130]: balanced pool f6f5f0 <a href="http://192.168.56.0/24" target="_blank">192.168.56.0/24</a>  total 50  free 0  backup 0  lts 0  max-misbal 0<br>Aug 17 17:15:48 dhcp1 dhcpd[12130]: peer peer-host: Got POOLREQ, answering negatively!  Peer may be out of leases or database inconsistent.<br></div><div><br></div><div>Failover Logs<br>==========</div><div>Aug 17 17:14:48 dhcp2 dhcpd[1902]: balancing pool bf05b0 <a href="http://192.168.56.0/24" target="_blank">192.168.56.0/24</a>  total 50  free 50  backup 0  lts -25  max-own (+/-)5  (requesting peer rebalance!)<br>Aug 17 17:14:48 dhcp2 dhcpd[1902]: balanced pool bf05b0 <a href="http://192.168.56.0/24" target="_blank">192.168.56.0/24</a>  total 50  free 50  backup 0  lts -25  max-misbal 8<br> pool response: 0 leases<br></div><div><br></div><div>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 ?</div><div><br></div><div>I tried checking the status of the primary and failover in the lease file but they are in normal-normal,</div>cat dhcpd.leases | egrep "my state|partner state" | tail -2<br>  my state normal at 2 2021/08/17 16:41:09;<br>  partner state normal at 2 2021/08/17 17:01:17;<br><div><br></div><div>Has anyone faced a similar issue/Any suggestions of how to fix the issue, </div><div>Can we manually send requests for the DHCP service to do the pool balance and sync the leases for that specific subnet ?</div><div><br></div><div><br></div><div>Any help/suggestion would be much appreciated<br>Thanks<br></div><div>Kraishak</div><div><br></div><div><br></div></div></div>
</blockquote></div>
</blockquote></div>