The company needs 48 hosts in each subnet. Given the network ID 192.168.0.0/24, how many subnets can they create?
How to do IP Subnetting part 2?
Calculate the number of host bits needed:
48 hosts + 2 (network address and broadcast address) = 50 total addresses needed
The smallest power of 2 that can accommodate 50 is 64 (2^6)
So we need 6 host bits
Determine the subnet mask:
Original network is /24, so we have 8 bits available in the last octet
We need 6 bits for hosts, so we can use 2 bits for subnetting
New subnet mask will be /26 (24 + 2)
Calculate the number of subnets:
With 2 bits for subnetting, we can create 2^2 = 4 subnets
Therefore, the company can create 4 subnets from the 192.168.0.0/24 network, each accommodating 48 hosts.
The subnets will be:
192.168.0.0/26 (usable range: 192.168.0.1 - 192.168.0.62)
192.168.0.64/26 (usable range: 192.168.0.65 - 192.168.0.126)
192.168.0.128/26 (usable range: 192.168.0.129 - 192.168.0.190)
192.168.0.192/26 (usable range: 192.168.0.193 - 192.168.0.254)
Each subnet will have 62 usable host addresses, which is more than enough for the required 48 hosts per subnet.
Comments