-1

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.

marked as duplicate by Zac67, Ron Maupin Dec 2 '18 at 14:40

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • That does help, and I appreciate it, however I can't find anything in that post explaining how to calculate subnets with differing host numbers, nor with the high numbers in my original question. That is the part that is really tripping me up. – Joseph Bay Dec 2 '18 at 9:23
  • Basically, you can't only subnet /22 to four /24 but also to one /23 and two /24. Or one /23, one /24 and two /25, and so on. – Zac67 Dec 2 '18 at 9:38
  • We don’t do your homework. – Tommiie Dec 2 '18 at 10:38
  • "I can't find anything in that post explaining how to calculate subnets with differing host numbers," Apparently, you didn't see or read the entirety of the Subnet Sizing Based on Number of Hosts section of this answer that discusses a very similar problem. – Ron Maupin Dec 2 '18 at 14:38
  • I wasn't asking for anyone to do my homework, I was asking for help understanding the concept. Regardless, I stopped freaking out and re-read the post linked to this question with a calmer mindset and it made a lot more sense, so thank you Zac67 for the link, it helped me immensely. – Joseph Bay Dec 2 '18 at 23:45
3

(Question was marked as duplicate, so I moved this answer to the same place, specifically https://networkengineering.stackexchange.com/a/55146)

Not the answer you're looking for? Browse other questions tagged or ask your own question.