Community discussions

MikroTik App
 
abehterev
just joined
Topic Author
Posts: 2
Joined: Wed Nov 21, 2018 5:38 pm

Wrong priority for some routes in bgp

Wed Nov 21, 2018 5:52 pm

Hi everyone.
I've just seen some routes are in wrong order in routing table. I've made some change in bgp peers setting and filters to correct order of all my egress traffic, but some routes are still wrong.
For example I've set filters as described bellow:
add action=accept chain=RETN_in protocol=bgp set-bgp-local-pref=200 set-bgp-weight=40
add action=accept chain=Severen_in protocol=bgp set-bgp-local-pref=100 set-bgp-weight=20
I'd like to set priority RETN ISP for outgoing traffic and I've used to do that two metrics (also I've tried to use set-bgp-prepend but it didn't help me too).
I can see in routing table: some routes are ok, but some are wrong. Take a looking for a picture.
2018-11-21_18-29-16.png
My question is: Is (was) it a bug in mikrotik, or have I done something wrong? Thank you.
  routerboard: yes
  model: CCR1009-7G-1C-1S+
  firmware-type: tilegx
  factory-firmware: 3.41
  current-firmware: 6.41.3
  upgrade-firmware: 6.41.3
You do not have the required permissions to view the files attached to this post.
 
User avatar
mrz
MikroTik Support
MikroTik Support
Posts: 7042
Joined: Wed Feb 07, 2007 12:45 pm
Location: Latvia
Contact:

Re: Wrong priority for some routes in bgp

Mon Nov 26, 2018 12:26 pm

Instance for both peers is the same?
 
User avatar
sri2007
Member Candidate
Member Candidate
Posts: 205
Joined: Wed May 20, 2015 10:14 pm
Location: Lake Grove, NY

Re: Wrong priority for some routes in bgp

Sat Dec 01, 2018 7:10 pm

Hi, can you help us bu posting the filters for each prefix? and the peer configuration too?
 
abehterev
just joined
Topic Author
Posts: 2
Joined: Wed Nov 21, 2018 5:38 pm

Re: Wrong priority for some routes in bgp

Tue Feb 26, 2019 12:25 pm

Instance for both peers is the same?
In this case are different.

And tell me please, what means instance, I've read all docs on this site but don't understand when I must use separated instance and when mustn't?
 
User avatar
mrz
MikroTik Support
MikroTik Support
Posts: 7042
Joined: Wed Feb 07, 2007 12:45 pm
Location: Latvia
Contact:

Re: Wrong priority for some routes in bgp

Tue Feb 26, 2019 12:31 pm

Unique instance should be used per VRF or in other special cases.
For common BGP setups all peers must use the same instance. Reason is that BGP selection algorithm is not used between routes received from different instances.

Who is online

Users browsing this forum: No registered users and 11 guests