An IPv4 and IPv6 subnet calculator.