2024-06-03

This commit is contained in:
2024-06-03 07:04:29 -07:00
commit a6071a4073
273 changed files with 16707 additions and 0 deletions

61
_-Review/kea.md Normal file
View File

@ -0,0 +1,61 @@
---
type: "note"
created: "2024-04-09T00:24:33.543Z"
updated: "2024-04-09T00:24:37.118Z"
---
# kea
```bash
# https://www.techtutorials.tv/sections/linux/how-to-install-and-configure-kea-dhcp-server/
echo > /etc/kea/kea-dhcp4.conf && nano /etc/kea/kea-dhcp4.conf
```
```json
{
"Dhcp4": {
"interfaces-config": {
"interfaces": [
"eth0"
]
},
"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": "8.8.8.8, 1.1.1.1"
},
{
"name": "domain-search",
"data": "192.168.42.1"
}
],
"subnet4": [
{
"subnet": "192.168.42.0/25",
"pools": [
{
"pool": "192.168.42.19 - 192.168.42.82"
}
],
"option-data": [
{
"name": "routers",
"data": "192.168.42.1"
}
]
// Add reservations here
}
// Add subnets here
]
}
}
```