Compute Cisco wildcard masks and the OSPF network statement from any network and prefix.
Wildcard = inverse of the subnet mask. IOS uses wildcards in network and access-list statements: /24 = mask 255.255.255.0 = wildcard 0.0.0.255.
192.168.1.0/24 → wildcard 0.0.0.255 → network 192.168.1.0 0.0.0.255 area 0The bitwise inverse of a subnet mask. 0 bits must match, 255 bits are ignored.
Under router ospf: network <net> <wildcard> area 0 advertises matching interfaces.