I’m a newbie and would like to kindly ask you experts for a running config that would meet my goals.
I have to separate networks at home. Both of them have physical routers and their own internet access.
LAB: 192.168.1.0/24 gateway192.168.1.1
UPC: 192.168.2.0/24 gateway 192.168.2.1
I want to have simple routing between those networks, so when I’m connected to LAB I can access hosts in UPC and vice versa. Still I want to use default gateways from those networks on my computers.
I tried to setup VyOS as a VM with two interfaces with static addresses:
eth0: 192.168.1.254 - connected to LAB network
eth1: 192.168.2.254 - connected to UPC network
I created a zone rules with default action accept.
On the LAB router I created a static route:
192.168.2.0/24 should go through 192.168.1.254
On the UPC router I created a static route:
192.168.1.0/24 should go through 192.168.2.254
It doesn’t work. Pings just timeout. Any idea how to set it up to make it work?