When you borrow 3 bits from the host portion of an IP address, you can create (2^3 = 8) valid subnets. However, one subnet is reserved for the network address and another for the broadcast address, leaving you with 6 usable subnets. Thus, by borrowing 3 bits, you obtain 6 valid subnets for use.
Borrow 5 bits (for 30 subnets total).
You would need at least 9 bits to borrow. Since 8 bits gives only 255 the additional bit will get you 256. Adding 256 + 128 gives you at least 384 subnets or hosts.
Given a Class C network: 200.1.1.0 We want 5 subnets, each with 30 hosts on it. How many bits to borrow ? How many bits to leave? What is the subnet mask? ( in dot notation and in CIDR notation)
5 bits are necessary to create up to 30 subnets.
To create 6 subnets from the IP address 172.16.0.0, you need to determine how many bits to borrow from the host portion of the address. Since 2^3 = 8, borrowing 3 bits allows for 8 subnets, which is sufficient for your requirement of 6. This results in a subnet mask of 255.255.248.0 (or /21), providing each subnet with 2046 usable host addresses. The subnets would range from 172.16.0.0/21 to 172.16.7.0/21.
you need to reallocate 4 bits to creat 16 subnets. how do I get that? easy! 2 to the power of 4 gives us 16 subnets.
3
126
To create ten networks from the 192.168.50.0 subnet, you need to determine how many bits to borrow from the host portion. Since 2^n must be at least 10 to accommodate the networks, you need to borrow 4 bits (since 2^4 = 16, which covers the requirement). This means the new subnet mask will be /28 (or 255.255.255.240), allowing for 16 subnets with 14 usable hosts each.
It is possible to borrow a possible 3 bits from 192.168.1.0.
There are 16 bits available; it is up to you how many of those bits you reserve for the subnet, and how many for the individual hosts within each subnet.
It depends on how many bits you are using for the network prefix. The formula is 2n - 2 for the number of subnets available in a prefix, or 2n if you allow the use of the 0th subnet.