Free member
Cheat Sheet: Analyzing Subnet Masks
Review binary and dotted-decimal subnet masks, CIDR prefix lengths, host bits, and common subnet calculations.
Core Concepts (Key Points)
- Subnet Mask Basics:
- Subnet masks divide IP addresses into prefix and host parts.
- Prefix defines the network/subnet; host part defines the available hosts in the subnet.
- Subnet Mask Formats:
- Binary: 32 bits (e.g.,
11111111 11111111 00000000 00000000). - Dotted-Decimal Notation (DDN): Human-readable decimal format (e.g.,
255.255.0.0). - Prefix (CIDR) Notation: Number of 1s in the binary mask (e.g.,
/16).
- Binary: 32 bits (e.g.,
- Key Subnet Concepts:
- Subnet size and available hosts are determined by the number of host bits.
- Formula:
2^H - 2(H = host bits) for usable host addresses.
Important Definitions
- Prefix (CIDR): Length of network bits in the mask (e.g.,
/24). - Subnet ID: First address in a subnet; identifies the subnet.
- Broadcast Address: Last address in a subnet; used for all-host communication.
- Host Bits: Bits available for host addressing; determines subnet capacity.