Community discussions

MikroTik App
 
wearfear
just joined
Topic Author
Posts: 13
Joined: Wed Aug 29, 2018 3:09 pm

BGP Local-preference acting weird.

Mon May 08, 2023 1:54 pm

Hey Guys,

I got some weird Mikrotik thing going on.
The local-preference isn't propperly updated in the router table.
This happens when both peers are active and i change the advertised local-preference (Both peers are Cisco).
I'm running the newest v6 long-term, and i've also tried a older one.

I've made the same configuration on a Cisco device, and it's working perfectly.

[admin@router] > /ip route print deta where dst-address=0.0.0.0/0 routing-mark=internet-vrf
Flags: X - disabled, A - active, D - dynamic, C - connect, S - static, r - rip, b - bgp, o - ospf, m - mme,
B - blackhole, U - unreachable, P - prohibit
0 ADb dst-address=0.0.0.0/0 gateway=10.1.1.5 gateway-status=10.1.1.5 recursive via 10.18.131.205 GRE-Tun2 distance=200 scope=40
target-scope=30 routing-mark=internet-vrf bgp-local-pref=120 bgp-med=0 bgp-origin=incomplete bgp-ext-communities="RT:65531:85"
[admin@router] >
[admin@router] >
[admin@router] > /routing bgp vpnv4-route print detail where dst-address=0.0.0.0/0 route-distinguisher="65531:85"
Flags: L - label-present
0 L route-distinguisher=65531:85 dst-address=0.0.0.0/0 gateway=10.1.1.4 interface=GRE-Tun1 in-label=265 out-label=277 bgp-local-pref=100
bgp-origin=incomplete bgp-ext-communities="RT:65531:85"

1 L route-distinguisher=65531:85 dst-address=0.0.0.0/0 gateway=10.1.1.5 interface=GRE-Tun2 in-label=265 out-label=265 bgp-local-pref=80
bgp-med=0 bgp-origin=incomplete bgp-ext-communities="RT:65531:85"
[admin@router] >


Anyone got a clue ?

EDIT: Apparantly, if you instead choose to raise the local-preference from the "Backup route" over the "Active route" It works.
BUT, it does not work if you lower the local-preference of the "Active route" to under the "Backup route".
Mikrotik is just amazing....

Who is online

Users browsing this forum: No registered users and 13 guests