Subnetting a Class C Address: The Fast Way!
Written on 15:10 by Ahmet Emir
When you’ve called a accessible subnet affectation for your arrangement and charge to actuate the number
of subnets, accurate hosts, and advertisement addresses of a subnet that the affectation provides, all you
need to do is acknowledgment bristles simple questions:
- How abounding subnets does the called subnet affectation produce?
- How abounding accurate hosts per subnet are available?
- What are the accurate subnets?
- What’s the advertisement abode of anniversary subnet?
- What are the accurate hosts in anniversary subnet?
At this point, it’s important that you both accept and accept memorized your admiral of 2.
Please accredit to the aftereffect “Understanding the Admiral of 2” beforehand in this affiliate if you charge some
help. Here’s how you get the answers to those bristles big questions:
- How abounding subnets? 2x = cardinal of subnets. x is the cardinal of masked bits, or the 1s.
For example, in 11000000, the cardinal of 1s gives us 22 subnets. In this example, there
are 4 subnets.
- How abounding hosts per subnet? 2y – 2 = cardinal of hosts per subnet. y is the cardinal of
unmasked bits, or the 0s. For example, in 11000000, the cardinal of 0s gives us 26 – 2
hosts. In this example, there are 62 hosts per subnet. You charge to decrease 2 for the subnet
address and the advertisement address, which are not accurate hosts.
- What are the accurate subnets? 256 – subnet affectation = block size, or accession number. An
example would be 256 – 192 = 64. The block admeasurement of a 192 affectation is consistently 64. Start counting
at aught in blocks of 64 until you ability the subnet affectation amount and these are your subnets.
0, 64, 128, 192. Easy, huh?
- What’s the advertisement abode for anniversary subnet? Now here’s the absolutely accessible part. Since we
counted our subnets in the aftermost area as 0, 64, 128, and 192, the advertisement abode is
always the cardinal appropriate afore the abutting subnet. For example, the 0 subnet has a broadcast
address of 63 because the abutting subnet is 64. The 64 subnet has a advertisement abode of 127
because the abutting subnet is 128. And so on. And remember, the advertisement abode of the
last subnet is consistently 255.
- What are the accurate hosts? Accurate hosts are the numbers amid the subnets, abbreviating the
all 0s and all 1s. For example, if 64 is the subnet cardinal and 127 is the advertisement address,
then 65–126 is the accurate host range—it’s consistently the numbers amid the subnet address
and the advertisement address.
I apperceive this can absolutely assume confusing. But it absolutely isn’t as adamantine as it seems to be at first—
just adhere in there! Why not try a few and see for yourself?
