For the classless IP address 192.168.10.70/26, calculate: Network address, Broadcast address, Number of usable host addresses.
Interview preparation resource from Gate Smashers.
For 192.168.10.70/26: Network address: 192.168.10.64 Broadcast address: 192.168.10.127 Number of usable host addresses: 62 Usable host range: 192.168.10.65 to 192.168.10.126.
Prefix and subnet mask
A /26 prefix uses 26 bits for the network portion and leaves 6 bits for host addresses. Its subnet mask is 255.255.255.192.
- Total addresses per subnet: 2^6 = 64
Subnet range
The block size in the last octet is 256
192 = 64. Therefore, the /26 subnets in this octet span 0–63, 64–127, 128–191, and 192–255.
Since 192.168.10.70 falls within the 64–127 range, it belongs to the 192.168.10.64/26 subnet.
Network and broadcast addresses
The first address in the subnet is the network address, and the last address is the broadcast address.
- Network address: 192.168.10.64
- Broadcast address: 192.168.10.127
Usable hosts
In a conventional IPv4 subnet, the network and broadcast addresses are not assigned to hosts. Therefore, the number of usable host addresses is 64 - 2 = 62.
- Usable host range: 192.168.10.65 through 192.168.10.126
- Usable host count: 62
