Given an IP address and subnet mask you can determine the network address, broadcast address, and first and last host addresses.