| 1 |
{ |
| 2 |
# DHCPv4 permit known 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 |
"Dhcp4": { |
| 7 |
"valid-lifetime": 1800, |
| 8 |
"subnet4": [ |
| 9 |
# subnet declaration |
| 10 |
{ |
| 11 |
"id": 1, |
| 12 |
"subnet": "10.5.5.0/27", |
| 13 |
"pools": [ |
| 14 |
# pool declaration |
| 15 |
{ |
| 16 |
# avoid empty pool |
| 17 |
"pool": "10.5.5.5 - 10.5.5.10", |
| 18 |
/// From: |
| 19 |
/// allow known clients |
| 20 |
"client-class": "KNOWN" |
| 21 |
} |
| 22 |
] |
| 23 |
} |
| 24 |
] |
| 25 |
} |
| 26 |
} |