In building my little practice OSPF network, I've started with a simple point-to-point link (188.8.131.52/30) between R1 and R10. Only those point-to-point interfaces are declared in the ospf process; and when I do a show ip ospf database command on either router, I see two Router Link States (as I expect to) only the "Link count" for each is "2."
If I understand the Link count field correctly, it's the number of OSPF interfaces on the router. Except I've only configured one OSPF interface on each, and sure enough just one is listed when I do show ip ospf interface.
Is the 2nd one supposed to be the loopback interface used as the ID (even though I didn't include the loopbacks under the network statement?) What is the explanation?
point-to-point links are counted twice in the sh ip ospf database.
I've faced the same issue when I started to work on OSPF in the previous century.
Hope to help