Site to Site Networking Question

I have two raspberry pi subnet routers. One pi is on network 192.168.1.0/24 with ip address 192.168.1.206. I have another pi on network 192.168.0.0/24 with ip address of 192.168.0.7.

I followed site to site networking guide to setup my subnet routers, however when i use flag “–snat-subnet-routes=false” I cannot access the one subnet from the other and vice versa. If i use flag “–snat-subnet-routes=true” I don’t have any issues.

I’ve also added the static routes in my two physical routers (192.168.0.1 and 192.168.1.1) configuration to include:

Router 192.168.0.1

  • ip route add 100.64.0.0/10 via 192.168.0.7
  • ip route add 192.168.1.0/24 via 192.168.0.7

Router 192.168.1.1

  • ip route add 100.64.0.0/10 via 192.168.1.206
  • ip route add 192.168.0.0/24 via 192.168.1.206

These routes are persistent. Anyone else having issues with reaching subnets when using --snat-subnet-routes=false flag?

Thanks in advance!

1 Like