Subnetting Class C Addresses
Subnetting Class C Addresses
There are many different ways to subnet a network In a Class C address, only 8 bits are available for defining the hosts Remember that subnet bits start at the left and go to the right, without skipping bits This means that the only Class C subnet masks can be the following:
Take example of a subnet mask 255.255.255.192 192 = 11000000 The 1s represent the subnet bits, and the 0s represent the host bits available in each subnet 192 provides 2 bits for subnetting and 6 bits for defining the hosts in each subnet we can get four subnets
= = = =
0 64 128 192
How many subnets does the chosen subnet mask produce? How many valid hosts per subnet are available? What are the valid subnets? Whats the broadcast address of each subnet? What are the valid hosts in each subnet?
2x = number of subnets. x is the number of masked bits, or the 1s For example, in 11000000, the number of ones gives us 22 subnets. In this example, there are 4 subnets
2y 2 = number of hosts per subnet. y is the number of unmasked bits, or the 0s For example, in 11000000, the number of zeros gives us 26 2 hosts In this example, there are 62 hosts per subnet. You need to subtract two
256 subnet mask = block size, or increment number An example would be 256 192 = 64. The block size of a 192 mask is always 64 Start counting at zero in blocks of 64 until you reach the subnet mask value and these are your subnets: 0, 64, 128, 192
Subnets in the last section are 0, 64, 128, and 192, the broadcast address is always the number right before the next subnet For example, the 0 subnet has a broadcast address of 63 because the next subnet is 64 The 64 subnet has a broadcast address of 127 because the next subnet is 128, etc The broadcast of the last subnet is always 255 for Class C