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