6
6
254 - a class C subnet uses 8 bits for the hosts and 0 and 255 are reserved.
A Network
A Network
That leaves us 5 bits for the host (32 - 27 = 5); the size of the network is 25 = 32 IP addresses, that is, addresses 10.150.100.96 - 10.150.100.127. The first and last address are not usable (can't be assigned to hosts), which leaves us with addresses 10.150.100.97 - 10.150.100.126.That leaves us 5 bits for the host (32 - 27 = 5); the size of the network is 25 = 32 IP addresses, that is, addresses 10.150.100.96 - 10.150.100.127. The first and last address are not usable (can't be assigned to hosts), which leaves us with addresses 10.150.100.97 - 10.150.100.126.That leaves us 5 bits for the host (32 - 27 = 5); the size of the network is 25 = 32 IP addresses, that is, addresses 10.150.100.96 - 10.150.100.127. The first and last address are not usable (can't be assigned to hosts), which leaves us with addresses 10.150.100.97 - 10.150.100.126.That leaves us 5 bits for the host (32 - 27 = 5); the size of the network is 25 = 32 IP addresses, that is, addresses 10.150.100.96 - 10.150.100.127. The first and last address are not usable (can't be assigned to hosts), which leaves us with addresses 10.150.100.97 - 10.150.100.126.
A network with 6 bits remaining for the host portion can accommodate (2^6 = 64) total addresses. However, two addresses are reserved: one for the network address and one for the broadcast address. Therefore, the number of usable hosts in this network will be (64 - 2 = 62).
The number of bits used to identify the hosts is fixed by the class of the network. Up to 24 bits can make up the host portion of a Class C address.
A netmask of 255.255.240.0 corresponds to a /20 subnet, which provides 12 bits for host addresses (32 total bits minus 20 bits for the network). This allows for (2^{12} - 2 = 4096 - 2 = 4094) usable individual systems, accounting for the network and broadcast addresses that cannot be assigned to hosts.
A class A would give you the most flexibility in terms of subnets and hosts per subnet. You could use up to 23 bits of information for subnets.
62
Address: 10.0.0.0 Mask: 255.0.0.0 Subnet bits: 0 1 subnet 8 mask bits total hosts 16777214 address range: 10.0.0.1 - 10.255.255.254 Using a single network: 16.78 million addresses Using VLSM more addresses can be made available.
number of hots bits is 16 number of hosts 65 534