I am having an issue migrating to OSPF. I started with a bridged network, converted the network to routed hops but with all static routing. Now I am moving to OSPF and I have two routers where their neighbors can see them but they show zero neighbors.
make sure that you connect routers in a l2 net between them.
for ease - make a bridge called loopback and put an /32 ip to this - from a net you dont use. eg 172.31.0.1/32 at first router - 172.31.0.2/32 at router 2 etc. Follow the same if you put more routers in net. - and have this “id” - to all config. it makes it easy.
Have the routerid in ospf as the same as loopback ip. - instance… enable whatever redistribute you want.
Then put the linknet ip’s to area backbone. under network tab.
In interface - enable ospf to interface link together. I recomend using point to point ospf - and have a md5 key. Same at both sites.
Make sure that both neighbors agree on all of the parameters - IP network / mask, network type (broadcast, point-to-point, multipoint, etc), and even MTU. (IP MTU)
Make sure both neighbors actually consider the interface as a part of OSPF, and that they agree on the area ID, and area type.
Make sure that you have a backbone area and that it is contiguous (in fact, I recommend all routers use ‘backbone’ area while you’re new to OSPF and don’t have a huge network with tens of thousands of routes)
If you have authentication enabled, make sure you have that configured the same on both sides.