Understanding the structure of IP addressing and subnetting is essential for managing modern networks effectively. One of the most common subnet sizes is /24, but how many IP addresses does it actually provide? This article delves into the details of /24 subnetting, explains its significance, and provides practical examples to help you master this key networking concept.
In IP addressing, the /24 notation refers to a subnet mask with 24 bits dedicated to the network portion of an address. This leaves 8 bits available for the host portion. Subnet masks define how an IP address is divided into network and host segments, which in turn determines the number of IPs available in a given range.
A /24 subnet provides a total of 256 IP addresses, calculated as follows:
Out of these 256 IPs, two are reserved:
Thus, a /24 subnet has 254 usable IP addresses for devices.
Let’s consider the subnet 192.168.1.0/24:
| Address Type | Example Address |
| Network Address | 192.168.1.0 |
| First Usable IP | 192.168.1.1 |
| Last Usable IP | 192.168.1.254 |
| Broadcast Address | 192.168.1.255 |
To understand the relative size of a /24 subnet, let’s compare it with other common subnet sizes:
| Subnet Mask | CIDR Notation | Total IPs | Usable IPs | Example Range |
| 255.255.255.252 | /30 | 4 | 2 | 192.168.1.0 – 192.168.1.3 |
| 255.255.255.248 | /29 | 8 | 6 | 192.168.1.0 – 192.168.1.7 |
| 255.255.255.0 | /24 | 256 | 254 | 192.168.1.0 – 192.168.1.255 |
| 255.255.0.0 | /16 | 65,536 | 65,534 | 192.168.0.0 – 192.168.255.255 |
A /24 subnet is widely used in networks due to its balance of simplicity and scalability:
A /24 subnet provides 256 IP addresses, of which 254 are usable for devices, making it a versatile choice for small to medium-sized networks. Its simplicity, compatibility, and efficiency make it a cornerstone of IP address planning. By understanding its limitations and applying best practices, network administrators can leverage /24 subnets to design robust and scalable networks.
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.