Correcting errors on BGP Route Reflector configuration
This post is an update to my previous configuration. The problem with route reflectors is I had to set the next hop to self. Doing so, from the node cobra (that peer with both route reflectors) all prefixes are prefered from one route reflector only. it means we don’t have optimal routing in place. To enhance the current topology, I decided to use AS prepend between the 2 route reflectors. That way, subnets will have automatically best path to destination from cobra.
Bird
Seting up the BGP out filter in bird to add AS prepend:
Here is the resulting RIB table on cobra
Calico
By default, with calico there is a default deny policy, to at least allow ICMP, here is the relevant configuration