Using Setup Keys Causes IP Conflict #1826

Closed
opened 2025-11-20 06:07:30 -05:00 by saavagebueno · 2 comments
Owner

Originally created by @jordantrujillo-hl on GitHub (Apr 18, 2025).

Describe the problem

A clear and concise description of what the problem is.

To Reproduce

Steps to reproduce the behavior:
Follow: quickstart
Add 2 public machines on the same network using Setup Keys, 1 key, 2 keys, same result.

Expected behavior

Use Setup Keys to register multiple ec2 instances.

Are you using NetBird Cloud?
Please specify whether you use NetBird Cloud or self-host NetBird's control plane.
No, Self-Host.

NetBird version

0.41.3

Is any other VPN software installed?

If yes, which one?
No.
Debug output

To help us resolve the problem, please attach the following debug output

netbird status -dA
instance1

Peers detail:
Events:
  [INFO] SYSTEM (d1385442-24f5-4e9c-82c7-9c8f96fb5a0b)
    Message: Network map updated
    Time: 1 minute, 36 seconds ago
  [INFO] SYSTEM (417277a0-7756-4a94-bebc-92a0aa181834)
    Message: Network map updated
    Time: 1 minute, 36 seconds ago
  [INFO] SYSTEM (d729bad5-0aa5-4939-b6fd-b8706796a6c5)
    Message: Network map updated
    Time: 1 minute, 14 seconds ago
  [INFO] SYSTEM (325e4f9c-0f1f-467a-8cd5-49c47f94f588)
    Message: Network map updated
    Time: 1 minute, 13 seconds ago
  [INFO] SYSTEM (f328ca0d-08f9-4e65-9922-b02496d4fc98)
    Message: Network map updated
    Time: 1 minute, 3 seconds ago
  [INFO] SYSTEM (c3d21fd6-6602-4523-b01c-63fa6716b83b)
    Message: Network map updated
    Time: 44 seconds ago
  [INFO] SYSTEM (b00e084d-b1f5-4172-8ceb-f993d9080ac1)
    Message: Network map updated
    Time: 36 seconds ago
  [INFO] SYSTEM (194c8406-bc9e-49db-8719-3c24a463d079)
    Message: Network map updated
    Time: 32 seconds ago
  [INFO] SYSTEM (180ba7df-492b-404b-9f0c-96c53442bc17)
    Message: Network map updated
    Time: 23 seconds ago
  [INFO] SYSTEM (7983f928-b79e-4694-9cde-57b2a6bf4e18)
    Message: Network map updated
    Time: 9 seconds ago
OS: linux/arm64
Daemon version: 0.41.3
CLI version: 0.41.3
Management: Connected to https://control1.netbird.aws-lablegacy-management.anon-QtEvN.domain:443
Signal: Connected to https://control1.netbird.aws-lablegacy-management.anon-QtEvN.domain:443
Relays: 
  [stun:control1.netbird.aws-lablegacy-management.anon-QtEvN.domain:3478] is Available
  [turn:control1.netbird.aws-lablegacy-management.anon-QtEvN.domain:3478?transport=udp] is Available
  [rels://control1.netbird.aws-lablegacy-management.anon-QtEvN.domain:443] is Available
Nameservers: 
FQDN: i-0c1a49e2e621bdeee.netbird.selfhosted
NetBird IP: 100.119.122.180/16
Interface type: Kernel
Quantum resistance: false
Networks: -
Forwarding rules: 0
Peers count: 0/0 Connected

instance2

Peers detail:
Events:
  [INFO] SYSTEM (650d3931-7f8e-4b84-a5a5-8e17fafde8b5)
    Message: Network map updated
    Time: 1 minute, 40 seconds ago
  [INFO] SYSTEM (63dfe1d7-daf2-40c6-aec2-0c0553b0f3be)
    Message: Network map updated
    Time: 1 minute, 21 seconds ago
  [INFO] SYSTEM (965566fe-7910-44ee-8163-41f7ba4a3140)
    Message: Network map updated
    Time: 1 minute, 4 seconds ago
  [INFO] SYSTEM (99f5443d-a2ed-4134-ac09-17651ee2f104)
    Message: Network map updated
    Time: 1 minute, 3 seconds ago
  [INFO] SYSTEM (7a2bf79c-0199-45f1-adfd-f9e256c5d36f)
    Message: Network map updated
    Time: 58 seconds ago
  [INFO] SYSTEM (fd280c06-1e20-4a4e-a08b-60c0f348d361)
    Message: Network map updated
    Time: 53 seconds ago
  [INFO] SYSTEM (a655668f-c281-4072-bb60-6a40502d6b6e)
    Message: Network map updated
    Time: 42 seconds ago
  [INFO] SYSTEM (0131125a-bb78-441d-b029-19891081bb8d)
    Message: Network map updated
    Time: 26 seconds ago
  [INFO] SYSTEM (11278add-620f-45c3-b418-1f83e5fec343)
    Message: Network map updated
    Time: 22 seconds ago
  [INFO] SYSTEM (ab3ac18b-ceab-41c9-9a48-647f70aaf98f)
    Message: Network map updated
    Time: 5 seconds ago
OS: linux/arm64
Daemon version: 0.41.3
CLI version: 0.41.3
Management: Connected to https://control1.netbird.aws-lablegacy-management.anon-3P4ee.domain:443
Signal: Connected to https://control1.netbird.aws-lablegacy-management.anon-3P4ee.domain:443
Relays: 
  [stun:control1.netbird.aws-lablegacy-management.anon-3P4ee.domain:3478] is Available
  [turn:control1.netbird.aws-lablegacy-management.anon-3P4ee.domain:3478?transport=udp] is Available
  [rels://control1.netbird.aws-lablegacy-management.anon-3P4ee.domain:443] is Unavailable, reason: relay connection is not established
Nameservers: 
FQDN: i-0c1a49e2e621bdeee.netbird.selfhosted
NetBird IP: 100.119.122.180/16
Interface type: Kernel
Quantum resistance: false
Networks: -
Forwarding rules: 0
Peers count: 0/0 Connected

As well as the file created by

netbird debug for 1m -AS

netbird.debug.1989856048.zip

netbird.debug.3123421018.zip

We advise reviewing the anonymized output for any remaining personal information.

Screenshots
Image

If applicable, add screenshots to help explain your problem.

Additional context

Add any other context about the problem here.

Have you tried these troubleshooting steps?

  • Checked for newer NetBird versions
  • Searched for similar issues on GitHub (including closed ones)
  • Restarted the NetBird client
  • Disabled other VPN software
  • Checked firewall settings
Originally created by @jordantrujillo-hl on GitHub (Apr 18, 2025). **Describe the problem** A clear and concise description of what the problem is. **To Reproduce** Steps to reproduce the behavior: Follow: [quickstart](https://docs.netbird.io/selfhosted/selfhosted-quickstart) Add 2 public machines on the same network using Setup Keys, 1 key, 2 keys, same result. **Expected behavior** Use Setup Keys to register multiple ec2 instances. **Are you using NetBird Cloud?** Please specify whether you use NetBird Cloud or self-host NetBird's control plane. No, Self-Host. **NetBird version** `0.41.3` **Is any other VPN software installed?** If yes, which one? No. **Debug output** To help us resolve the problem, please attach the following debug output netbird status -dA instance1 ``` Peers detail: Events: [INFO] SYSTEM (d1385442-24f5-4e9c-82c7-9c8f96fb5a0b) Message: Network map updated Time: 1 minute, 36 seconds ago [INFO] SYSTEM (417277a0-7756-4a94-bebc-92a0aa181834) Message: Network map updated Time: 1 minute, 36 seconds ago [INFO] SYSTEM (d729bad5-0aa5-4939-b6fd-b8706796a6c5) Message: Network map updated Time: 1 minute, 14 seconds ago [INFO] SYSTEM (325e4f9c-0f1f-467a-8cd5-49c47f94f588) Message: Network map updated Time: 1 minute, 13 seconds ago [INFO] SYSTEM (f328ca0d-08f9-4e65-9922-b02496d4fc98) Message: Network map updated Time: 1 minute, 3 seconds ago [INFO] SYSTEM (c3d21fd6-6602-4523-b01c-63fa6716b83b) Message: Network map updated Time: 44 seconds ago [INFO] SYSTEM (b00e084d-b1f5-4172-8ceb-f993d9080ac1) Message: Network map updated Time: 36 seconds ago [INFO] SYSTEM (194c8406-bc9e-49db-8719-3c24a463d079) Message: Network map updated Time: 32 seconds ago [INFO] SYSTEM (180ba7df-492b-404b-9f0c-96c53442bc17) Message: Network map updated Time: 23 seconds ago [INFO] SYSTEM (7983f928-b79e-4694-9cde-57b2a6bf4e18) Message: Network map updated Time: 9 seconds ago OS: linux/arm64 Daemon version: 0.41.3 CLI version: 0.41.3 Management: Connected to https://control1.netbird.aws-lablegacy-management.anon-QtEvN.domain:443 Signal: Connected to https://control1.netbird.aws-lablegacy-management.anon-QtEvN.domain:443 Relays: [stun:control1.netbird.aws-lablegacy-management.anon-QtEvN.domain:3478] is Available [turn:control1.netbird.aws-lablegacy-management.anon-QtEvN.domain:3478?transport=udp] is Available [rels://control1.netbird.aws-lablegacy-management.anon-QtEvN.domain:443] is Available Nameservers: FQDN: i-0c1a49e2e621bdeee.netbird.selfhosted NetBird IP: 100.119.122.180/16 Interface type: Kernel Quantum resistance: false Networks: - Forwarding rules: 0 Peers count: 0/0 Connected ``` instance2 ``` Peers detail: Events: [INFO] SYSTEM (650d3931-7f8e-4b84-a5a5-8e17fafde8b5) Message: Network map updated Time: 1 minute, 40 seconds ago [INFO] SYSTEM (63dfe1d7-daf2-40c6-aec2-0c0553b0f3be) Message: Network map updated Time: 1 minute, 21 seconds ago [INFO] SYSTEM (965566fe-7910-44ee-8163-41f7ba4a3140) Message: Network map updated Time: 1 minute, 4 seconds ago [INFO] SYSTEM (99f5443d-a2ed-4134-ac09-17651ee2f104) Message: Network map updated Time: 1 minute, 3 seconds ago [INFO] SYSTEM (7a2bf79c-0199-45f1-adfd-f9e256c5d36f) Message: Network map updated Time: 58 seconds ago [INFO] SYSTEM (fd280c06-1e20-4a4e-a08b-60c0f348d361) Message: Network map updated Time: 53 seconds ago [INFO] SYSTEM (a655668f-c281-4072-bb60-6a40502d6b6e) Message: Network map updated Time: 42 seconds ago [INFO] SYSTEM (0131125a-bb78-441d-b029-19891081bb8d) Message: Network map updated Time: 26 seconds ago [INFO] SYSTEM (11278add-620f-45c3-b418-1f83e5fec343) Message: Network map updated Time: 22 seconds ago [INFO] SYSTEM (ab3ac18b-ceab-41c9-9a48-647f70aaf98f) Message: Network map updated Time: 5 seconds ago OS: linux/arm64 Daemon version: 0.41.3 CLI version: 0.41.3 Management: Connected to https://control1.netbird.aws-lablegacy-management.anon-3P4ee.domain:443 Signal: Connected to https://control1.netbird.aws-lablegacy-management.anon-3P4ee.domain:443 Relays: [stun:control1.netbird.aws-lablegacy-management.anon-3P4ee.domain:3478] is Available [turn:control1.netbird.aws-lablegacy-management.anon-3P4ee.domain:3478?transport=udp] is Available [rels://control1.netbird.aws-lablegacy-management.anon-3P4ee.domain:443] is Unavailable, reason: relay connection is not established Nameservers: FQDN: i-0c1a49e2e621bdeee.netbird.selfhosted NetBird IP: 100.119.122.180/16 Interface type: Kernel Quantum resistance: false Networks: - Forwarding rules: 0 Peers count: 0/0 Connected ``` As well as the file created by netbird debug for 1m -AS [netbird.debug.1989856048.zip](https://github.com/user-attachments/files/19817837/netbird.debug.1989856048.zip) [netbird.debug.3123421018.zip](https://github.com/user-attachments/files/19817838/netbird.debug.3123421018.zip) We advise reviewing the anonymized output for any remaining personal information. **Screenshots** ![Image](https://github.com/user-attachments/assets/424bf880-fc99-4cc5-95d3-23cfb70cef1b) If applicable, add screenshots to help explain your problem. **Additional context** Add any other context about the problem here. **Have you tried these troubleshooting steps?** - [x] Checked for newer NetBird versions - [x] Searched for similar issues on GitHub (including closed ones) - [x] Restarted the NetBird client - [x] Disabled other VPN software - [x] Checked firewall settings
saavagebueno added the clientconfig-issue labels 2025-11-20 06:07:30 -05:00
Author
Owner

@mlsmaycon commented on GitHub (Apr 19, 2025):

@jordantrujillo-hl they seem to be sharing the same /etc/netbrid/config.json file, can you confirm if they aren't docker containers sharing the same store or VM images based on the same template?

@mlsmaycon commented on GitHub (Apr 19, 2025): @jordantrujillo-hl they seem to be sharing the same /etc/netbrid/config.json file, can you confirm if they aren't docker containers sharing the same store or VM images based on the same template?
Author
Owner

@jordantrujillo-hl commented on GitHub (Apr 19, 2025):

Ahhh... The agent is installed on the same AMI. That must be it. Thank you!

@jordantrujillo-hl commented on GitHub (Apr 19, 2025): Ahhh... The agent is installed on the same AMI. That must be it. Thank you!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SVI/netbird#1826