Overlapping networks when one is LAN and the other is remote

Describe the problem

I have 2 networks:

  • Net A 192.168.1.1/24 via Peer A,
  • Net B 192.168.1.1/24 via Peer B.

I expect peers themselves to be able to connect to both own net (LAN) and remote net (via Netbird).

Currently only one network works, no overlapping detection happens, and the other one becomes unreachable.

To Reproduce

Steps to reproduce the behavior:

  1. 2 LANs with the same CIDR needed, with Peer in each, physically separate (home + office),
  2. Setup two Networks via different peers with the same CIDR (192.168.1.1/24),
  3. Peer A sees Net B in Netbird Desctop → Networks → All networks,
  4. Peer A does not see Net A/B in Overlapping networks,
  5. “Select” Net B from Peer A Netbird Desctop (to connect to that network),
  6. Go http://192.168.1.1 (both networks have origin listening) in the browser - Net B origin responds,
  7. Go http://192.168.1.2 (only Net A - LAN - have origin to serve) - address unreachable.

Expected behavior

Overlapping networks detected when one of them is LAN and other is Remote.

Are you using NetBird Cloud?

Cloud.

NetBird version

0.67.1

Is any other VPN software installed?

No. Only Docker which also creates virtual interfaces.

Debug output

To help us resolve the problem, please attach the following anonymized status output

netbird status -dA

Create and upload a debug bundle, and share the returned file key:

netbird debug for 1m -AS -U

Uploaded files are automatically deleted after 30 days.

Alternatively, create the file only and attach it here manually:

netbird debug for 1m -AS

Screenshots

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?

  • Reviewed client troubleshooting (if applicable)
  • 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

Please watch videos about the basics of routing.

Because: this is not how routing works.

when you want to reach a destination the device check his routing table and in your example the packets are not send to any router (because the same subnet is local).

You should change your home or office subnet so something different (f.e. 192.168.10.0/24).

Hope this helps..

What you are trying to do can be done with a technology known as VXLAN with an underlay/overlay network.

could you clarify what is Overlapping Networks feature does then? @fre4ki

i also stated in the original message that my default lan is NOT available when netbird starts - so the packets are definitely went somewhere remote to be routed.

i suggest you can watch basic youtube videos on how Masquerade works to understand how nets with same cidrs can co-exist especially when vpn-ed

i know how it works (1:1 NAT).

maybe your requirement can be done with smaller subnets or /32 hosts defined. But if you have the same ip in both networks this will also not work..

maybe the developer can post something..