I have a problem. I need to connect two networks in the same IP range with Site-to-site VPN. Is it possible?
Network #1 (n1
) is 192.168.1.0/24
and network #2 (n2
) is also in the same range - 192.168.1.0/24
Is there a way I can set up a site to site network between both networks without changing the local IP range in each network?
I was thinking of something like this.
N1
stays on 192.168.1.0/24
and to access other devices in N1
it uses the same IP range. But a way to route to N2
using say 192.168.2.0/24
from N1 but at the same time let N2
to stay on 192.168.1.0/24
locally with N2
. Is it possible?
So:
N1
stays in 192.168.1.0/24
N2
stays in 192.168.1.0/24
Site to site VPN with WireGuard network stays in 10.20.40.0/24
N1
to be able to access N2
using 192.168.2.0/24
and to other devices in N1
using 192.168.1.0/24
N2
to be able to access N1
using 192.168.2.0/24
and to other devices in N2
using 192.168.1.0/24
I know this might be stupid - but if it isn't I'd love it. This is because we do not want to change the local network range for either IPs.