<div dir="ltr"><div>Hi.</div><div><br></div><div>I have a question regarding valid leases.</div><div>Let's say DHCP server is configured with a host entry using a custom DHCP option with some predefined value, like:</div><div><br></div><div>host host1 {<br>   hardware ethernet 00:01:02:03:04:05;<br>   option my-net-opt "host1_net_opt"; }</div><div><br></div><div>After host1 gets this lease and recognizes the option the lease is valid for (let's say) 10 days.</div><div><br></div><div>Now I reconfigure DHCP server by changing option value for that host, like:</div><div><br></div><div>
host host1 {<br>   hardware ethernet 00:01:02:03:04:05;<br>   option my-net-opt "host1_net_opt_new"; } <br></div><div><br></div><div>and restart the DHCP server.</div><div><br></div><div>What I am experiencing is that if host1 requests a new lease (after restart or renew) while the old one is still valid, it gets the same old lease with the old option value.</div><div><br></div><div>My questions are:</div><div>1. Is this expected behaviour or am I doing something wrong?</div><div>2. If this is how it works is there a way to somehow invalidate that old lease to force the server to create a new one with a new option value?</div><div><br></div><div>Thank you very much.</div><div>Any help would be highly appreciated.</div><div><br></div><div>RegK<br></div></div>