My main CHR has 3 main uplinks. Two are via direct BGP, and one is via another Mikrotik (which I have control over) on the ISP's premises. All 3 uplinks receive full table BGP.
The issue is, the two providers who are direct BGP peers have high latency. The one that's sharing routes via OSPF is much better.
How do I prefer the OSPF routes over the BGP routes? I have already tried setting the BGP routes' distance to 115 via an input filter (OSPF distance is 110 as shown below) yet traffic still goes through the BGP routes.
The network diagram is
Code: Select all
ISP 1 ISP 2 ISP 3
Full BGP Full BGP Full BGP
▲ ▲ ▲
│ │ │
│ │ │
│ │ ┌────────┴─────────┐
┌┴────────┴┐ OSPFv3 │ISP 3 On-Premises │
│ Main CHR ◄────────────────────► Mikrotik │
└────┬─────┘ └──────────────────┘
│
│
▼
My Computer
Code: Select all
[admin@MikroTik] > /ipv6/route/print
Flags: D - dynamic; X - disabled, I - inactive, A - active; c - connect, s - static, r - rip, b - bgp, o - ospf, d - dhcp, v - vpn, m - modem, g - slaac, y - bgp-mpls-vpn;
H - hw-offloaded; + - ecmp
# DST-ADDRESS GATEWAY DISTANCE
DAo ::/0 fe80::7:3bff:fe29:257... 110
DIgH ::/0 fe80::f652:14ff:fe0a:... 1
DAc ::/64 eth3-LAN 0
DAb 2001::/32 2a0e:46c4:2d0d:1633::1 115
DAb 2001:4:112::/48 2a0e:46c4:2d0d:1633::1 115
DAb 2001:200::/32 2a0e:46c4:2d0d:1633::1 115
DAb 2001:200:900::/40 2a0e:46c4:2d0d:1633::1 115
DAb 2001:200:e00::/40 2a0e:46c4:2d0d:1633::1 115
DAb 2001:200:c000::/35 2a0e:46c4:2d0d:1633::1 115
DAb 2001:200:e000::/35 2a0e:46c4:2d0d:1633::1 115
DAb 2001:218::/32 2a0e:46c4:2d0d:1633::1 115
DAb 2001:218:2002::/48 2a0e:46c4:2d0d:1633::1 115