I face a problem in BGP in Mikrotik. The thing is My computer is connected to a 450G router, which in turn connected to another RouterBoard 1100 router through two links, say Left and Right, using BGP. RouterBoard 1100 is connected to the internet. 450G is receving two default routes from 1100 and I am announcing 192.168.10.0/24 from 450G. By default it prefers Right path, as seen in the ip route table. when I increase the Local Preference of Left link the preferred path will be Left link as seen in the ip route table. But when I trace to google from my PC it is still going through Right link.
Is this a bug of Mikrotik or what? How to control outgoing traffic? Thing seems correct but not working.
The route with the high local preference value is preferred and becomes active as seen in ip route table. I am seeing this and this is ok. but when I trace from my pc or from the 450G with src-address=192.168.1.1 (which is an IP in 450G and gateway to my PC) it is going through other link, not through the active link.
This is the problem sir!!!
[admin@R1] > ip route print
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
[admin@R3] > ip route print
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
It works in that way, but as per the BGP standard, you know path prepend is used to influence incoming traffic and Local Preference is used to influence outgoing traffic. Why Mikrotik is not following this standard?