From 5e7957d8cbb96a3a1d2f39724abe23c8f948f9c7 Mon Sep 17 00:00:00 2001
From: lilly
Date: Fri, 18 Apr 2025 12:07:34 +0200
Subject: [PATCH] configure cookie server dhcp reservation and dhcp option
---
resources/dhcp/files/kea-dhcp4.conf | 15 +++++++++++++--
1 file changed, 13 insertions(+), 2 deletions(-)
diff --git a/resources/dhcp/files/kea-dhcp4.conf b/resources/dhcp/files/kea-dhcp4.conf
index 3a15002..6798464 100644
--- a/resources/dhcp/files/kea-dhcp4.conf
+++ b/resources/dhcp/files/kea-dhcp4.conf
@@ -33,6 +33,11 @@
"code": 6,
"csv-format": true,
"data": "94.45.254.2"
+ },
+ {
+ "name": "cookie-servers",
+ "data": "94.45.254.6",
+ "always-send": true
}
],
@@ -99,7 +104,13 @@
"pool": "94.45.254.100 - 94.45.254.120"
}
],
- "subnet": "94.45.254.0/25"
+ "subnet": "94.45.254.0/25",
+ "reservations": [
+ {
+ "hw-address": "BC:24:11:41:E1:61",
+ "ip-address": "94.45.254.6"
+ }
+ ]
},
{
// Public Services reachable EVERYWHERE
@@ -117,7 +128,7 @@
],
"subnet": "94.45.254.128/25"
},
-
+
],
"loggers": [