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

{

// DHCPv4 conf
"Dhcp4":
{
  "interfaces-config": {
    "interfaces": [ "eth0" ]
  },

  "lease-database": {
      "type": "memfile",
      "name": "kea-leases4.csv",
      "lfc-interval": 3600
  },

  "valid-lifetime": 4000,

  "subnet4": [
   {
        "id": 100,
        "subnet": "10.10.10.0/24",
// Don't forget the "4o6-" before "interface" here!
        "4o6-interface": "eth0",
        "4o6-subnet": "2001:db8:1:1::/64",
        "pools": [ { "pool": "10.10.10.100 - 10.10.10.199" } ] }
  ],

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

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

}
