Send dhcp-users mailing list submissions to
        dhcp-users@lists.isc.org

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.isc.org/mailman/listinfo/dhcp-users
or, via email, send a message with subject or body 'help' to
        dhcp-users-requ...@lists.isc.org

You can reach the person managing the list at
        dhcp-users-ow...@lists.isc.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of dhcp-users digest..."


Today's Topics:

   1. omshell reservation (Gregory Sloop)
   2. Re: regarding dhcpv6 option 68 (Bill Shirley)


----------------------------------------------------------------------

Message: 1
Date: Fri, 17 Jul 2020 15:02:09 -0700
From: Gregory Sloop <gr...@sloop.net>
To: dhcp-users@lists.isc.org
Subject: omshell reservation
Message-ID: <1426581772.20200717150...@sloop.net>
Content-Type: text/plain; charset="iso-8859-15"

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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<https://lists.isc.org/pipermail/dhcp-users/attachments/20200717/6ca264bb/attachment-0001.htm>

------------------------------

Message: 2
Date: Sat, 18 Jul 2020 07:41:38 -0400
From: Bill Shirley <b...@c3po.polymerindustries.biz>
To: dhcp-users@lists.isc.org
Subject: Re: regarding dhcpv6 option 68
Message-ID:
        <f78472cf-97bd-a59c-6931-a07c8f4ca...@c3po.polymerindustries.biz>
Content-Type: text/plain; charset="utf-8"; Format="flowed"

What does "its not working" mean?? It doesn't get a lease?? It gets the wrong 
lease?

Looks like your 'match if' is incorrect.? It should be *substring (/data-expr*, 
/offset*, /length*). */*/*/*Can you try:
 ? match if substring*(**v6relay(1, option dhcp6.vss)*, *1*, *5**)*= "test1";

Bill

On 7/16/2020 5:40 PM, kaushik roy wrote:
> Hi ,
>
> I want to configure a dhcpv6 pool, which will assign ip addresses based on 
> option 68 field . I tried the below configuration 
> but its?not working for me. Please guide me to configure dhcpv6 pool.
>
> In below config "test1" is the client vrf .
>
> class "vrftest1" {
> ? ? ? ?match if substring (v6relay(1, option dhcp6.vss) = "test1");
> }
> subnet6 2001:0:0:2::/64 {
> ? ?pool6 {
> ? ? ?allow members of "vrftest1";
> ? ? ?range6 2001:0:0:2::20 2001:0:0:2::200;
> }
> }
>
> _______________________________________________
> 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@lists.isc.org
> https://lists.isc.org/mailman/listinfo/dhcp-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<https://lists.isc.org/pipermail/dhcp-users/attachments/20200718/53394eaf/attachment-0001.htm>

------------------------------

Subject: Digest Footer

_______________________________________________
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@lists.isc.org
https://lists.isc.org/mailman/listinfo/dhcp-users


------------------------------

End of dhcp-users Digest, Vol 141, Issue 6
******************************************

Reply via email to