In Subnetting Example#7 (which can be seen below) I understand that there are 8 possible subnets available within the last octet of the subnet mask for the solution, but what about all other possible subnets availble from the first 24 bits (first 3 octects of the ip addresses). Why is the answer not 134,217,728 (2^27 for the /27 subnet)? Is it the way the question is phrased or am I just confused? Why does it only pertain to the possible subnets in the last octet?
------------------------------------Subnetting Example#7---------------------------------
Problem:
Your company uses the 172.16.20.0/24 network for its LAN. After a security breach, it has been decided that each department should be placed on its own subnet. Each department currently has 20 computers. What is the maximum number of subnets you can create by dividing the 172.16.20.0/24 network? Each subnet must be able to contain at least 20 hosts.
Solution:
Each subnet must be able to have 20 hosts per subnet. You currently have a single subnet with 254 host. 172.16.20.0/24 (1 network, 254 hosts) 172.16.20.00000000/24 (1 network, 254 hosts) 1st questions how many bits must remain as HOST bits to have 20 hosts per network? 172.16.20.00000000
1 bit = 2 host (not useable) 172.16.20.00000000
2 bits = 4 hosts (not useable) 172.16.20.00000000
3 bits = 8 hosts (not useable) 172.16.20.00000000
4 bits = 16 hosts (not useable) 172.16.20.00000000
5 bits = 32 hosts (useable) 172.16.20.00000000
the original single network: 172.16.20.00000000
the required network solution: 172.16.20.00000000 show that we would be able to create 2^3 power (8 networks)
Each of those 8 would support 30 hosts per network. 172.16.20.0/27, 172.16.20.32/27, 172.16.20.64/27, 172.16.20.96/27, 172.16.20.128/27, 172.16.20.160/27, 172.16.20.192/27, 172.16.20.224/27