A /24 is common in office networks, hosting, and network segmentation. Its total address count differs from the number assignable to devices, which matters for capacity planning and public IPv4 selection.
A /24 subnet is an IPv4 network that uses 24 bits to identify the network and eight bits for addresses within it. It contains 256 total IPv4 addresses, normally including 254 usable host addresses, one network address, and one broadcast address. Additional infrastructure or cloud reservations may reduce the number available to users.
Classless Inter-Domain Routing (CIDR) identifies the network prefix after a slash. In /24 CIDR notation, 24 of the 32 IPv4 bits are fixed and eight remain for host addressing. The subnet mask is 255.255.255.0, written in binary as 11111111.11111111.11111111.00000000.
The /24 address count is 2^(32 − prefix length), or 2^8 = 256. This includes addresses unavailable to devices. The mask also determines which destinations are local and which need a gateway.
A conventional /24 subnet reserves its first address as the network address and its last as the broadcast address. The other 254 are usable IPs in a /24 under standard subnet rules.
Consider the private network 192.168.1.0/24, used as an example in subnet planning:
Routers and other equipment consume host addresses. AWS VPC also reserves five addresses in a standard /24 subnet, leaving 251 for resources. The mathematical total remains 256.
A shorter CIDR prefix means a bigger block. Compare /24 network size with other conventional IPv4 subnets:
One /24 can be divided into two /25s or four /26s, each with separate network and broadcast addresses. Subnetting supports security zones but reduces total host capacity slightly.
An IPv4 /24 subnet supports hundreds of interfaces while limiting the broadcast domain. Its standard mask is easy to configure and document.
Typical applications include:
For public routing, /24 is a common minimum BGP prefix. Upstreams may filter more-specific routes, even when the /24 is subdivided internally.
A /24 may be too small for a growing network, while a small deployment may waste much of its capacity. Larger requirements may justify a /23; smaller internal networks can use narrower prefixes.
Public /24 IP addresses also require proper routing configuration and a good reputation. Cloud reservations, incorrect geolocation, blocklists, and missing authorization can disrupt service even when the number of /24 subnet usable addresses appears sufficient.
For /24 subnet management, document the gateway, DHCP pool, static assignments, and reserved capacity. IP address management (IPAM) tools help avoid conflicts and monitor utilization.
For public blocks, verify the resource holder, RPKI, reverse DNS, abuse contacts, and geolocation. Plan IPv6 alongside IPv4 for future growth, especially in hosting and ISP networks.
A public IPv4 /24 block can support hosting, VPS services, or other workloads that require dedicated public addresses. A business can rent IPv4 addresses when demand is temporary or buy IPv4 address space when long-term control is important. Compare total costs, prefix reputation, routing requirements, and support.
Cloud teams can use Bring Your Own IP to retain suitable addresses in supported environments. Cloud-specific authorization and routing requirements still apply.
How many IP addresses are in a /24?
There are exactly 256 addresses because eight of the 32 IPv4 bits remain outside the network prefix.
How many hosts can a /24 support?
Normally 254 in a conventional subnet. Network equipment and cloud platform reservations can reduce the number still available.
Is /24 the same as 255.255.255.0?
Yes. That dotted-decimal mask has 24 leading binary ones, which corresponds to the /24 prefix.
Can a /24 be divided into smaller networks?
Yes. One /24 can form two /25s, four /26s, or other valid subdivisions. Each conventional subnet then has separate network and broadcast addresses.
A /24 provides 256 IPv4 addresses, but the right solution depends on usable capacity, routing, reputation, and expansion plans. Businesses that require public IPv4 resources can contact InterLIR to explore leasing, purchasing, and cloud deployment options, with guidance on selecting a suitable prefix and preparing it for production use.
Alexander Timokhin
COO
Live chat is provided by Intercom and is loaded only after you enable it. You can also contact us without enabling the chat.