1
0
mirror of https://github.com/juanfont/headscale.git synced 2025-10-19 11:15:48 +02:00

The sequential prefix allocation uses a best-effort approach

Fixes: #2682
This commit is contained in:
Florian Preinstorfer 2025-10-15 15:37:27 +02:00 committed by nblock
parent 3fbde7a1b6
commit 881a6b9227

View File

@ -60,7 +60,9 @@ prefixes:
v6: fd7a:115c:a1e0::/48 v6: fd7a:115c:a1e0::/48
# Strategy used for allocation of IPs to nodes, available options: # 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). # - random: assigns the next free IP from a pseudo-random IP generator (crypto/rand).
allocation: sequential allocation: sequential