]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[5121] Examples updated.
authorTomek Mrugalski <tomasz@isc.org>
Wed, 5 Jul 2017 16:32:29 +0000 (18:32 +0200)
committerTomek Mrugalski <tomasz@isc.org>
Wed, 5 Jul 2017 16:32:29 +0000 (18:32 +0200)
doc/examples/kea4/reservations.json
doc/examples/kea6/reservations.json

index ca6b5a7bcf8ada571a02797d8c867df0e66f7f16..495691dc9feb98b995eb1f8fdd11a40d24c6efca 100644 (file)
     {
        "pools": [ { "pool":  "192.0.2.1 - 192.0.2.200" } ],
        "subnet": "192.0.2.0/24",
-       "interface": "eth0",
+        "interface": "eth0",
+
+        // This directive tells Kea that reservations may be made both in-pool
+        // and out-of-pool. For improved performance, you may move all reservations
+        // out of the dynamic pool and change reservation-mode to "out-of-pool".
+        // Kea will then be able to skip querying for host reservations when
+        // assigning leases from dynamic pool.
+        "reservation-mode": "all",
+
         "reservations": [
 
 # This is a reservation for a specific hardware/MAC address. It's a very
index 5f90a5a2d3d4a761e206ad9061b8e73d6dde81a9..bdab965323a69df0210031c7324c296654e3b933 100644 (file)
     {
       "subnet": "2001:db8:1::/48",
 
+      // This directive tells Kea that reservations may be made both in-pool
+      // and out-of-pool. For improved performance, you may move all reservations
+      // out of the dynamic pool and change reservation-mode to "out-of-pool".
+      // Kea will then be able to skip querying for host reservations when
+      // assigning leases from dynamic pool.
+      "reservation-mode": "all",
+
       "pools": [ { "pool": "2001:db8:1::/80" } ],
 
       "pd-pools": [