Subnet 192.168.10.0/26: what are the mask, address ranges and number of usable hosts?
HardConceptIP Addressing & Subnetting
Answer
A /26 prefix leaves 32 − 26 = 6 host bits, so each subnet has 2^6 = 64 addresses and 64 − 2 = 62 usable hosts. The same three steps work for any prefix.
- Mask: 26 one-bits = 8 + 8 + 8 + 2, so the last octet is
11000000= 128 + 64 = 192, giving255.255.255.192. - Block size: 256 − 192 = 64, so the subnets start at multiples of 64 in the last octet.
- Ranges: the first usable host is the network address + 1, and the broadcast address is the next network address − 1.
Example: Splitting 192.168.10.0/24 into /26 subnets gives 2^(26 − 24) = 4 subnets:
| Subnet | Network | Usable hosts | Broadcast |
|---|---|---|---|
| 1 | 192.168.10.0 | .1 to .62 | 192.168.10.63 |
| 2 | 192.168.10.64 | .65 to .126 | 192.168.10.127 |
| 3 | 192.168.10.128 | .129 to .190 | 192.168.10.191 |
| 4 | 192.168.10.192 | .193 to .254 | 192.168.10.255 |
So 192.168.10.0/26 itself covers .0 to .63, with hosts .1 to .62. To place the host 192.168.10.100, divide: 100 ÷ 64 = 1 remainder 36, so it lies in the block starting at 64, the subnet 192.168.10.64/26, whose broadcast address is .127.