how many host addresses can we have with eight bits?
or anything in between.
this means we have a total number of 256 possible combinations.
but thers is a catch.we can’t use the first or last IP.These are reserved.
(send messages to all computers in this network)
so we only have 254 usable hosts.
the first three octets are dedicated to the network portion and the fourth octet is dedicated to the hosts.
so what is subnetting?
we’re taking away bits from the host portion in order to create the subnet portion.
we’re going to take one bit from the fourth octet which is our host portion for class C.
![在这里插入图片描述](https://img-blog.csdnimg.cn/b67d966ad69e4e079d8900d83368a9af.png
new subnet mask
Q: how can we get the prefix notation(/25)?
A:simply count the number of consecutive ones.
8(1th octet) + 8(2th octet) + 8(3th octet) +1(4th octet)(we just created) = 25
Are you with me so far?Let’s continue.
How many subnets can we create by using this new subnet mask?
in other words,when we apply this subnet mask to the class C network that were chopping up,how many smaller groups do we create?