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:
parent
3fbde7a1b6
commit
881a6b9227
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user