This question already has an answer here:
I've been trying to figure out how to divide a network IPv4 IP Address into 7 subnets, where each subnet requires a different number of hosts.
For example I have the question:
"You are an intern at a networking company and the company's Network Administrator has given you the task of subnetting the address 10.2.0.0/22 to maximize the IP addressing available for 7 different networks."
"The first network must be able to host 405 users."
"The second network must be able to host 200 users."
"The third network must be able to host 75 users."
"The fourth network must be able to host 16 users."
"Two networks must remain for future use and will remain unused for now and must end with a specific prefix in CIDR style."
"The last network must end with a specific prefix in CIDR style and be further sub-netted into three WAN networks needed to connect Site-1 to 3 other sites with 2 IP addresses in each WAN network."
From the material I have it says to determine the number of bits required to define 7 subnets but I have no idea how or where to go from there and how the bits needed are determined.
I am looking for any method or explanation on how to work out these types of questions, and a simplified answer if possible. I am having a really hard time understanding IPv4 subnetting in general and this question in particular.
Any help would be greatly appreciated. Thank you in advance.