Kea DHCPv4: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
(Die Seite wurde neu angelegt: „= Installation = * '''apt install kea''' = Konfiguration = * Die Konfigurationsprache ist im JSON-Format * '''vim ''/etc/kea/kea-dhcp4.conf'' ''' <syntaxhigh…“) |
(kein Unterschied)
|
Version vom 24. September 2024, 21:05 Uhr
Installation
- apt install kea
Konfiguration
- Die Konfigurationsprache ist im JSON-Format
- vim /etc/kea/kea-dhcp4.conf
{
"Dhcp4": {
"interfaces-config": {
"interfaces": [
"enp0s8",
"enp0s9"
]
},
"control-socket": {
"socket-type": "unix",
"socket-name": "/run/kea/kea4-ctrl-socket"
},
"lease-database": {
"type": "memfile",
"persist": true,
},
"valid-lifetime": 7200,
"option-data": [
{
"name": "domain-name-servers",
"data": "1.1.1.1, 8.8.8.8"
}
],
"subnet4": [
{
"subnet": "192.168.0.0/24",
"pools": [
{
"pool": "192.168.0.100 - 192.168.0.200"
}
]
}
]
}
}
- systemctl restart kea-dhcp4-server