The scenario: 1 AS is shared between two datacenters. The AS has /22 prefix assigned to it, but it's divided internally to two /23s. One per each DC. DCs have one point to point fiber link and each DC has their own transit. Routers are interconnected using iBGP.
When that fiber link is up I'd like to announce both /22 and /23, but when that link breaks I'd only like to announce the more specific /23 to transit providers.
So any idea how to implement that? Basically I was thinking of having static route with BFD and if that static route goes away it would pull that covering prefix from our transit providers. So I don't blackhole the traffic for other DC when our internal fiber is down.
I'm really new to the Mikrotik platform, previously I have been using Juniper's JunOS. So I welcome all suggestions how to implement this in Mikrotik.