Community discussions

MikroTik App
 
teddyyuliswar
just joined
Topic Author
Posts: 20
Joined: Wed Apr 27, 2016 3:35 am
Contact:

BGP load-balance per-packet

Mon Jul 01, 2019 2:10 pm

mikrotik support multipath multiple-as and
load-balance per-packet for BGP?

whats the solution?

please help me

Thanks

Teddy Yuliswar

Sent from my SM-N960F using Tapatalk

 
User avatar
Cha0s
Forum Guru
Forum Guru
Posts: 1142
Joined: Tue Oct 11, 2005 4:53 pm

Re: BGP load-balance per-packet

Mon Jul 01, 2019 6:50 pm

You are looking for ECMP - Equal Cost Multipath.
https://wiki.mikrotik.com/wiki/Manual:B ... interfaces

ECMP by default (route cache=on), will load balance per connection and not per packet.
By disabling route cache (in IP > Settings) then ECMP load balances per packet on all available paths.

But some other features may stop working with route cache disabled. It's a double edged sword really.
 
teddyyuliswar
just joined
Topic Author
Posts: 20
Joined: Wed Apr 27, 2016 3:35 am
Contact:

Re: BGP load-balance per-packet

Tue Jul 02, 2019 4:52 am

Notes

BGP itself as protocol does not supports ECMP routes. When a recursively resolved BGP route is propagated further in the network, only one nexthop can be selected (as described here) and included in the BGP UPDATE message

how about this?

Sent from my SM-N960F using Tapatalk

 
User avatar
mrz
MikroTik Support
MikroTik Support
Posts: 7056
Joined: Wed Feb 07, 2007 12:45 pm
Location: Latvia
Contact:

Re: BGP load-balance per-packet

Tue Jul 02, 2019 12:44 pm

True ECMP for BGP is currently unsupported, but if for example two links point to the same remote router, where you want to run BGP, then you can set up single multihop peer over ECMP.
See example here:
https://wiki.mikrotik.com/wiki/Manual:B ... interfaces

Who is online

Users browsing this forum: No registered users and 28 guests