seems a bit brutal to have to default the devices...
I've got this in a HA pair - the interface PPPoE is defined on is actually kind of a dummy interface but I've set up a gateway for it to make it into a WAN interface - and its made no difference....
I used to have loads of config on there - but I've paired it right back to try and isolate the problem...
this is a real pain in the ar$£....
config file having manually changed it to what I want...
{
"Dhcp4": {
"interfaces-config": {
"interfaces": [
"em0.20"
]
},
"lease-database": {
"type": "memfile",
"persist": true,
"name": "/var/lib/kea/dhcp4.leases"
},
"loggers": [
{
"name": "kea-dhcp4",
"output_options": [
{
"output": "syslog"
}
],
"severity": "INFO"
}
],
"valid-lifetime": 7200,
"max-valid-lifetime": 86400,
"ip-reservations-unique": false,
"echo-client-id": false,
"option-data": [
{
"name": "domain-name",
"data": "home.arpa"
}
],
"option-def": [
{
"space": "dhcp4",
"name": "ldap-server",
"code": 95,
"type": "string"
}
],
"hooks-libraries": [
{
"library": "/usr/local/lib/kea/hooks/libdhcp_lease_cmds.so"
}
],
"control-socket": {
"socket-type": "unix",
"socket-name": "/tmp/kea4-ctrl-socket"
},
"authoritative": true,
"subnet4": [
{
"id": 1,
"subnet": "10.7.20.0/24",
"option-data": [
{
"name": "domain-name-servers",
"data": "10.7.20.1"
},
{
"name": "routers",
"data": "10.7.20.1"
}
],
"valid-lifetime": 60485000,
"max-valid-lifetime": 60486000,
"reservations": [
{
"hw-address": "44:19:b6:28:57:37",
"ip-address": "10.7.20.31",
"hostname": "cam1"
},
{
"hw-address": "44:19:b6:4f:59:0a",
"ip-address": "10.7.20.32",
"hostname": "garagecam"
},
{
"hw-address": "ac:cb:51:3c:97:2a",
"ip-address": "10.7.20.35",
"hostname": "cam6"
},
{
"hw-address": "ac:cb:51:3c:97:34",
"ip-address": "10.7.20.36"
}
],
"reservations-in-subnet": true
}
],
"reservations": [
{
"hw-address": "44:19:b6:28:57:37"
},
{
"hw-address": "44:19:b6:4f:59:0a"
},
{
"hw-address": "ac:cb:51:3c:97:2a"
},
{
"hw-address": "ac:cb:51:3c:97:34"
}
]
}
}
config file after I tried to start the service...
{
"Dhcp4": {
"interfaces-config": {
"interfaces": [
"pppoe0"
]
},
"lease-database": {
"type": "memfile",
"persist": true,
"name": "/var/lib/kea/dhcp4.leases"
},
"loggers": [
{
"name": "kea-dhcp4",
"output_options": [
{
"output": "syslog"
}
],
"severity": "INFO"
}
],
"valid-lifetime": 7200,
"max-valid-lifetime": 86400,
"ip-reservations-unique": false,
"echo-client-id": false,
"option-data": [
{
"name": "domain-name",
"data": "home.arpa"
}
],
"option-def": [
{
"space": "dhcp4",
"name": "ldap-server",
"code": 95,
"type": "string"
}
],
"hooks-libraries": [
{
"library": "/usr/local/lib/kea/hooks/libdhcp_lease_cmds.so"
}
],
"control-socket": {
"socket-type": "unix",
"socket-name": "/tmp/kea4-ctrl-socket"
},
"authoritative": true,
"subnet4": [
{
"id": 1,
"subnet": "86.140.132.253/32",
"option-data": [
{
"name": "domain-name-servers",
"data": "10.7.20.1"
},
{
"name": "routers",
"data": "10.7.20.1"
}
],
"valid-lifetime": 60485000,
"max-valid-lifetime": 60486000,
"reservations": [
{
"hw-address": "44:19:b6:28:57:37",
"ip-address": "10.7.20.31",
"hostname": "cam1"
},
{
"hw-address": "44:19:b6:4f:59:0a",
"ip-address": "10.7.20.32",
"hostname": "garagecam"
},
{
"hw-address": "ac:cb:51:3c:97:2a",
"ip-address": "10.7.20.35",
"hostname": "cam6"
},
{
"hw-address": "ac:cb:51:3c:97:34",
"ip-address": "10.7.20.36"
}
],
"reservations-in-subnet": true
}
],
"reservations": [
{
"hw-address": "44:19:b6:28:57:37"
},
{
"hw-address": "44:19:b6:4f:59:0a"
},
{
"hw-address": "ac:cb:51:3c:97:2a"
},
{
"hw-address": "ac:cb:51:3c:97:34"
}
]
}
}