VLAN Setup Between Two OpenWRT Routers

Hello, I have two routers running openwrt. Router 1 has a vlan on port 3 that links to a switch, which in turn connects to a server that provides various services. Now I have a second openwrt router that is further away, and I want to connect it to that vlan so that I can access the services on that router's lan just as I can on router 1. So I created the same vlan on router 2, attached a cable from the switch to router 2 port 3, and configured the static IP address 192.168.10.2 because router 1's vlan is 192.168.10.1, and it worked somewhat. However, the server is now performing strangely; it is using router 2 as an internet connection while still connecting to router 1's static IP addresses. So I'm assuming that creating a static IP is the incorrect technique. They are practically two households, which is why I can't use router 2 as dumb ap, since it has its own networking, wifis etc. I want that both households can access services from the server.

Check the bridged-AP wiki entry, you probably didn't configure the dhcp- and dhcpv6 servers to be disabled. Also prefer to use proto=unmanged for all additional networks (meaning there's better only one interface with an IP address on the AP, the others are merely passed through).

The VLAN interface is DHCP. Sorry, I just set each service to static in the luci overview. Unmanaged did nothing; what kind of worked is that I made the same vlan (static) on router 2 and set a static ip of 192.168.10.2 and added the vlan to the lan and now I can access the services, but I'm not sure if it's the right way.

Could you draw a simple diagram of how things are connected, and also share the configs from both devices?

Please connect to your OpenWrt device using ssh and copy the output of the following commands and post it here using the "Preformatted text </> " button:
grafik
Remember to redact passwords, MAC addresses and any public IP addresses you may have:

ubus call system board
cat /etc/config/network
cat /etc/config/dhcp