2 dsl 2 mikrotik 2 DHCP with wireless link

i want to know whats the right way to make each office use its own internet at the same time ping each network over wireless link like sharing file and voip and camera
any one help me with right idea
Drawing1.jpg

Hello.

The solution is routing your network. You should connect your mikrotik device in the center of your network linking dsl, sw and Ubiquiti
First add a network segment in wireless link (i am assuming you have yours ubiquiti in bridge mode)
for example 10.0.0.0/24 where
10.0.0.1 ether in office A
10.0.0.2 ip for management ubiquiti office A
10.0.0.3 ether in office B
10.0.0.4 ip for management ubiquiti office B

Then create routes between both mikrotik.
Router A
/ip route add dst-address=192.168.20.0/24 gateway=10.0.0.4
Router B
/ip route add dst-address=192.168.10.0/24 gateway=10.0.0.1

Like the Mikrotik slogan Routing the world!