OSPF Packets and Neighbor Discovery

Hello Alessandro

You’ve configured the interfaces correctly, using a /31 subnet mask. However, when you configured OSPF, you didn’t advertise that network. You must use the network command under the OSPF configuration to indicate which subnets will participate in OSPF and thus which interfaces will begin sending OSPF hello packets to establish adjacencies.

In your case, you must add the network 192.168.1.2 0.0.0.1 area 0 command under the OSPF configuration mode for both routers.

Take a look at this lesson for more details:

I hope this has been helpful!

Laz