<html><head><title>Re: omshell reservation</title>
<meta charset="utf-8" http-equiv="X-UA-Compatible" content="IE=9; IE=8; IE=7; IE=EDGE" />
</head>
<body>
<span style=" font-family:'Courier New'; font-size: 9pt;">Still struggling with this.<br>
<br>
Perhaps I wasn't clear, but question #3 was about what I see in the leases file.<br>
<br>
After the lease is expired, here's what I find in the leases file.<br>
---<br>
lease 10.8.20.229 {<br>
starts 5 2020/07/17 22:42:54;<br>
ends 5 2020/07/17 22:42:52;<br>
tstp 5 2020/07/17 22:42:54;<br>
tsfp 5 2020/07/17 22:42:54;<br>
atsfp 5 2020/07/17 22:42:54;<br>
cltt 5 2020/07/17 18:42:52;<br>
binding state backup;<br>
hardware ethernet 98:01:a7:ff:ff:ff;<br>
uid "\000\000\000\000\000\000";<br>
set remote-handle = %3;<br>
set vendor-class-identifier = "MSFT 5.0";<br>
}<br>
<br>
---<br>
<br>
The only thing that I noticed that changed after setting flags was the<br>
set remote-handle = %3;<br>
And I can't find any detail about what "remote-handle" is.<br>
Does it even apply to reservations?<br>
<br>
TIA<br>
-Greg<br>
<br>
<br>
<span style=" color: #800000;"><b>gsuca> Great sleuthing there Greg. omshell typically writes something into the<br>
gsuca> leases file, so have a look for the *last* record for the given IP<br>
gsuca> address and see what is in it, especially compared to earlier ones.<br>
<br>
gsuca> regards,<br>
gsuca> -glenn<br>
<br>
gsuca> On 2020-07-18 08:02, Gregory Sloop wrote:<br>
>> I'm trying to accomplish a "reservation" using omshell.<br>
<br>
>> But just like Unicorns, Santa, and the Easter Bunny, I'm not sure it<br>
>> really exists!<br>
>> Ok, ok. Yeah, it probably does - but I can't find an example anywhere<br>
>> that's confirmed to work.<br>
<br>
>> This quote from long ago summarizes my feelings so far. [probably<br>
>> nearly everyone's, actually]<br>
<br>
>>> involves a rather fragile and often misbehaving omshell<br>
>>> process where the only "documentation" is half a mailing list thread<br>
>>> from ten years ago<br>
<br>
>> So, from what I've gleaned, this is what I'm doing.<br>
>> After you get into omshell<br>
>> ---<br>
>> port xxx<br>
>> server localhost<br>
>> key...<br>
>> set ip-sddress=1.2.3.4<br>
>> open<br>
>> ---<br>
<br>
>> I get a listing of the lease for 1.2.3.4<br>
>> Then it looks like I should use<br>
>> set flag = 8<br>
>> update<br>
>> [And surprisingly the update takes. It feels like magic when you<br>
>> finally hit on the right incantation!]<br>
<br>
>> So, my questions<br>
>> 1) Is setting flags = 8 the right thing to set for a reserved lease?<br>
>> (I'm guessing from that even less than half a thread from 10y ago.)<br>
<br>
>> 2) How can I tell if it actually took?<br>
<br>
>> 3) And perhaps realated to #2 - what's this mean in the lease: set<br>
>> remote-handle = %3; (I see that after setting flag = 8<br>
<br>
>> TIA<br>
>> -Greg<br>
>> _______________________________________________<br>
>> ISC funds the development of this software with paid support<br>
>> subscriptions. Contact us at </b></span></span><a style=" font-family:'courier new'; font-size: 9pt;" href="https://www.isc.org/contact/">https://www.isc.org/contact/</a><span style=" font-family:'courier new'; font-size: 9pt; color: #800000;"><b> for more<br>
>> information.<br>
</body></html>