Hello there,
Let's figure it out and solve that scenario. I think you mean that 2 networks under the router has their own DHCP Server on each network and you wanted that all the client under the network can communicate each other, then you could go to try static routing if you under control on the network and there's no other network outside your control that you didn't know what's the protocol they used to do a routing. (
probably you need a dynamic if there's exist)
You can do start with configuring the IP Address on each ether that directly connected to each switch with their own IP subnets. After that, you can go just typing some command to do a static routing for each network.
Adding some IP Address on each interfaces connected
/ip address
add address=172.16.200.1/24 interface=ether2
add address=10.20.10.1/20 interface=ether3
and then, do some route to acknowledge the network on both side
/ip route
add dst-address=172.16.200.0/24 gateway=10.20.10.1
add dst-address=10.20.10.0/20 gateway=172.16.200.1
I think with that the network should be communicate each other, obviously I don't have experience with L3 switch, is it need to routed or it can go flawlessly because both network connected through the same router and there's no need to route. Based on my knowledge, if is 2 or more router and the local not connected directly to the destination that need to reach out then it will need to do some routing. I suggest you read more further into this manual that could help the situation more reliable,
Simple Static Routing and
IP Route.
Hopefully that could help, if there's any mistaken please correct me
Regards.