I am trying to run a second OSPF instance to provide automated routing redundancy between 3 sites. The infrastructure is currently routed statically and routes appear in the OSPF LSA tables but the OSPF route table marks the routes as inactive. I’ve temporarily disabled the instance on router 3 to make it easier to debug.
I didn’t realise that OSPF wouldn’t resolve static routes for the destinations. Disabling the static routes resulted in the OSPF propagated routes becoming active and the inactive route then being active:
Before disabling the static routes:
ip route print detail where dst-address in 172.19.105.0/29
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 A S ;;; Direct Transact - SR - MPLS:
dst-address=172.19.105.0/29 gateway=172.31.255.17
gateway-status=172.31.255.17 on mpls reachable via telkom-vlan5
check-gateway=ping distance=1 scope=30 target-scope=10
routing-mark=mpls
1 S ;;; Direct Transact - SR - MPLS:
dst-address=172.19.105.0/29 gateway=172.31.255.22
gateway-status=172.31.255.22 on mpls reachable via gre-tunnel-461
check-gateway=ping distance=10 scope=30 target-scope=10
routing-mark=mpls
2 Do dst-address=172.19.105.0/29 gateway=172.31.255.17
gateway-status=172.31.255.17 on mpls reachable via telkom-vlan5
distance=110 scope=20 target-scope=10 routing-mark=mpls
bgp-ext-communities="OSPF Route Type:0.0.0.0:2:0,OSPF Router
ID:172.19.213.3:0,OSPF Domain ID:0x0005:0x0 0x0 0x0 0x0 0x0
0x0"
ospf-metric=20 ospf-type=intra-area
Hrm… I have some other routes which refuse to become active where the next hop is reachable. This route originates via a static route on router2 and should be learnt and installed in Router1:
Router2: