Skip to content

Commit 881a6b9

Browse files
committed
The sequential prefix allocation uses a best-effort approach
Fixes: #2682
1 parent 3fbde7a commit 881a6b9

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

config-example.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,9 @@ prefixes:
6060
v6: fd7a:115c:a1e0::/48
6161

6262
# Strategy used for allocation of IPs to nodes, available options:
63-
# - sequential (default): assigns the next free IP from the previous given IP.
63+
# - sequential (default): assigns the next free IP from the previous given
64+
# IP. A best-effort approach is used and Headscale might leave holes in the
65+
# IP range or fill up existing holes in the IP range.
6466
# - random: assigns the next free IP from a pseudo-random IP generator (crypto/rand).
6567
allocation: sequential
6668

0 commit comments

Comments
 (0)