Request a load balance/failover design suggestion

hi community.
I am researching for a network topology design, any suggestion will welcome.
here is my topology

  1. Two rb4011 connect to two ISP with 2 pppoe.
  2. L3 switch connect to these two rb4011, but these two rb4011 are located on different room, so there is possible to add a link between them.
  3. L3 switch support dynamic routing protocol, such as rip/ospf/bgp, but I just implement two static route with the same distance.
  4. user could be seperate by vlan, as show in the attachment picture.

question:
how to design/implement a load balance/failover between two rb4011 and l3 switch(ruckus icx 7250)
hxxy-topo(1).png

Is the 7250 running as a Layer 3 Switch? You need to set your route distances there, if so.

Why don’t you search the forum, read the documentation and then present your home work ( solution approach, config etc. ) for review.
No one is going to do your assignments for you.

https://help.mikrotik.com/docs/pages/viewpage.action?pageId=26476608
https://help.mikrotik.com/docs/display/ROS/Bonding+Load+Balancing
https://www.youtube.com/watch?v=nlb7XAv57tw&t=89s&pp=ygURZmFpbG92ZXIgbWlrcm90aWs%3D
https://www.youtube.com/watch?v=QWPCMNMF-jI&t=25s&pp=ygURZmFpbG92ZXIgbWlrcm90aWs%3D
https://www.youtube.com/watch?v=c9ybewdi3qk&t=76s&pp=ygURZmFpbG92ZXIgbWlrcm90aWs%3D

well, let me give some more info

icx7250

ip route 0.0.0.0 0.0.0.0 192.168.12.1
ip route 0.0.0.0 0.0.0.0 192.168.13.1

Set the same distance to both of them is in order to do load balancing

rb4011-e

ip route 192.168.3.0 0.0.0.0 192.168.13.2
ip route 192.168.2.0 0.0.0.0 192.168.13.2

rb4011-w

ip route 192.168.3.0 0.0.0.0 192.168.12.2
ip route 192.168.2.0 0.0.0.0 192.168.12.2

the problem I didn’t figure out is how to let 7250 decide which path will be taken when one/two of pppoe down?
for example, when rb4011-e’s two pppoe are down, Is it possible to let 7250 decide by itself to send traffic to rb4011-w?

here is the updated topology
hxxy-topo-3.png