RouterOS v7 VRF + BGP failover issue: traffic does not exit via backup ISP when main link is down and Public subnet in VRF reachable only when MAIN BGP peer is up

Topology

RB5009 RouterOS 7.19.6

MAIN ISP:

  • vlan3061-INTERNET-MAIN
  • BGP peer 10.2.46.13

BACKUP ISP:

  • vlan3062-INTERNET-BACKUP
  • BGP peer 10.2.46.17

Public subnet:
102.244.197.24/29

LAN:
ether1-INTERNET-LAN

GOAL

I want Internet traffic from 102.244.197.24/29
to continue working through BACKUP BGP link
when MAIN link is down.

Problem

When MAIN link is UP:

  • ping 8.8.8.8 works

When MAIN link is DOWN:

  • BGP session INTERNET-BACKUP remains established
  • default route exists in Internet-vrf
  • traceroute never leaves the router
  • ping 8.8.8.8 fails

filters, local-preference, advertised routes are ok?

when you use ping with src address of public subnet, it works?

As kowal has said, I know for me, we have a router setup with two BGP connections, one is slower than the other, so we primarily use the faster connection. This of course is only on the way out, because on the way back it uses the one it thinks it should use. We are only using 1 VRF for this, and using a script with weights to make the decision out.

Please read and apply this: Forum rules - #5 by gigabyte091