What are prefix, subnet mask, network, and broadcast?
These parameters describe an IPv4 range: prefix and subnet mask specify the network portion, while network and broadcast are the first and last addresses of the range.
| Term | Explanation |
|---|---|
| Prefix (/24) | The number of leading bits used for the network portion. /24 means 24 network bits, with the remaining 8 bits for hosts. |
| Subnet mask | An alternative notation for prefix: /24 corresponds to 255.255.255.0. |
| Network | The first address of the range, representing the entire network; cannot be assigned to devices. |
| Broadcast | The last address of the range, used to send traffic to all devices on the network. |
| Wildcard | The inverted mask, commonly used in Cisco router ACLs and firewalls. |
Common Subnet Table
| Prefix | Subnet mask | Usable hosts |
|---|---|---|
| /30 | 255.255.255.252 | 2 |
| /29 | 255.255.255.248 | 6 |
| /28 | 255.255.255.240 | 14 |
| /27 | 255.255.255.224 | 30 |
| /26 | 255.255.255.192 | 62 |
| /24 | 255.255.255.0 | 254 |
| /22 | 255.255.252.0 | 1.022 |
| /16 | 255.255.0.0 | 65.534 |
Need more dedicated IPv4 addresses for your project?
ONET's dedicated IPv4 proxies are available in 9 countries; each IP is dedicated to a single customer and remains unchanged throughout the rental period. HTTP(S) and SOCKS5 (SOCKS5 for IPs outside Vietnam), username and password authentication, automatic activation.
Dedicated IPv4 proxies in 9 countries from 20.000 ₫/IP/month
View dedicated IPv4 proxy pricing