In this article I am explaining IPv4 subnetting in following two situations.
1. Subnetting when given a required number of networks [Example 1]
2. Subnetting when given a required number of hosts [Example 2]
Note : You need to have basics of IPv4 address types and basics of subnetting
Example 1 :
You have a Class C network range
126.96.36.199 and need to break it into
20 separate networks.
Note : Here you have the information about number of nerworks you needed.