Route balancing

  • 0
  • 1
  • Question
  • Updated 3 years ago
  • Answered
Hi, all!

For example there is 2 border routers connected to 1 switch.
1 border - main provider, 2 border - reserved provider.
We can configure flow-redirect with, for example, ping health check.

Is there other variant to configure route balancing? 

Thank you!
Photo of Alexandr P

Alexandr P, Embassador

  • 12,596 Points 10k badge 2x thumb

Posted 3 years ago

  • 0
  • 1
Photo of Christoph

Christoph

  • 1,842 Points 1k badge 2x thumb
OSPF would be one possibility. With path costs you can influence the the packet flow.
Photo of Brandon Clay

Brandon Clay, Escalation Support Engineer

  • 13,304 Points 10k badge 2x thumb
You could use ECMP, but this will split traffic approximately evenly between the next-hops (it actually uses the same algorithms as LAGs for hashing).
Photo of Alexandr P

Alexandr P, Embassador

  • 12,596 Points 10k badge 2x thumb
Hi!

ECMP not actually that what I need.
I mean configuration which corporate often used in the network - primary and secondary (backup) uplink to provider.
Network work across primary uplink (secondary don't using), when primary failed, then work through secindary uplink.

Thank you!
Photo of Frank

Frank

  • 3,776 Points 3k badge 2x thumb
Hi,

If your two border routers already use BGP and talk BGP to each other - even if it's only for the default route - you could give router 1's route a higher preference. If router-1's link dies, everything goes through router-2.
You could even add your central switch as another BGP peer (peering with your border routers), which only gets default-route adverts from your border routers, with one router preferred over the other. In that case, if your border router dies (and not only the uplink), everything goes through your connected router.
I'm assuming that your two routers talk BGP to the providers and to each other.