Exclusively for TechExams members for Infosec Boot Camps starting before April 30, 2026
yanks4everontop wrote: » I've got it down being able to find valid host ranges and what subnet such and such IP address falls in. The only questions I still have some trouble on from time to time are when I'm asked to create X number of subnets with Y number of hosts on each. Is there an easy way to go about doing this?
meadIT wrote: » You need to figure out how many bits are for the subnet and how many are for hosts. If they give CIDR notation, it is easy: 172.17.128.0/25 would have 9 borrowed bit for the subnet (Class B's usually use 16 bits), so 2^n = 2 ^ 9 = 512 subnets. 7 bits are used for the host, so 2 ^ n - 2 = 2 ^ 7 - 2 = 128 - 2 = 126 hosts. If they give you a subnet mask, use that to figure out how many bits are being borrowed for the subnet.
ciscolearner wrote: » why we don't subtract 2 (broadcast address and network address) from the number of subnet??
Exclusively for TechExam members. Applies to boot camps starting before April 30, 2026.