[Kea-users] "Unsupported 'shared-networks' parameter."
Jeronimo
jscmenezes at gmail.com
Wed May 18 15:51:20 UTC 2022
Hi all,
I'm getting the error "Unsupported 'shared-networks' parameter." while
trying to test config with Kea Ctrl-Agent.
Any help?
Jeronimo
API Request
{
"command": "config-test",
"service": [ "dhcp4" ],
"arguments": {
"Dhcp4": {
"interfaces-config": {
"interfaces": ["eth0/192.168.0.1"]},
"control-socket": {
"socket-name": "/tmp/kea4-ctrl-socket",
"socket-type": "unix"
},
"expired-leases-processing": {
"reclaim-timer-wait-timer": 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": 4000,
"renew-timer": 1000,
"rebind-timer": 2000,
"preferred-lifetime": 3000,
"option-data": [
{
"name": "dns-servers",
"data": "8.8.8.8, 8.8.4.4"
}
],
"loggers": [
{
"debuglevel": 99,
"name": "kea-dhcp4",
"output_options": [
{
"output":
"/var/log/kea/kea-dhcp4-server.log"
}
],
"severity": "INFO"
}
]
},
"shared-networks": [
{
"name": "3M",
"interface": "eth0",
"subnet4":[
{
"subnet": "192.168.2.0/24",
"pools": [
{ "pool": "192.168.2.10 - 192.168.2.20" }
]
}
]
}
]
}
}
kea-ctrl-agent.conf
{
"Control-agent": {
"http-host": "0.0.0.0",
"http-port": 8000,
"control-sockets": {
"dhcp4": {
"socket-type": "unix",
"socket-name": "/tmp/kea4-ctrl-socket"
},
"dhcp6": {
"socket-type": "unix",
"socket-name": "/tmp/kea6-ctrl-socket"
},
"d2": {
"socket-type": "unix",
"socket-name": "/tmp/kea-ddns-ctrl-socket"
}
},
"hooks-libraries": [
{
"library": "/usr/lib/x86_64-linux-gnu/kea/hooks/libdhcp_bootp.so"
},
{
"library":
"/usr/lib/x86_64-linux-gnu/kea/hooks/libdhcp_stat_cmds.so"
},
{
"library": "/usr/lib/x86_64-linux-gnu/kea/hooks/libdhcp_mysql_cb.so"
},
{
"library":
"/usr/lib/x86_64-linux-gnu/kea/hooks/libdhcp_lease_cmds.so"
}
],
"loggers": [
{
"name": "kea-ctrl-agent",
"output_options": [
{
"output": "syslog:kea-ctrl-agent",
"pattern": "%-5p %m\n",
"flush": false,
"maxsize": 1048576,
"maxver": 8
}
],
"severity": "DEBUG",
"debuglevel": 99
}
]
}
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/kea-users/attachments/20220518/e20aee85/attachment.htm>
More information about the Kea-users
mailing list