summaryrefslogtreecommitdiffstats
path: root/doc/examples
diff options
context:
space:
mode:
authorMarcin Siodelski <marcin@isc.org>2022-11-18 10:21:20 +0100
committerMarcin Siodelski <marcin@isc.org>2023-01-07 11:45:06 +0100
commit9571b8f80b24227a7615ad9436129d2fcf13a90d (patch)
treefcd4864c8ebc3bb9820b1f40a505064dec7a1fd1 /doc/examples
parent[#969] Random allocator (diff)
downloadkea-9571b8f80b24227a7615ad9436129d2fcf13a90d.tar.xz
kea-9571b8f80b24227a7615ad9436129d2fcf13a90d.zip
[#969] Configure allocator for DHCPv4
Diffstat (limited to 'doc/examples')
-rw-r--r--doc/examples/kea4/all-keys.json12
1 files changed, 12 insertions, 0 deletions
diff --git a/doc/examples/kea4/all-keys.json b/doc/examples/kea4/all-keys.json
index 960c14e4ad..617d3a9fcc 100644
--- a/doc/examples/kea4/all-keys.json
+++ b/doc/examples/kea4/all-keys.json
@@ -12,6 +12,10 @@
// Kea DHCPv4 server configuration begins here.
"Dhcp4": {
+ // Global flag selecting an IP address allocation strategy for all
+ // subnets. Use "random" for random allocation strategy.
+ "allocator": "iterative",
+
// Global authoritative flag to handle requests by clients for
// unknown IP addresses (ignore if disabled, NAK if enabled).
"authoritative": false,
@@ -694,6 +698,10 @@
// networks group subnets together.
"shared-networks": [
{
+ // A flag selecting an IP address allocation strategy for all
+ // subnets in this shared network.
+ "allocator": "random",
+
// Shared network level authoritative flag.
"authoritative": false,
@@ -825,6 +833,10 @@
// Prefix matched against source address. See RFC7341.
"4o6-subnet": "2001:db8:1:1::/64",
+ // A flag selecting an IP address allocation strategy for
+ // the subnet.
+ "allocator": "iterative",
+
// Subnet level authoritative flag.
"authoritative": false,