Priston wrote: » He should have said there are 8 /27 subnets in a /24
pinkiaiii wrote: » got this question on sample exam: You are designing ip addressing plan for one of the offices,on your network,the office has been allocated 172.16.32.0/22 address.The office has 24 local area networks (Lans),each with maximum 20 users,and 7 point to point wan links. You need to conserve as many as possible addresses,thus you use first lan subnet space for addressing wans,what will be first available host address on last available lan subnet. A.172.16.32.1 b.172.16.35.252 c.172.16.32.33 d.172.16.35.224 e.172.16.32.225 f.172.16.35.225
Sy Kosys wrote: » So lets break it down into it's constituent elements: 1. 172.16.32.0 /22 network 2. There are 24 total subnets, each with a max of 20 users 3. 7 P2P WAN links 4. Need to conserve address space for future growth/needs 5. Use the first subnet space for the WAN links 6. First available host IP on the last available subnet 1. /22 gives us the full network range of 32.0 to 35.255 2. Correct, the increment here is 32, because the next smallest increment (16) does not meet the user requirement 3. 7 WAN links, placed at the beginning of the LAN space. 1 P2P link is 4 total IP's, 1x7=28 starting with binary 0 ending with 27. Any new network that is not a /30 cannot begin on .28, so we skip to the next network address which happens to be 172.16.32.32 (Disclaimer: I hated having to use the 1's and 0's to shift around to beg/borrow/steal bits. I can see the subnets so much clearer in my head, sorry for any confusion here...) 4. Because IPv4 doesn't grow on trees you know 5. Summary of #3 above: The 7 /30 WAN links can be assigned the first 28 IP addresses, logically combined to use a single subnet 172.16.32.0 /27 6. One /27 subnet (WAN) down, and 24 (user LANs) to go! Make the math easy here: There are 8 /27 subnets in a class C space, and 24 user LAN's. 24 / 8 is 3, so that will use the 32.0, 33.0, and 34.0 address space. Since the WAN links are the first /27, the last user LAN subnet is 172.16.35.0 /27. We are now in the last of the overall address space, and while it is possible to use a /26 and /25 here (35.64 and 35.128 respectively) the nature of the question does not have any such specifications, so we need not assume such things.
pinkiaiii wrote: » You need to conserve as many as possible addresses,thus you use first lan subnet space for addressing wans,what will be first available host address on last available lan subnet. A.172.16.32.1 b.172.16.35.252 c.172.16.32.33 d.172.16.35.224 e.172.16.32.225 f.172.16.35.225