| 1 |
{ |
| 2 |
# DHCPv6 deny unknown client config |
| 3 |
# empty configs are not accepted by Kea |
| 4 |
/// This configuration declares some subnets but has no interfaces-config |
| 5 |
/// Reference Kea #245 |
| 6 |
"Dhcp6": { |
| 7 |
"valid-lifetime": 1800, |
| 8 |
"subnet6": [ |
| 9 |
# subnet declaration |
| 10 |
{ |
| 11 |
"id": 1, |
| 12 |
"subnet": "2001::/64", |
| 13 |
"pools": [ |
| 14 |
# pool declaration |
| 15 |
{ |
| 16 |
# avoid empty pool |
| 17 |
"pool": "2001::100 - 2001::200", |
| 18 |
/// From: |
| 19 |
/// deny unknown clients |
| 20 |
"client-class": "gen#_AND_#KNOWN#" |
| 21 |
} |
| 22 |
] |
| 23 |
} |
| 24 |
], |
| 25 |
"client-classes": [ |
| 26 |
{ |
| 27 |
"name": "gen#_AND_#KNOWN#", |
| 28 |
"test": "member('KNOWN')" |
| 29 |
} |
| 30 |
] |
| 31 |
} |
| 32 |
} |