I have a problem with Mikrotik RoS 3 (3.30 and 3.28). Using version 4 ot seems to work fine.
The setup is very simple, I am using BGP to provide fail-over between two directly Mikrotiks.
The problem is that when the Mikrotik version 3 establishes the second BGP session the first BGP
session looses all the prefixes it had for no reason. However on the Mikrotik version 4 it correctly
keeps the prefixes for both sessions.
Basically I have two routers with two interfaces, and for each interface there is a BGP session.
Router1 ---- link a ---- Router2
Router1 ---- link b ---- Router2
So I have one BGP session for link A and and another for link B. The BGP configuration is the same (no filters, just redistribute connected) so the prefix count on both session should match.
I would rebuild that a little bit.
create a loopback bridge on each router with a loopback address, and announce the loopback addresses via OSPF.
then set up the BGP peers using the loopback addresses.
Should a link fail, OSPF will converge and route packets the other way, keeping the BGP session alive.