Here are the steps to determine the number of subnets and hosts per subnet given an IP address and custom subnet mask:
1. Write the IP address and subnet mask in binary.
2. Count the number of bits borrowed from the host portion for the subnet mask. This will be the number used in the formulas.
3. To calculate the number of subnets, use the formula: Number of subnets = 2^x
Where x is the number of bits borrowed.
4. To calculate the maximum number of hosts per subnet, use the formula:
Number of hosts = 2^x - 2
Where x is again the number of bits borrowed.
5. The -2 in the hosts formula accounts for