Routing without NAT

Hi,
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?

Are you able to share your configuration (with secrets removed)?

Hello, @RchN!
Topology which you are described is correct. So it must be some problem with config or hidden pitfall which is not obvious from your description.
Provide please next information so we can help you:

  1. VyOS configuration;
  2. routing tables from both of your routers;
  3. traceroute output to 192.168.1.254, 192.168.2.254 and any host in a remote network (if your PC is in LAB then to UPC or vice versa).