Two LAN port failover

Hello,

I have question about one solution.

We are using one LAN network.
That LAN network is in port 2. [ether2-master]
We have few switches in that network and controllers attached to thouse switches.
Is it possible to make failover port for example to port 5? [ether5]
I want to make ring topology.
Lets say, when i ping from port 2 one controller and if at one point that controller is not responding, then it will turn port 5 on.
Will there be a loop then?
Or is there any solutions how should i do that.. bonding.. link aggregation?

Best of all!

You should look into LACP

https://wiki.mikrotik.com/wiki/Manual:Interface/Bonding#802.3ad

RSTP is enabled on each port by default so I don’t think connecting port and port 5 to the same switch would create a loop.

Not tried myself though. make sure the switch has RSTP as well just to be safe.
otherwise some sort of script would be useful, if ping IPofSwitch timeout, disable port 2 and then enable port 5, if ping establish again, do the reverse…