omshell reservation

glenn.satchell at uniq.com.au glenn.satchell at uniq.com.au
Mon Jul 20 01:12:27 UTC 2020


Great sleuthing there Greg. omshell typically writes something into the 
leases file, so have a look for the *last* record for the given IP 
address and see what is in it, especially compared to earlier ones.

regards,
-glenn

On 2020-07-18 08:02, Gregory Sloop wrote:
> I'm trying to accomplish a "reservation" using omshell.
> 
> But just like Unicorns, Santa, and the Easter Bunny, I'm not sure it
> really exists!
> Ok, ok. Yeah, it probably does - but I can't find an example anywhere
> that's confirmed to work.
> 
> This quote from long ago summarizes my feelings so far. [probably
> nearly everyone's, actually]
> 
>> involves a rather fragile and often misbehaving omshell
>> process where the only "documentation" is half a mailing list thread
>> from ten years ago
> 
> So, from what I've gleaned, this is what I'm doing.
> After you get into omshell
> ---
> port xxx
> server localhost
> key...
> set ip-sddress=1.2.3.4
> open
> ---
> 
> I get a listing of the lease for 1.2.3.4
> Then it looks like I should use
> set flag = 8
> update
> [And surprisingly the update takes. It feels like magic when you
> finally hit on the right incantation!]
> 
> So, my questions
> 1) Is setting flags = 8 the right thing to set for a reserved lease?
> (I'm guessing from that even less than half a thread from 10y ago.)
> 
> 2) How can I tell if it actually took?
> 
> 3) And perhaps realated to #2 - what's this mean in the lease: set
> remote-handle = %3; (I see that after setting flag = 8
> 
> TIA
> -Greg
> _______________________________________________
> ISC funds the development of this software with paid support
> subscriptions. Contact us at https://www.isc.org/contact/ for more
> information.
> 
> dhcp-users mailing list
> dhcp-users at lists.isc.org
> https://lists.isc.org/mailman/listinfo/dhcp-users


More information about the dhcp-users mailing list