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.
405 required I did: Prefix; /23, IP; 10.4.0.0/23, which gave 512 IP's
200 required I did: Prefix; /24, IP; 10.5.0.0/24, which gave 256 IP's
75 required I did: Prefix; /25, IP; 10.5.0.128/25, which gave 128 IP's
16 required I did: Prefix; /27, IP; 10.5.0.160/27, which gave 32 IP's
1st unused I did: Prefix; /27, IP; 10.5.0.192/27, which gave 32 IP's
2nd unused I did: Prefix /27, IP; 10.5.0.224/27, which gave 32 IP's
Last I did: Prefix /27, IP; 10.5.1.0/27, which gave 32 IP's
This makes sense to me, though corrections are good
– Joseph Bay Dec 03 '18 at 00:08