when I run:
curl -X POST -H "Content-Type: application/json" -d '{ "command":
"config-get", "service": ["dhcp4"] }' http://localhost:8000/
I get:
https://paste.debian.net/hidden/a5ae1e53/
It seems to me that subnet-id=1 is configured. However when I run:
curl -X POST -H "Content-Type: application/json" -d '{ "command":
"lease4-add","service": ["dhcp4"], "arguments": { "subnet-id": 1,
"ip-address": "172.31.32.12", "hw-address": "1a:1b:1c:1d:1e:1f" } }'
http://localhost:8000/
[ { "result": 1, "text": "Invalid subnet-id: No IPv4 subnet with
subnet-id=1 currently configured." } ]
It says that subnet-id=1 doesn't exist? What am I missing?
--
Munroe Sollog
Senior Network Engineer
[email protected]
_______________________________________________
Kea-users mailing list
[email protected]
https://lists.isc.org/mailman/listinfo/kea-users