# Subnetting Question [closed]

Consider a router that interconnects three subnets: Subnet1, Subnet2, and Subnet3. Suppose all of the interfaces in each of these three subnets are required to have the prefix 223.1.17/24. Also suppose that Subnet #1 is to support at least 60 interfaces Subnet #2 is to support at least 90 interfaces Subnet #3 is to support at least 12 interfaces. Provide three network addresses (of the form a.b.c.d/x) that satisfy these constraints.

Here is my work.

For Subnet1 we have to support at least 60 interfaces and 2^6 >= 60 so the prefix for subnet1 is 32-6 = 26 for subnet1 = 223.1.17.x/26

For Subnet2 we have to support at least 90 interfaces and 2^7 >= 90 so the prefix for subnet2 is 32-7 = 25 , and so subnet2 = 223.1.17.y/25

For Subnet3 we have to support at least 12 interfaces and 2^4 >= 12 so the prefix for subnet3 is 32-4 = 28 , and so subnet3 = 223.1.17.z/28

Now my problem is working the values for x,y and z.

I know that for subnet1 (I have 2^6 different values) and for subnet2 (I have 2^7) and for subnet3 (I have 2^4). I also know that all these subnets are not allowed to overlap. So how should I figure out the value for x,y,z ?

• Start each of x, y, and z at 0 and calculate the possible network addresses for each based on the three subnet masks. From there it should be easy to pick one option from each of the three lists of possibilities that work together. Commented Apr 13, 2015 at 22:19
• For x I have from 64 different values from 0 to 64 ? for y I have from 128 values from ? for z i have from ? Commented Apr 13, 2015 at 22:47
• 0 to 64 is 65 different values, 0 to 63 is 64 different values. Commented Apr 13, 2015 at 23:15
• This sure looks like a homework question Commented Apr 14, 2015 at 0:18
• @Ron, yes, that's why I only gave one hint in a comment. I actually have an entire answer that properly explains it so that even for newbies seem to understand. Commented Apr 14, 2015 at 0:26