Hi
I wonder if there is anything special that has to be done to make OSPF work between routerOS 7.22.2 and 6.49.19
I have some old RB SXT [2/5]HnD which do not have enough memory to run RouterOS 7.x reliably.
But they are still usable to provide for example a backup link via WiFi
I use OSPF on various 7.22.x boxes within my network and it works fine (even via WireGuard) links.
But I don't get OSPF to initialize between 6.49.19 and 7.22.2.
The 7.22.2 box nevers sees the RouterOS 6 neighbor, the 6.49.19 box sees the RouterOS 7 neighbor but is stuck at the init phase. (I ended up setting up a RIP instance on both, that works).
OSPF configuration on RouterOS 6 is quite different from 7. Maybe I missed something? Is there still some help pages somewhere on how to set up OSPF on RouterOS 6?
-Benoit-
Hi,
Should work. Remeber that v7 denies most of traffic so you have to enable it. Do not forget enable BFD traffic if you use it.
Please find excerpt from my 2 routers. 172.16.0.0/16 addresses are used only for OSPF's links.
# may/26/2026 18:33:07 by RouterOS 6.49.19
# model = RouterBOARD 750G r3
/routing ospf instance add name=ospf-iBGP router-id=10.9.128.188
/routing ospf area add area-id=0.0.0.1 instance=ospf-iBGP name=areaBGPXXXXX
/routing ospf interface add authentication=md5 authentication-key=XXXXX cost=1 dead-interval=8s hello-interval=2s interface=loopback network-type=broadcast
/routing ospf interface add authentication=md5 authentication-key=XXXXX dead-interval=8s hello-interval=2s interface=IPIP-187 network-type=point-to-point use-bfd=yes
/routing ospf network add area=areaBGPXXXXX network=172.16.188.4/30
# 2026-05-26 18:38:21 by RouterOS 7.22
# model = RB433AH
/ip firewall address-list add address=172.16.0.0/16 list=BFD_NET
/routing ospf instance add disabled=no in-filter-chain=ospf-in name=ospfBGPXXXXX out-filter-chain=ospf-out router-id=10.9.128.187 routing-table=main
/routing ospf area add area-id=0.0.0.1 disabled=no instance=ospfBGPXXXXX name=areaBGPXXXXX
/routing ospf interface-template add area=areaBGPXXXXX auth=md5 auth-id=1 cost=10 dead-interval=8s disabled=no hello-interval=2s interfaces=IPIP-188 networks=172.16.188.6/30 priority=1 type=ptp use-bfd=yes
/routing ospf interface-template add area=areaBGPXXXXX dead-interval=8s disabled=no hello-interval=2s interfaces=lo networks=10.9.128.187/32 priority=1
/routing bfd configuration add address-list=BFD_NET disabled=no min-rx=1s min-tx=1s vrf=main
/routing bfd configuration add disabled=no forbid-bfd=yes vrf=main
/routing filter rule add chain=ospf-in comment=loopback-iBGP disabled=no rule="if ( dst in 10.9.128.0/24 ) {accept}"
/routing filter rule add chain=ospf-in comment="laczniki ospf" disabled=no rule="if (dst in 172.16.0.0/16 && dst-len == 30 ) {accept}"
/routing filter rule add chain=ospf-in comment="laczniki ospf" disabled=no rule="if (dst in 172.16.0.0/16 && dst-len == 31 ) {accept}"
/routing filter rule add chain=ospf-out comment=loopback-iBGP disabled=no rule="if (dst in 10.9.128.0/24 ) {accept}"
/routing filter rule add chain=ospf-out comment="laczniki ospf" disabled=no rule="if (dst in 172.16.0.0/16 && dst-len == 30 ) {accept}"
/routing filter rule add chain=ospf-out comment="laczniki ospf" disabled=no rule="if (dst in 172.16.0.0/16 && dst-len == 31 ) {accept}"