Home > Archive > CCNA > May 2004 > Good tip





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Good tip
Brokedick

2004-05-02, 2:44 pm

Got this from a Nettech bud of mine:

Neat Trick
Now that you actually understand the binary arithmetic behind subnet masking (well, I hope you do, anyway) we can cover some of the neat tricks for computing subnet masks. To determine the number of hosts on a given subnet (assuming the subnet is smaller than class "C",) simply subtract the last number of the subnet mask from 256. For example, a subnet mask of 255.255.255.224 has 32 hosts (256-224=32.) Then you can just divide the result into 256 to determine the number of subnets (256/32=8.) So, using a subnet mask of 255.255.255.224 gives you 8 subnets of 32 hosts each. Of course, this only works when you are subtracting a number that is a power of two (1, 2, 4, 8, 16, 32, 64, or 128.) When the network prefix is larger than class "C", you can determine how many class "C" networks are aggregated by subtracting the third byte from 256-- so a network prefix of 255.255.240.0 is an aggregation of (256-240) 16 class "C" networks.
popdevil

2004-05-02, 10:34 pm

Always nice when you can remember that kinda stuff in your head. I know that when I took the CCNA exam I took about 10mins before I started my test and wrote out the class b and class c chart (bits/mask/sub/host/range) so I could quickly find out the information of how many hosts and subnets are in a x.x.x.240 mask.

Its nice to have your simple process though when you are just working on an issue and want to find that information out without having to write out the class b and c chart.

I know Sybex has a pretty nice formula of how to subnet in your head.
Sponsored Links





Free Braindumps | MCSE braindumps software forum

Copyright 2003 - 2008 examnotes.net