What this tool does
Enter an address with a prefix length and get the network boundaries, masks and host counts. Then split it into equal subnets to plan VLANs, Azure virtual networks or firewall rules.
How to use it
- Enter a network such as 10.20.0.0/16, an address with a netmask, or an IPv6 prefix.
- Read the range, masks and usable host count.
- Choose a longer prefix under Split to list the subnets it divides into.
Questions and answers
Why are two addresses unusable in an IPv4 subnet?
The first address identifies the network and the last is the broadcast address. A /31 is the exception (both addresses are usable on point-to-point links), and a /32 is a single host.
How many addresses does Azure or AWS reserve?
Both reserve five addresses in every subnet: the network address, the broadcast address and three for the platform. Subtract three more from the usable count shown here.
What is a wildcard mask?
The inverse of the netmask, used in Cisco ACLs and OSPF statements. For a /24 the netmask is 255.255.255.0 and the wildcard is 0.0.0.255.