<div dir="ltr">After the recent discussion of reserved leases, I decided to try this out in our environment and do a test with omshell. To my chagrin, I've played with this all night and am no further along than I was. I'm running isc-dhcpd-4.2.5, by the way.<div><br></div><div>Here's what I'm doing:</div><div><br></div><div> - enter omshell; give a server and key and connect.</div><div> - new lease</div><div> - set ip-address = 10.199.67.214</div><div> - open</div><div><br></div><div>At this point I get the object attributes, which include state = 00:00:00:02 (meaning it's an active lease). I should be able to mark this as reserved, right? But how do I actually do that?</div><div><br></div><div>The man page for dhcpd, under LEASES, says:</div><div><div> Leases have the following attributes:</div></div><div><br></div><div> state integer lookup, examine</div><div> 1 = free</div><div> 2 = active</div><div> 3 = expired</div><div> 4 = released</div><div> 5 = abandoned</div><div> 6 = reset</div><div> 7 = backup</div><div> 8 = reserved</div><div> 9 = bootp</div><div> </div><div>This makes me think that reserved is an attribute of state, thus:</div><div><div> - set state = 9 ; update</div><div> - set state = 00:00:00:09 ; update</div></div><div><br></div><div>But I just get "can't update object: invalid argument" when I try to update. </div><div><br></div><div>A desperate bit of googling led me to <a href="https://lists.isc.org/pipermail/dhcp-users/2008-June/006519.html">https://lists.isc.org/pipermail/dhcp-users/2008-June/006519.html</a>, so I tried </div><div> - set flags = 04:00:00:00</div><div>but that just crashed dhcpd for me.</div><div><br></div><div>I'm clearly missing something and I'm sure it's obvious, but right now I'm at sea. Anyone actually done this?</div><div><div><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><br>-Frank<br></div><div>--<br></div><br></div></div></div></div></div></div></div></div></div>
</div></div>