2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-09-01 22:45:18 +00:00

[#1546] changed ip addresses

This commit is contained in:
Wlodek Wencel
2021-01-25 13:15:44 +01:00
parent 0a4c54b818
commit 6a6bf47a4f
2 changed files with 11 additions and 7 deletions

View File

@@ -38,6 +38,9 @@
// should encapsulate other suboptions, the "space" parameter should be the same // should encapsulate other suboptions, the "space" parameter should be the same
// as included suboptions and "type" set to empty // as included suboptions and "type" set to empty
"code": 43, "code": 43,
// Using the "encapsulate" direction, Kea is told to include options from
// the "339" namespace. We have defined several such options earlier.
// This way, the sub-options are "glued" to this option 43.
"encapsulate": "339", "encapsulate": "339",
"name": "vendor-encapsulated-options", "name": "vendor-encapsulated-options",
"type": "empty" "type": "empty"
@@ -60,7 +63,7 @@
}, },
{ {
"always-send": true, "always-send": true,
"data": "sdlp://11.11.11.11:18443", "data": "sdlp://192.0.2.11:18443",
"name": "dls", "name": "dls",
"space": "339" "space": "339"
} }
@@ -82,10 +85,10 @@
"interface": "ethX", "interface": "ethX",
"pools": [ "pools": [
{ {
"pool": "192.168.50.50-192.168.50.50" "pool": "192.0.2.50-192.0.2.50"
} }
], ],
"subnet": "192.168.50.0/24" "subnet": "192.0.2.0/24"
} }
] ]
} }

View File

@@ -37,7 +37,8 @@
"option-data": [ "option-data": [
{ {
// In "option-data" list we have to configure option 125 with data parameter equal // In "option-data" list we have to configure option 125 with data parameter equal
// to vendor-id we are expecting // to vendor-id we are expecting, also it will tell Kea which vendor space
// encapsulate in suboptions.
"data": "339", "data": "339",
"name": "vivso-suboptions" "name": "vivso-suboptions"
}, },
@@ -54,7 +55,7 @@
}, },
{ {
"always-send": true, "always-send": true,
"data": "sdlp://11.11.11.11:18443", "data": "sdlp://192.0.2.11:18443",
"name": "dls", "name": "dls",
"space": "vendor-339" "space": "vendor-339"
} }
@@ -78,10 +79,10 @@
"interface": "ethX", "interface": "ethX",
"pools": [ "pools": [
{ {
"pool": "192.168.50.50-192.168.50.50" "pool": "192.0.2.50-192.0.2.50"
} }
], ],
"subnet": "192.168.50.0/24" "subnet": "192.0.2.0/24"
} }
] ]
} }