Created
June 25, 2023 23:58
-
-
Save dgonzalez211/ebce2970b4ba9355651f2b3f1809de3a to your computer and use it in GitHub Desktop.
basic kea dhcp config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"Dhcp4": { | |
"interfaces-config": { | |
"interfaces": ["ens160"] | |
}, | |
"lease-database": { | |
"type": "memfile", | |
"persist": true, | |
"name": "/var/lib/kea/kea-leases4.csv", | |
"lfc-interval": 3600 | |
}, | |
"renew-timer": 15840, | |
"rebind-timer": 27720, | |
"valid-lifetime": 31680, | |
"option-data": [ | |
{ | |
"name": "domain-name-servers", | |
"data": "172.16.17.10, 172.16.17.11" | |
}, | |
{ | |
"name": "domain-search", | |
"data": "templab.lan" | |
} | |
], | |
"subnet4": [ | |
{ | |
"subnet": "172.16.21.0/24", | |
"pools": [ { "pool": "172.16.21.100 - 172.16.21.199" } ], | |
"option-data": [ | |
{ | |
"name": "routers", | |
"data": "172.16.21.254" | |
} | |
] | |
// Add reservations here | |
} | |
// Add subnets here | |
] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment