kea_cfg_opt17

Example of configuration for option 17 (dhcp6_poolname_opt=2) for Kea DHCPv6:

  # Pool Description
  "client-classes": [
    { 
        "name": "test-ipv6-pool",
        "test": "vendor[43823].option[1].hex == 'test-ipv6-pool'",
            # In option-data you can set options common to this class
            "option-data": [
                {
                    "name": "dns-servers",
                    "space": "dhcp6",
                    "data": "2001:db8:2::dead:beef, 2001:db8:2::cafe:babe"
                }
            ]
    },
    # Description of other classes
    # ...
  ] # end of client-classes 
 
  # Setting pools
  "shared-networks": [
    {
    "name": "MyNetworks",
 
    # The pools are accessed on behalf of the relay
    "relay": {
        "ip-addresses": ["2001::1"]
    },
 
    "subnet6": [
        # test-ipv6-pool
        {
            "client-class": "test-ipv6-pool",
            "subnet": "2a02:100:1::/48",
 
            # IMPORTANT! Only a PD prefix with a length one less than the value of the 
            # of the ipv6_subnetmask parameter in fastdpi.conf (default value is 64).
            # SCAT itself splits this prefix into 2 ipv6_subnetmask lengths: the younger one
            # /64 subnet is given to the client, the older one is under the client prefix
            "pd-pools": [
                    {
                    "prefix": "2a02:100:1::",
                    "prefix-len":48,
                    "delegated-len": 63
                    }
            ]
        },
        # description of other pools
        # ...
    ] # end of subnet6
  ] # end of shared-networks