regarding dhcpv6 option 68

Bill Shirley bill at c3po.polymerindustries.biz
Sat Jul 18 11:41:38 UTC 2020


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 at 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.htm>


More information about the dhcp-users mailing list