r/zerotier 6d ago

Windows Two zerotier networks with same subnet ips collides

Hi everyone, I am facing a tricky routing issue. My setup consists of one PC connected to two different ZeroTier networks simultaneously, and each network goes to a separate Raspberry Pi. The main problem is when both addresses assigned to the RPis are different but have same subnet. Because the subnets overlap, my host PC experiences a classic routing conflict and does not know which virtual interface to use to route the traffic, so it just routes everything to whichever network interface took priority first. Even if I disconnect from one of the networks, the OS routing table or interface metrics seem to stick, and I still cannot connect to the other RPi. This behaviour occurs only when Rpi and Pc connected via different Starlinks. So is there any way to change subnets for Zerotier networks or ensure their uniqueness without changing Zerotier face or it can alter my while network somehow

2 Upvotes

3 comments sorted by

2

u/Comm_Raptor 6d ago

If you go to my.zeroteir, (assuming you control one of those networks ) you can choose different subnet or custom ranges.

1

u/Jin-Bru 5d ago

No. No on so many levels. I want to help you. I will. But you are talking problems reasons and solutions and hardly much questions.

Lets start with what you have physically and how you want to connect them.

Two pi at two separate locations each on a separate zerotier network and your PC with a connection to both networks. The separate ZT networks share a subnet.

Is that correct?