Match dhcp6.remote-id to CLASS

Jose Jr. Catubigan jlcatubiganjr at gmail.com
Thu Jul 6 01:50:43 UTC 2017


Hi,

We want to match option dhcp6.remote-id to CLASS. Below are our not working
configuration.
CPE gets the ip from fallback pool.

-----------------------------------------------------------------------------------------------------------
authoritative;
log-facility local6;

log (info, concat("CPE Normal Lease: ",
binary-to-ascii(16,16,":",substring(option dhcp6.ia-na, 16, 16))));

# IPv6 CPE Class
class "CPE.v6" {match option dhcp6.remote-id;}

subclass "CPE.v6" 08:80:39:AC:C9:C0;

shared-network lab-cpe {
        subnet6 2001:d800:4010::/48 {
                deny unknown-clients;
                option dhcp6.name-servers 2001:d800:1000:1::2;
                default-lease-time 3600;
                max-lease-time 3600;
                        # CPE.v6
                        pool6 {
                                range6 2001:d800:4010::2 2001:d800:4010::10;
                                allow members of "CPE.v6";
                        }

                        # Fallback pool
                        pool6 {
                                range6 2001:d800:4010::11
2404:3c00:4010::20;
                        }
-----------------------------------------------------------------------------------------------------------

Thanks in advance,
--joecat--
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20170706/2672bded/attachment.html>


More information about the dhcp-users mailing list