Subnet Mask Cheat Sheet Maps CIDR Prefixes /8 to /32 With Host Counts
A subnet mask is a 32-bit value whose one-bits identify the network portion of an IPv4 address and whose zero-bits identify the host portion. A /N prefix means the first N bits form the network, and the block contains 2^(32-N) addresses, with two reserved for network and broadcast except on /31 and /32. The guide traces the concept to RFC 950 from 1985 and later RFC 4632, which expresses the same idea as a prefix length. A table lists each prefix's subnet mask, wildcard mask, total addresses, and usable hosts. The article also explains a shortcut: in the interesting octet, the mask value equals 256 minus the block size.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.


Discussion (0)
Log in to join the discussion and vote.
Log in