I have discovered that I cannot upgrade from 5.0rc10 to 5.0rc11 or 5.0 without breaking my BGP setup.
I have two uplinks, each connected to a different BGP router of my ISP.
I also have (the same) /27 network routed to both my BGP peers so it works in a fail over mode.
I had to set up BGP weight/priority so my BGP peers would tell the Ciscos of the ISP which BGP is preferred for traffic.
Otherwise every other packet would be sent to each of my routers.
This thing stopped working since 5.0RC11. The set-bgp-prepend option does not seem to be honored anymore.
My primary BGP router runs on RC10. My backup router can actually run on 5.0.
This outgoing filter is set up on my backup router. It tells it’s peer that this BGP has lower priority in route selection process.
This router runs RouterOS 5.0.
My primary router does not have set-bgp-prepend defined which I believe defaults to 1.
0 ;;; IPv4 BGP Link
chain=as65004out prefix=111.222.333.0/27 bgp-as-path=31283 address-family=ip invert-match=no action=accept
1 chain=as65004out prefix=0.0.0.0/0 prefix-length=0-32 bgp-as-path=31283 address-family=ip invert-match=no action=reject
Did anything change for set-bgp-prepend since 5.0rc11?
I changed the filter rules a bit and set prepend to the first rules as well.
Unfortunately this did not fix the problem. Why does this work with 5.0rc10 and not on newer versions of RouterOS ?