blob: ffa42e795526c4002e8623362feda0eb74bfca0a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
{
# DHCPv4 permit authenticated client config
# authoritative is mandatory
/// This configuration declares some subnets but has no interfaces-config
/// Reference Kea #5256
"Dhcp6": {
"valid-lifetime": 1800,
"subnet6": [
# subnet declaration
{
"subnet": "2001::/64",
"pools": [
# pool declaration
{
# avoid empty pool
"pool": "2001::100 - 2001::200",
/// From:
/// deny unauthenticated clients
/// [un]authenticated-clients is not supported by ISC DHCP and Kea
"client-class": "gen#_AND_#!ALL#"
}
]
}
],
"client-classes": [
/// 'all clients' class
{
"name": "gen#ALL#",
"test": "'' == ''"
},
{
"name": "gen#_AND_#!ALL#",
"test": "not member('gen#ALL#')"
}
]
}
}
|