Compare cert salaries and plan your next career move
mallyg27 wrote: » The question asks me how many host and subnets will I gain if I go from 172.17.32.0/23 to a 172.17.32.0/27 Answers: A. 8 subnets and 31 hosts B. 8 subnets and 32 hosts c. 16 subnets and 30 hosts It's saying the answer is C, but the answer be B? Any thoughts?
Chris_ wrote: » Effectively, yes - with the /27 subnets you've got 480 available hosts across them all as opposed to 510 with the /23 - so I suppose the use of the word 'gain' in the question only applies to the subnets - get used to badly worded questions, you'll see a lot of them in the cisco Certs world.
mallyg27 wrote: » Now im confused now. Wouldnt a /27 give you 2^5= 30 host and /23 give you 2^9 =510 host?
JohnnyBiggles wrote: » +1 I agree.... 172.17.32.0 = Class B which is 255.255.0.0 = 11111111.11111111.00000000.00000000 /23 = 11111111.11111111.11111110.00000000 a) 2^7 = 128 = # of subnetsb) increment is 1 on the 3rd octet c) (2^9)-2 = 512-2 = 510 hosts /27 = 11111111.11111111.11111111.11100000 a) 2^11 = 2048 = # of subnets b) increment is 32 which is also the block size on the 4th octet c) (2^5)-2 = 32-2 = 30 hosts SO, ?????????????????????????????????????? how are any of those correct? How do you gain subnets AND hosts going from /23 to /27 ?? Am I way off here??
mallyg27 wrote: » Actually the increment is two for the /23
JohnnyBiggles wrote: » +1 I agree.... 172.17.32.0 = Class B which is 255.255.0.0 = 11111111.11111111.00000000.00000000 /23 = 11111111.11111111.11111110.00000000 a) 2^7 = 128 = # of subnets b) increment is 1 on the 3rd octet c) (2^9)-2 = 512-2 = 510 hosts /27 = 11111111.11111111.11111111.11100000 a) 2^11 = 2048 = # of subnets b) increment is 32 which is also the block size on the 4th octet c) (2^5)-2 = 32-2 = 30 hosts SO, ?????????????????????????????????????? how are any of those correct? How do you gain subnets AND hosts going from /23 to /27 ?? Am I way off here??
mallyg27 wrote: » My question is, won't we be losing host though if we go from the /23 to /27?
Chris_ wrote: » I was just saying that the /23 mask gives you 510 useable hosts on the 1 subnet and the /27 gives you 480 hosts total across ALL the subnets you've created (16 subnets * 30 useable hosts = 480 hosts) I said this to point out that the question was a stupid one -as you don't gain subnets and hosts - you just gain subnets.
mallyg27 wrote: » Where are you getting 16 subnets from? Doesn't a /27 give us 2^11=2048 subnets?
Chris_ wrote: » er - it does if you're starting off with a class B /16 address and then subnetting it down to a /27 That's not what you asked - you're starting off with a /23, already subnetted address. If you've been given 172.17.32.0/23 (effectively the range 172.17.32.0 - 172.17.33.255) and asked to subnet it into /27 subnets, that gives you 4 bits to play with for your subnets = 16 You can't just use the rest of that /16 - for example 172.17.34.0/23 may hav been given to another admin for his site.
Chris_ wrote: » I said this to point out that the question was a stupid one -as you don't gain subnets and hosts - you just gain subnets.
Compare salaries for top cybersecurity certifications. Free download for TechExams community.