summaryrefslogtreecommitdiffstats
path: root/doc/examples/kea4/dhcpv4-over-dhcpv6.json
blob: 52cdc1c1acb3021e303cfa88cc83f5517ff772e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
// 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": "leases4",
      "lfc-interval": 3600
  },

  "valid-lifetime": 4000,

  "subnet4": [
   {    "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": "/tmp/kea-dhcp4.log"
          }
      ],
      "severity": "DEBUG",
      "debuglevel": 0
    }
  ]
}

}