Community discussions

MikroTik App
 
P00HB33R
just joined
Topic Author
Posts: 21
Joined: Tue Aug 10, 2021 4:20 pm

Bridge Setup with Failover

Fri Apr 08, 2022 12:55 pm

Hi Guys.

I hope someone can help me. Below is the basic layout of my hypothetical network. All Routers are in bridge mode, with all ports of each respective router on the their bridge.
Image

Segment 1:
Router 1 connected to Router 2 via Fiber

Segment 2:
Router 1 connected to Router 5 via Fiber
Router 5 connected to Router 4 via Fiber
Router 4 connected to Router 3 via Fiber

Failover Link:
Router 2 connected to Router 3 via Wireless Link (Port is disabled when not in use to prevent loop)

My question is, how can I have the Wireless Link port on Router 3 automatically enable when one of the paths goes down.
Eg:
- If Link R1->R5 goes down, enable wireless link
- If Link R5->R4 goes down, enable wireless link
- If Link R4->R3 goes down, enable wireless link
- If Link R1->R2 goes down, enable wireless link
- If all links are good, traffic should flow: R3->R4->R5->R1 and R2->R1

Any help would be greatly appreciated and thanks in advance
 
tdw
Forum Guru
Forum Guru
Posts: 2089
Joined: Sat May 05, 2018 11:55 am

Re: Bridge Setup with Failover

Fri Apr 08, 2022 3:10 pm

Use spanning tree (RSTP rather than the original STP), adjust the bridge priority on router 1 to make that the root device, set the path costs so the non-forwarding path is router2 - router 3. See https://help.mikrotik.com/docs/display/ ... e+Protocol and https://help.mikrotik.com/docs/display/ ... eeProtocol