WHAT IT DOES
Every number you need from one IPv4 block.
Enter an IPv4 block such as 192.168.10.0/23 to get the network address, broadcast address, subnet mask, wildcard mask, total address count, and the usable host range. It answers the question that comes up whenever a firewall rule, a VPC subnet, or a route table needs writing.
Why use it?
Use it to check an IPv4 subnet's boundaries before writing a route, firewall rule, or address allocation.
How to use this tool
- Enter an IPv4 address with its prefix, such as 192.168.10.37/24, and calculate.
- Read the derived network, broadcast, and usable range. In this example the network is 192.168.10.0/24, not a block starting at .37.
- Copy the field required by your destination: a subnet mask and wildcard mask are inverses, not interchangeable labels. Check /31 and /32 results as special cases.
Details and limitations
- Prefix lengths from /0 to /32 are supported, including the /31 point-to-point and /32 single-host cases.
- Both the subnet mask and its inverted wildcard mask are shown, because ACLs frequently want the latter.
- Usable host counts exclude the network and broadcast addresses for prefixes shorter than /31.
- A host address with a prefix, such as 10.0.4.37/20, is accepted and its containing network is derived.