aboutsummaryrefslogtreecommitdiffstats
path: root/vnfs/vCPE/scripts/kea-dhcp4_no_hook.conf
blob: 5db8dccbef83a39d279191f1ea1b9a7ad4f98552 (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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
{
"Dhcp4":
  {
# For testing, you can use veth pair as described in README.md
# eth1 is the 10.2.0.1 interface on the vDHCP/vDNS server (CPE_PUBLIC)
  "interfaces-config": {
    "interfaces": ["eth1" ]
  },

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

  "expired-leases-processing": {
    "reclaim-timer-wait-time": 10,
    "flush-reclaimed-timer-wait-time": 25,
    "hold-reclaimed-time": 3600,
    "max-reclaim-leases": 100,
    "max-reclaim-time": 250,
    "unwarned-reclaim-cycles": 5
  },

  "valid-lifetime": 300,

# Ensure you set some sensible defaults for the siaddr and option-data,
# otherwise the options won't be added at all.
# Also keep in mind that if kea doesn't receive the desired values for some
# reason, these values will be sent to the client.
#   10.2.0.10 is assigned to the webserver so reserve 10-19 for hosts on the CPE_PUBLIC network
  "subnet4": [
      {	"subnet": "10.2.0.0/24",
            "pools" : [
                  { "pool": "10.2.0.2 - 10.2.0.9"},
                  { "pool": "10.2.0.20 - 10.2.0.255"}
                ],
            "next-server": "10.2.0.1",
            "option-data": [
		       {
			   "name": "routers",
			   "data": "10.2.0.1"
		       }
          	]
      }
  ]

},

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

}