A network is made up of a number of IP routers that belong to the same IP network, subnet, or supernet as determined by a device‘s combined IP address and mask. An edge connecting a router to a network indicates that the router has an interface on the network. Networks can be either transit or stub networks. Transit networks are those capable of carrying data traffic that is neither locally originated nor locally destined. A stub network has only incoming edges.
Use the network command in the OSPF router configuration command mode to configure networks and associated areas for this router. See section Configuring OSPF Areas for information on OSPF areas and their configuration.
Note
OSPF network wildcard masks are reverse networks. This means that wherever there is a 1 in a regular netmask, use a 0 in a wildcard mask. For example, if the network mask is 255.255.255.0 (/24), specify a wildcard mask of 0.0.0.255.