dynamik wrote: » That is the starting network you have to work with, so you have nine bits to meet those requirements. There is always a subnet mask, even with the classful networks. Therefore, you need three bits to satisfy the eight-subnet requirement, which will make your resulting networks /26. The remaining six bits will give you 62 (usable) hosts per network, or 496 total.
Zaits wrote: » Hello Everyone, Can someone help clarify this question for me ? I am reading the 70-293 Syngress book and there is a question about subnetting that isn't making sense. Question- You are given a task to create eight subnets on your LAN, and you have been assigned the address space 172.16.128.0 /23. How many hosts will you have and what is the CIDR notation for the new subnet's address space ? A. 2032 hosts on 172.16.128.0 /24 B. 240 hosts on 172.16.128.0 /27 C. 496 hosts on 172.16.128.0 /26 D. 48 hosts on 172.16.128.0 /29 Answer: C Here are my thoughts on this question.. If they are asking me to create eight subnets and giving me 172.16.128.0 why would they give me the subnet mask already? To me it defeats the purpose of asking the question if give me the subnet mask already. Also 172.16.128.0 /23 gives me 128 subnets and 510 hosts per subnet which meets their requirements. Secondly 172.16.128.0 /26 is 1024 subnets and 62 hosts per subnet and they have it listed as 496 hosts 0_o Can someone please tell me what I am missing here ? Thanks!
Zaits wrote: » Alright I completely understand your logic and I am on board with how you are getting /26 3 bits = (2x2x2) = 8 subnets 3 + 23 = /26 etc.. If I use 1 bit ( /24) that is only 2 subnets and therefor not meeting my requirements of 8 subnets. The way I was looking at it was 172.16.128.0 / 24 gets broken down like so.. 172.16.128.0 - 172.16.128.255 172.16.129.0 - 172.16.129.255 172.16.130.0 - 172.16.130.255 172.16.131.0 - 172.16.131.255 172.16.132.0 - 172.16.132.255 172.16.133.0 - 172.16.133.255 172.16.134.0 - 172.16.134.255 172.16.135.0 - 172.16.135.255 This gives me 8 subnets and 254 usable hosts = 2032 total 172.16.128.0 /26 breaks down to 172.16.128.0 - 172.16.128.63 172.16.128.64 - 172.16.128.127 172.16.128.128 - 172.16.128.191 172.16.128.192 - 172.16.128.255 172.16.129.0 - 172.16.129.63 172.16.129.64 - 172.16.129.127 172.16.129.128 - 172.16.129.191 172.16.129.192 - 172.16.129.255 This gives me 8 subnets and 62 usable hosts. = 496 total The way I break it down it looks like both meet the requirements of eight subnets..
dynamik wrote: » 172.16.128.0/23 split into /24 will only give you the following two networks: 172.16.128.0-172.168.128.255 172.16.129.0-172.168.129.255 172.16.10000000.00000000-172.16.10000000.11111111 172.16.10000001.00000000-172.16.10000001.11111111 The next one would require that you have a /22 and ten bits total: 172.168.130.0-172.168.130.255 172.16.10000010.00000000-172.16.10000010.11111111