So, I have just started my subnetting and I am using this formula as it is the easiest method for me to understand.
How many subnets and hosts per subnet can you get from the network10.1.1.0/24
We know that:
1. The default subnet mask is /8 as the address given is a class A address
2. The subnet mask in the question is /24
The number of subnets = 2 ^ (24 -

= 2 ^ 16 = 65536 subnets.
The number of hosts = (2 ^ (32 - 24)) - 2 = (2 ^

- 2 = 254 hosts per subnet
But there is a problem. I don't know how to convert a Subnet mask back to CIDR notation as I need it to solve these problems.
So If I get a mask that is 255.255.254 what is the easiest way or fastest way to convert it back to CIDR notation? If anyone has some quick helpful advice that is simple please let me know.
I tried this method but I don't understand it How to subnet an IP address the easy way