Browse Source

[5357] examples improved.

Tomek Mrugalski 7 years ago
parent
commit
cab5c54f64
2 changed files with 8 additions and 5 deletions
  1. 2 1
      doc/examples/kea4/shared-network.json
  2. 6 4
      doc/examples/kea6/shared-network.json

+ 2 - 1
doc/examples/kea4/shared-network.json

@@ -68,7 +68,8 @@
             {
             {
                 "pools": [ { "pool":  "192.0.3.1 - 192.0.3.200" } ],
                 "pools": [ { "pool":  "192.0.3.1 - 192.0.3.200" } ],
                 "subnet": "192.0.3.0/24",
                 "subnet": "192.0.3.0/24",
-                "interface": "eth0"
+                "interface": "eth0",
+                "id": 3
             }
             }
         ]
         ]
         
         

+ 6 - 4
doc/examples/kea6/shared-network.json

@@ -16,9 +16,10 @@
 
 
         "subnet6": [
         "subnet6": [
             {
             {
-                "pools": [ { "pool": "2001:db8:1::/80" } ],
-                "subnet": "2001:db8:1::/64",
-                "interface": "eth0"
+                "pools": [ { "pool": "2001:db8:2::/80" } ],
+                "subnet": "2001:db8:2::/64",
+                "interface": "eth0",
+                "id": 100
             }
             }
         ],
         ],
 
 
@@ -34,7 +35,8 @@
                 "ip-address": "::"
                 "ip-address": "::"
             },
             },
             "renew-timer": 100,
             "renew-timer": 100,
-            "reservation-mode": "all",    "subnet6": [
+            "reservation-mode": "all",
+            "subnet6": [
                 {
                 {
                     "id": 1,
                     "id": 1,
                     "option-data": [ ],
                     "option-data": [ ],