Given an IPv4 address and prefix length (CIDR), determine its network/subnet, broadcast, and first/last usable addresses, plus the subnet mask.