6.40.4 - MPLS BGP VPNV4 redist to OSPF, then out..

Hello
In my little lab test network, I have a MPLS layer3 VPN running with BGP etc.

At one area in my network, I’m planning on redist BGP from a CE to the rest of the network via OSPF.

First problem, routes in the BGP table don’t seem to always make it to OSPF, when I’m redist - any idea?

This is my BGP VPNV4 Table - VRF is called ISP, RD 1:1000

[admin@MikroTik-RB] > /routing bgp vpnv4-route print detail
Flags: L - label-present
0 L route-distinguisher=1:1000 dst-address=5.5.5.5/32 gateway=100.64.1.6 interface=eth2-vlan210 in-label=16 out-label=16 bgp-local-pref=100
bgp-origin=incomplete bgp-ext-communities=“RT:1:1000”

1 L route-distinguisher=1:1000 dst-address=6.6.6.6/32 interface=loopbackISP in-label=17 bgp-ext-communities=“RT:1:1000”
2 L route-distinguisher=1:1000 dst-address=7.7.7.7/32 interface=loopbackISP in-label=16 bgp-ext-communities=“RT:1:1000”
3 L route-distinguisher=1:1000 dst-address=100.64.2.0/29 interface=eth2-vlan211 in-label=18 bgp-ext-communities=“RT:1:1000”
[admin@MikroTik-RB] >

Route in question is 5.5.5.5

My Routing table

[admin@MikroTik-RB] > /ip route print where routing-mark=ISP
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

DST-ADDRESS PREF-SRC GATEWAY DISTANCE

0 ADb 5.5.5.5/32 100.64.1.6 200
1 ADC 6.6.6.6/32 6.6.6.6 loopbackISP 0
2 ADC 7.7.7.7/32 7.7.7.7 loopbackISP 0
3 ADC 100.64.2.0/29 100.64.2.2 eth2-vlan211 0
[admin@MikroTik-RB] >

So 5.5.5.5, 6.6.6.6, 7.7.7.7 are there - excellent.

In the LSA -

[admin@MikroTik-RB] > /routing ospf lsa print detail where instance=ISP
instance=ISP area=ISP-backbone type=router id=0.0.0.101 originator=0.0.0.101 sequence-number=0x80000006 age=259 checksum=0xECD5 options=“”
body=
flags=BORDER
link-type=Transit id=100.64.2.1 data=100.64.2.2 metric=10
link-type=Stub id=6.6.6.6 data=255.255.255.255 metric=10
link-type=Stub id=7.7.7.7 data=255.255.255.255 metric=10

instance=ISP area=ISP-backbone type=router id=6.6.6.6 originator=6.6.6.6 sequence-number=0x80000005 age=3495 checksum=0x7BE2 options=“”
body=
flags=BORDER
link-type=Transit id=100.64.2.1 data=100.64.2.2 metric=10
link-type=Stub id=6.6.6.6 data=255.255.255.255 metric=10
link-type=Stub id=7.7.7.7 data=255.255.255.255 metric=10

instance=ISP area=ISP-backbone type=router id=100.64.2.1 originator=100.64.2.1 sequence-number=0x8000000C age=264 checksum=0x7515
options=“DC” body=
flags=BORDER
link-type=Transit id=100.64.2.1 data=100.64.2.1 metric=1

instance=ISP area=ISP-backbone type=network id=100.64.2.1 originator=100.64.2.1 sequence-number=0x80000001 age=264 checksum=0x22C4
options=“DC” body=
netmask=255.255.255.248
routerId=100.64.2.1
routerId=0.0.0.101

instance=ISP area=ISP-backbone type=summary-network id=0.0.0.0 originator=100.64.2.1 sequence-number=0x80000003 age=454 checksum=0x1084
options=“DC” body=
netmask=0.0.0.0
metric=1
[admin@MikroTik-RB] >

5.5.5.5 never seens to make it in the LSA - any idea why?

[admin@MikroTik-RB] > /routing bgp export

oct/15/2017 09:53:13 by RouterOS 6.40.4

software id = GE5E-XS8D

model = 2011iL

serial number = 75B506F2E004

/routing bgp instance vrf
add redistribute-connected=yes redistribute-ospf=yes routing-mark=ISP
/routing bgp peer
add address-families=ip,l2vpn,vpnv4 name=peer1 remote-address=100.64.1.6 remote-as=65530 route-reflect=yes ttl=default
[admin@MikroTik-RB] > /routing ospf export

oct/15/2017 09:53:17 by RouterOS 6.40.4

software id = GE5E-XS8D

model = 2011iL

serial number = 75B506F2E004

/routing ospf instance
set [ find default=yes ] redistribute-bgp=as-type-1 redistribute-connected=as-type-1 redistribute-static=as-type-1
add metric-bgp=5000 name=ISP redistribute-bgp=as-type-2 router-id=0.0.0.101 routing-table=ISP
/routing ospf area
add area-id=0.0.0.100 default-cost=1 inject-summary-lsas=no instance=ISP name=ISP-backbone type=stub
/routing ospf network
add area=backbone network=10.0.1.0/24
add area=ISP-backbone network=7.7.7.7/32
add area=ISP-backbone network=6.6.6.6/32
add area=ISP-backbone network=100.64.2.0/29
[admin@MikroTik-RB] >