From 881a6b92276e6913982d562e00dc09ec9ccd4bfd Mon Sep 17 00:00:00 2001 From: Florian Preinstorfer Date: Wed, 15 Oct 2025 15:37:27 +0200 Subject: [PATCH] The sequential prefix allocation uses a best-effort approach Fixes: #2682 --- config-example.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/config-example.yaml b/config-example.yaml index 6afab21b..3d5a6a4d 100644 --- a/config-example.yaml +++ b/config-example.yaml @@ -60,7 +60,9 @@ prefixes: v6: fd7a:115c:a1e0::/48 # Strategy used for allocation of IPs to nodes, available options: - # - sequential (default): assigns the next free IP from the previous given IP. + # - sequential (default): assigns the next free IP from the previous given + # IP. A best-effort approach is used and Headscale might leave holes in the + # IP range or fill up existing holes in the IP range. # - random: assigns the next free IP from a pseudo-random IP generator (crypto/rand). allocation: sequential