BGP Routes / Gateways Inactive
Posted: Mon Jan 03, 2022 10:07 pm
I am in the process of migrating some routers from Cisco to Mikrotik. I am having trouble with a specific use case: down-stream BGP customers, which we don't have many of.
Not all of the above routes are important to the problem, but I wanted to leave as much detail as possible in case there are any helpful pieces in there. The problem is with routes 9 and 10. They are not active. They were when this router was a Cisco. I've read about scope and target scope and I believe these should be fine at their default values.
Route 9 has a gateway of 64.7.165.246 and a target scope of 30. Route 11 (64.7.165.244/30) resolves that gateway and has a scope of 20 (less than or equal to 30).
Route 10 has a similar issue.
What you see above is unaltered. This customer is using a Private ASN and announces these IP addresses to us in two different data centers. The /26 does not get advertised to the global Internet; it is part of a larger announcement, but within our network, the customer can control which data center the traffic goes to. Under normal operation, the traffic goes to the data center with one AS hop and it automatically fails over to the other data center where they advertise with two AS hops should the primary go offline for any reason.
I am new to scope and target scope (not used in Ciscos) but if I am understanding the Wiki and forum posts correctly, they should not need to be adjusted in this case. This router is running 6.48.6. I'm hoping someone more expert and experienced than me can help me see what my new-to-BGP-on-Mikrotik eyes are missing.
Thanks!
Dave
Code: Select all
[admin@rtr-1] > ip route print detail where dst-address in 64.7.165.0/24
Flags: X - disabled, A - active, D - dynamic, C - connect, S - static, r - rip, b - bgp, o - ospf, m - mme, B - blackhole, U - unreachable, P - prohibit
0 ADo dst-address=64.7.165.0/24 gateway=64.7.163.116 gateway-status=64.7.163.116 reachable via bridge_switch.100 distance=110 scope=20 target-scope=10 ospf-metric=30 ospf-type=external-type-1
1 Db dst-address=64.7.165.0/24 gateway=64.7.163.116 gateway-status=64.7.163.116 reachable via bridge_switch.100 distance=200 scope=40 target-scope=30 bgp-local-pref=100 bgp-med=0 bgp-origin=igp
received-from=rtr-2.sfldmi-2
2 ADo dst-address=64.7.165.0/29 gateway=64.7.163.116 gateway-status=64.7.163.116 reachable via bridge_switch.100 distance=110 scope=20 target-scope=10 ospf-metric=30 ospf-type=external-type-1
3 ADo dst-address=64.7.165.8/30 gateway=64.7.163.116 gateway-status=64.7.163.116 reachable via bridge_switch.100 distance=110 scope=20 target-scope=10 ospf-metric=30 ospf-type=external-type-1
4 ADo dst-address=64.7.165.12/30 gateway=64.7.163.116 gateway-status=64.7.163.116 reachable via bridge_switch.100 distance=110 scope=20 target-scope=10 ospf-metric=30 ospf-type=external-type-1
5 ADo dst-address=64.7.165.16/28 gateway=64.7.163.116,64.7.163.117 gateway-status=64.7.163.116 reachable via bridge_switch.100,64.7.163.117 reachable via bridge_switch.100 distance=110 scope=20 target-scope=10
ospf-metric=30 ospf-type=external-type-1
6 ADo dst-address=64.7.165.17/32 gateway=64.7.163.117 gateway-status=64.7.163.117 reachable via bridge_switch.100 distance=110 scope=20 target-scope=10 ospf-metric=30 ospf-type=external-type-1
7 ADo dst-address=64.7.165.32/27 gateway=64.7.163.116,64.7.163.117 gateway-status=64.7.163.116 reachable via bridge_switch.100,64.7.163.117 reachable via bridge_switch.100 distance=110 scope=20 target-scope=10
ospf-metric=30 ospf-type=external-type-1
8 ADo dst-address=64.7.165.33/32 gateway=64.7.163.117 gateway-status=64.7.163.117 reachable via bridge_switch.100 distance=110 scope=20 target-scope=10 ospf-metric=30 ospf-type=external-type-1
9 Db dst-address=64.7.165.64/26 gateway=64.7.165.246 gateway-status=64.7.165.246 inactive distance=200 scope=40 target-scope=30 bgp-as-path="64514" bgp-local-pref=200 bgp-med=0 bgp-origin=igp
received-from=rtr-2.sfldmi-2
10 Db dst-address=64.7.165.64/26 gateway=64.7.160.230 gateway-status=64.7.160.230 inactive distance=200 scope=40 target-scope=30 bgp-as-path="64514,64514" bgp-local-pref=200 bgp-origin=igp
received-from=rtr-2.mdldmi-2
11 ADo dst-address=64.7.165.244/30 gateway=64.7.163.116 gateway-status=64.7.163.116 reachable via bridge_switch.100 distance=110 scope=20 target-scope=10 ospf-metric=30 ospf-type=external-type-1
admin@rtr-1] > ip route print detail where dst-address=64.7.160.228/30
Flags: X - disabled, A - active, D - dynamic, C - connect, S - static, r - rip, b - bgp, o - ospf, m - mme, B - blackhole, U - unreachable, P - prohibit
0 ADo dst-address=64.7.160.228/30 gateway=64.7.163.118 gateway-status=64.7.163.118 reachable via bridge_switch.100 distance=110 scope=20 target-scope=10 ospf-metric=30 ospf-type=external-type-1
Route 9 has a gateway of 64.7.165.246 and a target scope of 30. Route 11 (64.7.165.244/30) resolves that gateway and has a scope of 20 (less than or equal to 30).
Route 10 has a similar issue.
What you see above is unaltered. This customer is using a Private ASN and announces these IP addresses to us in two different data centers. The /26 does not get advertised to the global Internet; it is part of a larger announcement, but within our network, the customer can control which data center the traffic goes to. Under normal operation, the traffic goes to the data center with one AS hop and it automatically fails over to the other data center where they advertise with two AS hops should the primary go offline for any reason.
I am new to scope and target scope (not used in Ciscos) but if I am understanding the Wiki and forum posts correctly, they should not need to be adjusted in this case. This router is running 6.48.6. I'm hoping someone more expert and experienced than me can help me see what my new-to-BGP-on-Mikrotik eyes are missing.
Thanks!
Dave