breakitdown

What does /28 mean?

Answer

A /28 has 16 addresses and 14 usable hosts, with netmask 255.255.255.240. For example, 10.0.1.0/28 runs from 10.0.1.0 to 10.0.1.15.

Worked example: 10.0.1.0/28. Type any block to compare.

Try

10.0.1.0/28 is 16 addresses: 10.0.1.0 to 10.0.1.15. 14 usable for hosts (the first is the network address, the last is broadcast).

1000001010000000000100000001000000000
28 network bits 4 host bits
Network
10.0.1.0
First usable
10.0.1.1
Last usable
10.0.1.14
Broadcast
10.0.1.15
Addresses
16
Usable hosts
14
Netmask
255.255.255.240
Wildcard (ACL) mask
0.0.0.15
Historic class
A
Range type
Private network · not routed on the internet

Special-purpose range

Private network 10.0.0.0/8 RFC 1918
The largest of the three private IPv4 ranges: 16.7 million addresses for use inside homes and organisations. Not routed on the public internet.

Split it into subnets

or

4 subnets.

SubnetUsable rangeHostsBroadcast
10.0.1.0/3010.0.1.1 – 10.0.1.2210.0.1.3
10.0.1.4/3010.0.1.5 – 10.0.1.6210.0.1.7
10.0.1.8/3010.0.1.9 – 10.0.1.10210.0.1.11
10.0.1.12/3010.0.1.13 – 10.0.1.14210.0.1.15

Is this IP in the range?

Range to CIDR blocks

What to know

/28 is the smallest subnet (and the smallest VPC) AWS allows. AWS reserves 5 addresses in every subnet: the network address, the next three (VPC router, DNS, and one reserved for future use) and the last address. That leaves 11 usable in a /28: 10.0.1.4 to 10.0.1.14.

Outside the cloud, a /28 is a small public block an ISP might route to a business, or a tiny segment for a few appliances.

Gotchas

Related explainers

← CIDR calculator