Bridging 2 networks with Zero Tier. What am I missing?

I have searched some in the forums but not finding what I need.

I have Zero tier set up on my remote location and using a. PI as a bridge.

That network is 192.168.1.0

My Zero tier. network is also 192.168.1.0 also

So far it works on my clients from windows etc to be. able to get what I need to on that network.

What I would like to do now is Bridge my home network to my remote network using a small linux computer. The network here is 192.168.4.1. So far. I am not sure where I am failing at but I can’t get it to work.

  1. Do I need to switch my 192.168.4.1 network to 192.168.1.1. here? Or what am I missing to make this work?

Thanks in advance.
Brad

I think you would need them all to have the same subnet, yes. But you do want to make sure your assignment pools don’t overlap.

Is there a way to keep. the 2nd site. as. 192.168.4.1?

Different networks at different sites = routing.
Same networks at different sites = bridging.

Adding to what adekker said, you can definitely have a different subnet at different sites, and it’s what I would recommend. Letting ZeroTier know how to get to 192.168.4.0/24 is the easy part, but letting your 192.168.4.0/24 know how to get to your ZeroTier network has some constraints. Here’s a short rundown of what you’ll need to do:

  1. Add a managed route within the ZeroTier console to 192.168.4.0/24 via <the ZT IP of your Linux host>
  2. Enable IP Forwarding in Linux
  3. If your router at the location supports static routing, you’ll need to add a static route of 192.168.1.0/24 with a next-hop of that same Linux box. The network path would be ZT->Linux Host->Target Host->Router->Linux Host->ZT.
  4. If your router does not support static routes, then you can configure NAT Masquerade (Port Address Translation) on the LInux box, but the limitation there will be that you can only originate traffic from ZeroTier to the 192.168.4.0/24 network. Traffic won’t be able to be originated from 192.168.4.0/24 to your ZeroTier network without additional mechanisms like destination NAT or Proxy-Arp on that Liinux host.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.