OSPF neighbors must agree on the network type for an adjacency to form properly and exchange routes. The network type determines how OSPF operates on the link, including neighbor discovery and designated router election behavior. A mismatch can prevent successful adjacency formation.