Subnet Calculation Analysis
/24 CIDR prefix corresponds to subnet mask 255.255.255.0, allocating 24 bits for the network and 8 bits for host addressing.
Why Network & Broadcast Addresses are Reserved
The first address is the Network Address identifying the subnet itself, and the last address is the Broadcast Address used to reach all hosts. Usable hosts are always (Total - 2).