02-07-2021 06:49 AM
Hii,
192.168.1.0/24
How to divide this Network into 20 Networks?
Kindly please explain
02-07-2021 08:01 AM
/29 gives you 20. why? actually /29 gives you 32 networks; too much but /28 gives you 16, which is not enough. this is taken from 2^4=16 but 2^5=32. Basically, you looking for x power of 2 that gives you n (number of networks). what number when 2 is raised by it, gives you number of networks. so, 5. this means you must borrow 5 bits from /24 for subnetting to get at least 20 networks; reaming number of bits is used for hosts. 24 + 5 =29, hence /29 is the answer
Regards, ML
**Please Rate All Helpful Responses **
02-07-2021 08:10 AM
if you looking /24 into 20 subnets usable (is this what you looking ?)
use the below tool nice once for learning.
02-07-2021 12:21 PM - edited 02-07-2021 12:23 PM
1. Convert the subnet mask from decimal to binary
255.255.255.0 = 11111111.11111111.11111111.00000000
2. The 1's are the network bits and the 0's are the host bits. We will be borrowing from the host bits to get more networks. Look at the bit values from left to right looking for a value of 20 or greater (since you are looking for 20 networks).
3. From left to right, replace all the 0's with 1's until you reach the value of "32"
4. Convert from binary to decimal
11111111.11111111.11111111.11111000 = 255.255.255.240
Answer: A subnet mask of 255.255.255.240 will subdivide a subnet mask of 255.255.255.0 into 32 distinct subnets which satisfies the requirement of subnetting into 20 networks. We can check our work:
The first network would be 192.168.1.0/29 and the 32nd network would be 192.168.1.224/29
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: