<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Sep 17, 2014, at 10:35 AM, Mark Wagner wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr"><div>When converting a single dhcp server to a failover configuration a large number backup leases were added to dhcpd.leases.</div><div><br></div><div>Here is the config:</div><div><br></div><div><div>subnet 10.63.0.0 netmask 255.255.0.0 {</div><div>  filename "/pxelinux.0";</div><div>  next-server 10.60.0.107;</div><div>  option subnet-mask 255.255.0.0;</div><div>  option routers 10.63.0.1;</div><div>  pool {</div><div>    failover peer "dhcp-failover";</div><div>    range 10.63.128.1 10.63.255.254;</div><div>  }</div><div>}</div></div><div><br></div><div>The leases start around 10.63.191.100 and go to 10.63.255.255. An example lease is</div><div><br></div><div> lease 10.63.191.171 {</div><div>  starts 1 2014/09/15 23:06:08;</div><div>  tstp 1 2014/09/15 23:06:08;</div><div>  tsfp 1 2014/09/15 23:06:08;</div><div>  atsfp 1 2014/09/15 23:06:08;</div><div>  binding state backup;</div><div>}</div><div><br></div><div>Is this normal? It didn't seem to happen for other subnets.</div></div></blockquote><div><br></div>A binding state of backup means that they are available for the secondary to hand out.</div><div><br></div><div>When you have a pool being served by both peers of a failover relationship the currently</div><div>unused leases are split between the two to provide better responses.  The backup tag</div><div>is how the servers indicate this in the lease file.  </div><div><br></div><div>You should be seeing some leases in the backup state for all pools that are declared to</div><div>be part of a failover relationship.</div><div><br></div><div><blockquote type="cite"><div dir="ltr"><div><br></div><div>How can I safely remove these leases?</div></div></blockquote><div><br></div>No</div><div><br><blockquote type="cite"><div dir="ltr"><div><br></div><div><br></div>-- <br>Mark Wagner <<a href="mailto:mark@lanfear.net">mark@lanfear.net</a>>
</div>
_______________________________________________<br>dhcp-users mailing list<br><a href="mailto:dhcp-users@lists.isc.org">dhcp-users@lists.isc.org</a><br>https://lists.isc.org/mailman/listinfo/dhcp-users</blockquote></div><br><div>Shawn Routhier</div><div>ISC</div></body></html>