2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-31 05:55:28 +00:00

[5288] Added option-data in DHCPv4 pools

This commit is contained in:
Francis Dupont
2017-07-03 23:09:12 +02:00
parent f5e88bca80
commit 556f6591be
8 changed files with 675 additions and 213 deletions

View File

@@ -32,9 +32,11 @@
// clients connected to this subnet. The first two options are
// identified by the name. The third option is identified by the
// option code.
// There is an address pool defined within this subnet. Pool
// specific value for option domain-name-servers is defined
// for the pool.
"subnet4": [
{
"pools": [ { "pool": "192.0.2.10 - 192.0.2.200" } ],
"subnet": "192.0.2.0/24",
"interface": "ethX",
"option-data": [
@@ -124,9 +126,17 @@
"name": "default-ip-ttl",
"data": "0xf0"
}
]
}
]
],
"pools": [ {
"pool": "192.0.2.10 - 192.0.2.200",
"option-data": [
{
"name": "domain-name-servers",
"data": "192.0.2.3, 192.0.2.4"
}
]
} ]
} ]
},
// The following configures logging. It assumes that messages with at