]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[master] Corrections in the config examples.
authorTomek Mrugalski <tomasz@isc.org>
Wed, 11 May 2016 12:19:04 +0000 (14:19 +0200)
committerTomek Mrugalski <tomasz@isc.org>
Wed, 11 May 2016 12:19:04 +0000 (14:19 +0200)
doc/examples/kea4/hooks.json
doc/examples/kea6/advanced.json
doc/examples/kea6/hooks.json

index 3acc4d9ec593e2a46509112f0059528f0c1e7794..e86e04fab962cd5062c8b2ed23ca84b1f44abe24 100644 (file)
     "type": "memfile"
   },
 
+  "valid-lifetime": 1800,
+
 # Define a single subnet.
   "subnet4": [
     {
-      "pools": [ { "pool": "192.0.2.1 - 19.2.0.2.200" } ],
+      "pools": [ { "pool": "192.0.2.1 - 192.0.2.200" } ],
       "subnet": "192.0.2.0/24",
       "interface": "ethX"
     }
index d6ef95e9990ba3c3aa83c7f37969717d8e55b2c8..821db2bb2d0db4e414af641d2676f0cf7e36b275 100644 (file)
@@ -47,7 +47,7 @@
 # http://www.iana.org/assignments/dhcpv6-parameters/dhcpv6-parameters.xhtml#options-relay-supplied
 # However, it is possible to allow the server to echo back additional options.
 # This entry marks options 110, 120 and 130 as RSOO-enabled.
-   "relay-supplied-options": [ "110", "120", "130" ],"
+   "relay-supplied-options": [ "110", "120", "130" ],
 
 # Addresses will be assigned with preferred and valid lifetimes
 # being 3000 and 4000, respectively. Client is told to start
index 2c950a98a83fd1687be4624b47709303e4a64086..85e10da445bd3dd0b1f45cb92b73c445fc945544 100644 (file)
     "type": "memfile"
   },
 
+# Set values to mandatory timers
+  "renew-timer": 900,
+  "rebind-timer": 1200,
+  "preferred-lifetime": 1800,
+  "valid-lifetime": 2700,
+
 # Define a single subnet.
   "subnet6": [
     {