Simple explanation
Two topics: the math of IPv4 addressing (subnetting), which shows up constantly in real work and on the exam, and the modern architectural trends reshaping how networks are built today.
Technical explanation
IPv4 addressing:
- An IPv4 address is 32 bits, written as 4 octets (e.g., 192.168.1.10).
- Subnet mask determines which portion of the address is the network vs. the host — written as a mask (255.255.255.0) or CIDR notation (/24).
- CIDR (Classless Inter-Domain Routing) — the "/24" style notation showing how many bits are the network portion.
- Private IP ranges (not routable on the public internet): 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16.
- Subnetting — dividing a network into smaller sub-networks. A /24 has 256 addresses (254 usable, since the first is the network address and the last is the broadcast address). Borrowing bits from the host portion creates smaller subnets: a /25 splits a /24 in half (128 addresses each), a /26 into quarters (64 each), and so on.
- NAT (Network Address Translation) — translates private IP addresses to a public one for internet access, conserving public IPv4 address space.
- APIPA (Automatic Private IP Addressing, 169.254.x.x) — a device self-assigns this when DHCP fails, a strong diagnostic clue during troubleshooting.
Evolving use cases:
- SDN (Software-Defined Networking) — separating the control plane (decision-making) from the data plane (traffic forwarding), enabling centralized, programmable network management.
- Zero trust architecture — applying the "never trust, always verify" principle to network access specifically, not granting broad trust just because a device is on the internal network.
- Infrastructure as Code (IaC) — defining network configuration through version-controlled code rather than manual device-by-device configuration.
- IoT — the growing population of internet-connected devices with often limited built-in security, requiring careful network segmentation.
Synonyms / related terms
| Term | Means | |---|---| | CIDR | Classless Inter-Domain Routing | | NAT | Network Address Translation | | APIPA | Automatic Private IP Addressing |
Concept Check
"A workstation shows an IP address of 169.254.34.12 and can't reach any network resources." This isn't a random misconfiguration — 169.254.x.x is the APIPA range, meaning the device failed to receive an address from DHCP and self-assigned as a fallback. The troubleshooting focus should immediately shift to why DHCP isn't reachable, not to the IP address itself.
Interview-style Q&A
Q: How many usable host addresses are in a /27 subnet, and how do you get there quickly? A: "A /27 leaves 5 host bits (32 minus 27), so 2^5 = 32 total addresses. Subtract 2 for the network and broadcast addresses, leaving 30 usable hosts. The fast method: for any subnet mask, usable hosts = 2^(32 minus the CIDR number) minus 2."
Memory trick
"2 to the host bits, minus 2" — the entire subnetting formula in five words: figure out how many bits are left for hosts, raise 2 to that power, subtract 2 for network and broadcast.