OSPF between v6 and v7

In our test lab, we have a CCR1009 running 6.47.9 and a RB5009 running 7.1 We are attempting an OSPF connection between the two with a PtP link. The 1009 was previously set up to talk to a test router running v6 over PtP with no issues. We replaced the v6 with the 5009, configured OSPF on the 5009 to match and no neighbors.

I can get two v7 routers to talk to each other so it is clearly an issue between v6 and v7 and my config. I am assuming v7 can create a PtP OSPF connection with a v6 router…

100.126.0.x are OSPF transit networks. 100.127.1.16 is the router loopback.

5009:

/routing ospf instance
add name=default originate-default=never redistribute="" router-id=id-1
/routing ospf area
add instance=default name=backbone
/routing ospf interface-template
add area=backbone cost=10 dead-interval=10s hello-interval=5s networks=100.127.1.16/32 passive priority=1 retransmit-interval=3s
add area=backbone cost=50 dead-interval=10s hello-interval=5s networks=100.126.0.224/29 priority=1 retransmit-interval=3s type=ptp

1009:

/routing ospf instance
set [ find default=yes ] router-id=100.127.1.5
/routing ospf interface
add cost=50 dead-interval=10s hello-interval=5s interface="vlan 3027 - Transit to Test BU" network-type=point-to-point retransmit-interval=3s
/routing ospf network
add area=backbone comment=Loopback network=100.127.1.5/32
add area=backbone comment="Test BU" network=100.126.0.224/29

I’ve tried changing the v7 interface-template to use the VLAN interface where the /29 is. No change. Never get an adjacent router.

No network command in 7.1?

Not as a separate section. The network is entered into the interface-template.

I’ve had a problem with this as well but haven’t had time to debug or do a packet capture.

Here are 10278 state changes over maybe 2 days of uptime. The router output below is from an RB4011 (ROS 7.1 testing) connected to a CCR1009 (ROS 6.48.5 long term)


[zuul@zt-gw-01.iparchitechs.net] > routing/ospf/neighbor/print detail
Flags: V - virtual; D - dynamic
 0  D instance=ospf-instance-v2 area=ospf-area-0 address=100.126.10.9 router-id=100.127.0.1 state="Full" state-changes=10278 adjacency=14s timeout=36s

It does not appear that my RB4011 sends ospf hello messages out my zerotier interface.

# dec/04/2021 11:10:01 by RouterOS 7.1
# software id = IZUY-SLWC
#
# model = RB4011iGS+
# serial number = 
/routing ospf instance
add name=default router-id=10.17.255.1
/routing ospf area
add instance=default name=default
/routing ospf interface-template
add area=default interfaces=zerotier1 networks=192.168.2.0/24

I figured it out, ospf is working correctly.