/30 Subnet Mask and Host Range

A /30 IPv4 prefix uses mask 255.255.255.252 and contains 4 addresses. See the range for 192.0.2.1.

Subnet mask255.255.255.252
Binary mask11111111.11111111.11111111.11111100
Wildcard mask0.0.0.3
Total addresses4
Usable host addresses2
Block containing 192.0.2.1192.0.2.0 – 192.0.2.3

In a broadcast subnet, the first address identifies the network and the last is the broadcast address. Increasing the prefix length by one divides this block into two equal subnets.

Address capacity by prefix
PrefixAddressesUsable addresses
/2986
/3042
/3122

Both /31 addresses are usable on a point-to-point link. RFC 3021

Split 192.0.2.0/24 into 64 /30 prefixes

The table shows the first two and last two subnets. Browse all 64 subnets

#CIDRLast address
1192.0.2.0/30192.0.2.3
2192.0.2.4/30192.0.2.7
63192.0.2.248/30192.0.2.251
64192.0.2.252/30192.0.2.255

Open this example in the calculator