// yquem (white, expensive)
//
// Address space is 192.0.2.0/24 with 10-99 for reds and 110-199 for whites.
+//
+// Reservations are given here in Kea/JSON style but they must be
+// in the RADIUS server configuration:
+//
+// {
+// "flex-id": "'chambertin'",
+// "ip-address": "192.0.2.10"
+// },
+// {
+// "flex-id": "'margaux'",
+// "ip-address": "192.0.2.11"
+// },
+// {
+// "flex-id": "'petrus'",
+// "ip-address": "192.0.2.12"
+// },
+// {
+// "flex-id": "'romanee'",
+// "ip-address": "192.0.2.13"
+// },
+// {
+// "flex-id": "'montrachet'",
+// "ip-address": "192.0.2.110"
+// },
+// {
+// "flex-id": "'yquem'",
+// "ip-address": "192.0.2.111"
+// }
+//
{"Dhcp4":
// important to note. This means that to get an address, the
// client needs to belong to red class, to white class or
// have an address reserved.
- ],
- // Define host reservations for "expensive" wines.
- // Use quotes in the host id value to say it is textual, not hex.
- "reservations": [
- {
- "flex-id": "'chambertin'",
- "ip-address": "192.0.2.10"
- },
- {
- "flex-id": "'margaux'",
- "ip-address": "192.0.2.11"
- },
- {
- "flex-id": "'petrus'",
- "ip-address": "192.0.2.12"
- },
- {
- "flex-id": "'romanee'",
- "ip-address": "192.0.2.13"
- },
- {
- "flex-id": "'montrachet'",
- "ip-address": "192.0.2.110"
- },
- {
- "flex-id": "'yquem'",
- "ip-address": "192.0.2.111"
- } ]
+ ]
} ],
// Set up the hooks libraries.
// Configure an access (aka authentication/authorization) server.
"access": {
- "server": "127.0.0.1",
- "secret": "12345678"
+ "servers" : [ {
+ "name": "127.0.0.1",
+ "port": 1812,
+ "secret": "testing123"
+ } ],
+ "attributes": [ {
+ "name": "Password",
+ "data": "French-wine"
+ } ]
},
// Configure an accounting server.
"accounting": {
- "server": "127.0.0.1",
- "secret": "12345678"
+ "servers" : [ {
+ "name": "127.0.0.1",
+ "port": 1813,
+ "secret": "testing123"
+ } ],
+ "attributes": [ {
+ "name": "Password",
+ "data": "French-wine"
+ } ]
}
}
} ]
-}
+},
+ "Logging": {
+ "loggers": [
+ {
+ "name": "kea-dhcp4",
+ "output_options": [
+ {
+ // Change to stderr for debug
+ "output": "stdout"
+ }
+ ],
+ // Change to DEBUG for debug
+ "severity": "INFO"
+ }
+ ]
+ }
}