CIDR Boundaries and Special Prefixes: /30, /31, /32
Aligned boundaries
CIDR blocks must begin at a multiple of their size in the 32-bit address space. A /30 contains four addresses. 192.0.2.4/30 is an aligned block; 192.0.2.5/30 is an interface address inside it, not a canonical network prefix. The block covers .4–.7.
Compare conventional /30 and point-to-point /31
On a conventional /30 LAN, .4 is the network identifier, .7 the directed broadcast, and .5 and .6 are usable. RFC 3021 defines /31 addressing for point-to-point links: both addresses represent endpoints when both sides support the arrangement. There is no subnet-directed broadcast for that link. Do not generalize this rule to arbitrary multi-host broadcast LANs.
192.0.2.4/30 .4 .5 .6 .7 N H H B192.0.2.8/31 .8 .9 A B192.0.2.10/32 .10What /32 means
A /32 fixes all 32 bits and matches exactly one IPv4 address. It can describe a host route or a loopback interface address, subject to platform behavior. A /32 route is not a two-endpoint link and does not create an ordinary LAN or broadcast address. Reachability still needs valid forwarding and return paths.
Split a /24 systematically
Increasing prefix length from /24 to /26 borrows two bits and makes four equal /26 blocks of 64 addresses. Their starts are .0, .64, .128 and .192. A /31 has mask 255.255.255.254; /32 has 255.255.255.255. Count addresses by powers of two before considering assignment rules. A /0 covers the entire 32-bit space and is used as a default route, not a conventional LAN.
Practice
Compare 198.51.100.20/30, 198.51.100.24/31 on a supported point-to-point link and 198.51.100.30/32 as a host route. List the addresses and their intended meaning.
Check Your Understanding
Solidify your learning with the interactive assessment directly below this lesson.
Concept Quiz & Questions
CIDR boundaries and special prefixes — knowledge check
Apply subnetting concepts to fictional offline scenarios.
Which is a canonical aligned /30 prefix?
Which endpoints can use a supported 198.51.100.24/31 point-to-point link?
How many destinations match 203.0.113.8/32?
How many equal /26 blocks fit in a /24?
What is the mask for /31?