What is the difference between total IP addresses and usable host addresses?
Every subnet reserves exactly two addresses: the very first address (Network ID) used for routing, and the very last address (Broadcast) used to send messages to all nodes. Therefore, a /24 network has 256 total IPs, but only 254 usable hosts.