// This is an example configuration file for the DHCPv6 server of
// DHCPv4-over-DHCPv6 tests in Kea.

{

// DHCPv6 conf
"Dhcp6":
{
  "interfaces-config": {
// Enable unicast
    "interfaces": [ "eth0/2001:db8:1::1" ]
  },

  "lease-database": {
      "type": "memfile",
      "name": "kea-leases6.csv"
  },

  "preferred-lifetime": 3000,
  "valid-lifetime": 4000,
  "renew-timer": 1000,
  "rebind-timer": 2000,

  "subnet6": [
   {    "id": 1,
        "subnet": "2001:db8:1:1::/64",
        "interface": "eth0",
        "pools": [ { "pool": "2001:db8:1:1::1:0/112" } ] }
  ],

// This enables DHCPv4-over-DHCPv6 support
  "dhcp4o6-port": 6767,

// Required by DHCPv4-over-DHCPv6 clients
  "option-data": [
   {  "name": "dhcp4o6-server-addr",
      "code": 88,
      "space": "dhcp6",
      "csv-format": true,
// Put the server address here
      "data": "2001:db8:1:1::1" }
  ],

  "loggers": [
    {
      "name": "kea-dhcp6",
      "output_options": [
          {
            "output": "kea-dhcp6.log"
          }
      ],
      "severity": "DEBUG",
      "debuglevel": 0
    }
  ]
}

}
