Subnet Mask Example #2
Assume you have a Class C address, say 192.168.1.0 and you want to create a subnet mask that will allow you to have 6 subnets with up to 26 hosts per subnet. What subnet mask should you use?
Since it is a class C, you only get to work with the last octet which is 8 bits.
How many bits do you need for 6 subnets? How many for 26 hosts?
The subnet mask must be 255.255.255.224