How CIDR notation works
An IPv4 address is 32 bits long. CIDR notation, written as an address followed by a slash and a number, says how many of the first bits identify the network. In 198.51.100.0/26, the first 26 bits are the network and the remaining 6 bits identify hosts. A longer prefix means a smaller network. The same prefix can be written as a subnet mask: /26 equals 255.255.255.192, where the binary ones in the mask mark the network portion.