[GH-ISSUE #1809] Add ability to use sequential IPs for clients and choose subnet on self-hosted platforms #3273

Open
opened 2026-08-05 00:51:33 -04:00 by saavagebueno · 5 comments
Owner

Originally created by @Ziomal12 on GitHub (Apr 6, 2024).
Original GitHub issue: https://github.com/netbirdio/netbird/issues/1809

It would be nice to have sequential IPs and clients and if there was a possibility to choose subnet i.e. 100.64.0.0/24, then every new device would be 100.64.0.1, 100.64.0.2 etc.

Originally created by @Ziomal12 on GitHub (Apr 6, 2024). Original GitHub issue: https://github.com/netbirdio/netbird/issues/1809 It would be nice to have sequential IPs and clients and if there was a possibility to choose subnet i.e. 100.64.0.0/24, then every new device would be 100.64.0.1, 100.64.0.2 etc.
saavagebueno added the peer-managementfeature-requestself-hosting labels 2026-08-05 00:51:33 -04:00
Author
Owner

@masterwishx commented on GitHub (May 26, 2026):

Also interested in this future, as it exist in headscale that using now, and testing netbird selfhosted currently that looks fantastic with webGui.

<!-- gh-comment-id:4542580622 --> @masterwishx commented on GitHub (May 26, 2026): Also interested in this future, as it exist in headscale that using now, and testing netbird selfhosted currently that looks fantastic with webGui.
Author
Owner

@masterwishx commented on GitHub (May 26, 2026):

So will be cool to have option after Network Range ,where we can choose random or sequential allocation of IPs to nodes

Just for the info from headscale config :

  # Strategy used for allocation of IPs to nodes, available options:
  # - sequential (default): assigns the next free IP from the previous given IP.
  # - random: assigns the next free IP from a pseudo-random IP generator (crypto/rand).
  allocation: sequential
<!-- gh-comment-id:4542666959 --> @masterwishx commented on GitHub (May 26, 2026): So will be cool to have option after `Network Range` ,where we can choose `random` or `sequential` allocation of IPs to nodes Just for the info from headscale config : ``` # Strategy used for allocation of IPs to nodes, available options: # - sequential (default): assigns the next free IP from the previous given IP. # - random: assigns the next free IP from a pseudo-random IP generator (crypto/rand). allocation: sequential ```
Author
Owner

@PizzaLovingNerd commented on GitHub (Jun 5, 2026):

Both features you described have been implemented! Since v0.53.0, you can configure a custom network range/subnet for your self-hosted instance directly in the management dashboard under Settings > Network Range.

Image

Individual peer IP addresses can also be changed inside the peers tab allowing, sequential assignment.

Image

If this doesn't cover your use-case, please open a new GitHub Discussion. Cheers!

(also closing as a duplicate of #1633)

<!-- gh-comment-id:4635869852 --> @PizzaLovingNerd commented on GitHub (Jun 5, 2026): Both features you described have been implemented! Since v0.53.0, you can configure a custom network range/subnet for your self-hosted instance directly in the management dashboard under Settings > Network Range. <img width="1235" height="648" alt="Image" src="https://github.com/user-attachments/assets/47e21777-3ced-46be-98b7-50665ff1b59c" /> Individual peer IP addresses can also be changed inside the peers tab allowing, sequential assignment. <img width="1580" height="885" alt="Image" src="https://github.com/user-attachments/assets/4021f0a0-ba81-4be4-a843-c331b0ac858c" /> If this doesn't cover your use-case, please open a new [GitHub Discussion](https://github.com/netbirdio/netbird/discussions). Cheers! (also closing as a duplicate of #1633)
Author
Owner

@masterwishx commented on GitHub (Jun 6, 2026):

Since v0.53.0, you can configure a custom network range/subnet for your self-hosted instance directly in the management dashboard under Settings > Network Range.

Yep, I know this, I meaned only about:
IP allocation: auto/sequential
Sure we can edit manually, but we talking about system IP allocation by setting...

<!-- gh-comment-id:4637704452 --> @masterwishx commented on GitHub (Jun 6, 2026): > Since v0.53.0, you can configure a custom network range/subnet for your self-hosted instance directly in the management dashboard under Settings > Network Range. Yep, I know this, I meaned only about: `IP allocation: auto/sequential` Sure we can edit manually, but we talking about system IP allocation by setting...
Author
Owner

@masterwishx commented on GitHub (Jun 6, 2026):

Opened https://github.com/netbirdio/netbird/discussions/6350

<!-- gh-comment-id:4637729001 --> @masterwishx commented on GitHub (Jun 6, 2026): Opened https://github.com/netbirdio/netbird/discussions/6350
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: DYNR/netbird#3273