I've been trying to figure out how to divide a network number into particular subjects where one of them require a particular number of hosts.
I have the Computer Networking: A Top Down Approach but it doesn't really specify or show the method of calculating this.
For example I have the question:
A company has the network number 18.104.22.168/24 and wants to have 6 subnets, where the largest one needs to support up to 25 hosts.
From the material I have it says to determine the number of bits required to define 6 subnets but have no idea how/where to go from there and how the bits needed are determined.
I am looking for the method and explanation how to work out these type of questions, I don't want a answer as I want to learn how to apply it myself. :)