Community discussions

MikroTik App
 
adilmehmoodbutt
just joined
Topic Author
Posts: 2
Joined: Fri Feb 21, 2014 11:29 am

Mikrotik BGP Protocol configuration

Fri Feb 21, 2014 1:12 pm

HI,

I have an issue with mikrotik Rb-750 gigabyte, 5.11 v router board BGP configuration. My router using my both ISP connection for download and upload bandwidth while i monitor in interface but i want to use my 1st connection as primary cnnection and secondary mean 2nd isp connection as backup connection how can i prioritize my primary connection for upload/download traffic in my router and keep my 2nd ISP connection as backup.
 
matthew
just joined
Posts: 10
Joined: Sat Sep 22, 2007 12:43 am
Location: Minneapolis, MN

Re: Mikrotik BGP Protocol configuration

Sat Feb 22, 2014 1:52 am

Greetings,

The cleanest way to accomplish this is using BGP Local Pref.

You can set local pref using a routing filter on the way in from each ISP. (make your preferred connection have a local pref of 80, and your backup connection have a local pref of 70). I'm assuming you're only receiving a handful of routes, or a default route and not a full feed if you're using a RB750.

But that only gets you halfway there (prioritizing your outbound traffic).

In order to prevent inbound traffic from using your backup connection while your primary is up...your backup ISP needs to support BGP communities. Specifically, one that will let you lower the local pref on their side below their upstreams. You set the BGP community on the outbound filter facing your backup connection. For example, Level 3 would have you use the 3356:70 community to set the Local Pref to 70 on their side. (which will essentially stop advertising your route unless they see your prefix disappear from your primary connection).

~Matthew
 
User avatar
StubArea51
Trainer
Trainer
Posts: 1739
Joined: Fri Aug 10, 2012 6:46 am
Location: stubarea51.net
Contact:

Re: Mikrotik BGP Protocol configuration

Fri Feb 28, 2014 8:01 pm

Communities are certainly preferred to influence inbound traffic, but you can also use prepending if communities are not available

Who is online

Users browsing this forum: No registered users and 60 guests