The sequential prefix allocation uses a best-effort approach
Fixes: #2682
This commit is contained in:
parent
3fbde7a1b6
commit
881a6b9227
1 changed files with 3 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue