diff options
Diffstat (limited to 'data')
| -rw-r--r-- | data/templates/dhcp-server/kea-dhcp4.conf.j2 | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/data/templates/dhcp-server/kea-dhcp4.conf.j2 b/data/templates/dhcp-server/kea-dhcp4.conf.j2 index 7302c2cad..8519689a9 100644 --- a/data/templates/dhcp-server/kea-dhcp4.conf.j2 +++ b/data/templates/dhcp-server/kea-dhcp4.conf.j2 @@ -28,6 +28,9 @@ "persist": true, "name": "{{ lease_file }}" }, + "multi-threading": { + "enable-multi-threading": true + }, {% if client_class is vyos_defined %} "client-classes": {{ client_class | kea_client_class_json }}, {% endif %} @@ -75,16 +78,18 @@ } }, {% endif %} +{% if any_ping_check is vyos_defined %} { "library": "/usr/lib/{{ machine }}-linux-gnu/kea/hooks/libdhcp_ping_check.so", "parameters": { - "enable-ping-check" : false, + "enable-ping-check" : true, "min-ping-requests" : 1, "reply-timeout" : 100, "ping-cltt-secs" : 60, "ping-channel-threads" : 0 } }, +{% endif %} { "library": "/usr/lib/{{ machine }}-linux-gnu/kea/hooks/libdhcp_lease_cmds.so", "parameters": {} |
