ipcalc is a small cli tool to calculate various IP addressing/subnetting stuff currently implemented: first IP in Network last IP in Network planned: smallest subnet containing two IP addresses broadcast address from CIDR network address from CIDR