Browse Source

[master] Corrections in the config examples.

Tomek Mrugalski 9 years ago
parent
commit
d67528d056
3 changed files with 10 additions and 2 deletions
  1. 3 1
      doc/examples/kea4/hooks.json
  2. 1 1
      doc/examples/kea6/advanced.json
  3. 6 0
      doc/examples/kea6/hooks.json

+ 3 - 1
doc/examples/kea4/hooks.json

@@ -15,10 +15,12 @@
     "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"
     }

+ 1 - 1
doc/examples/kea6/advanced.json

@@ -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

+ 6 - 0
doc/examples/kea6/hooks.json

@@ -15,6 +15,12 @@
     "type": "memfile"
   },
 
+# Set values to mandatory timers
+  "renew-timer": 900,
+  "rebind-timer": 1200,
+  "preferred-lifetime": 1800,
+  "valid-lifetime": 2700,
+
 # Define a single subnet.
   "subnet6": [
     {