Quick IP Address Subnetting a /24
Had a client that needed a range of IP's specifically 8. The only trouble was getting a block that would suffice out of the /24 and distribute it into chunks. If you're handy with math and understand CIDR / Subnetting this is an easy way to get your numbers quickly. Lets say our range is 1.1.1.0/24 and we need a total of 8 ip's ( 6 usable ). What is the subnet mask going to be? Well there are 256 TOTAL numbers of bits on or off in an octect (X.X.X.X each x represents an octet) to make up an actual number. 0 through 255 = 256 total because we count 0 So simple math: I need 8 right ? 256 - 8 = 248 Subnet mask = 255.255.255. 248 Now we just need to find a block or range. Lets say we want to have 200 as a range. If you just take that number (200 for example) and divide by 8 you will see if it goes into it evenly or not. If it does this is the starting network address. For example = 200 / 8= 25 EVENLY ...