Calculate IPv4 CIDR ranges: network, broadcast, subnet and wildcard masks, usable hosts, and the smallest block for the number of IPs you need.