Configuring OSPF network types

OSPF classifies networks into the following types based on the link layer protocol:

When you change the network type of an interface, follow these guidelines:

Two broadcast-, NBMA-, and P2MP-interfaces can establish a neighbor relationship only when they are on the same network segment.