dhcpv4-over-dhcpv6.json 1.07 KB
Newer Older
1 2
// This is an example configuration file for the DHCPv6 server of
// DHCPv4-over-DHCPv6 tests in Kea.
Francis Dupont's avatar
Francis Dupont committed
3 4 5

{

6
// DHCPv6 conf
Francis Dupont's avatar
Francis Dupont committed
7 8 9
"Dhcp6":
{
  "interfaces-config": {
10
// Enable unicast
Francis Dupont's avatar
Francis Dupont committed
11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
    "interfaces": [ "eno33554984/2001:db8:1:1::1" ]
  },

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

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

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

30
// This enables DHCPv4-over-DHCPv6 support
Francis Dupont's avatar
Francis Dupont committed
31 32
  "dhcp4o6-port": 6767,

33
// Required by DHCPv4-over-DHCPv6 clients
Francis Dupont's avatar
Francis Dupont committed
34 35 36 37 38
  "option-data": [
   {  "name": "dhcp4o6-server-addr",
      "code": 88,
      "space": "dhcp6",
      "csv-format": true,
39
// Put the server address here
Francis Dupont's avatar
Francis Dupont committed
40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60
      "data": "2001:db8:1:1::1" }
   ]
},

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

}