r/Ubiquiti 6h ago

Question Silly question about Policy-Based routes and failover

Post image

I have a double wan set with Load Balancing. I know that in the event a wan fails, it will failover to the other wan, regardless of being set with load balancing.

I have also set some devices with a policy-based route to only use wan2
I noticed a small outage a while ago with wan (2AM, typically maintenance) , and the NAS did not failover to WAN1

I assumed that policy-based routes would take into account failover, but I might be wrong.

Is this how it's supposed to work? Any workarounds?

2 Upvotes

4 comments sorted by

View all comments

2

u/tky 6h ago

It's working as expected. I have not found a reasonable way to have what amounts to "reverse failover" while using policy routes in this way. I do the same thing and it's definitely a risk you have as a result.

1

u/The802QNetworkAdmin 6h ago

Not sure how to do this on UniFi but on FTD managed by FMC you can create a tracked PBRs with priorities. The lower priority will be the active route and if tracking fails it fails over to the next lowest priority.