Cómo tomar dos direcciones IP y realizar una fiesta aritemética

# This will take a CIDR block and calculate the number of addresses within that range.
nmap -sL -n 10.10.64.0/27 | awk '/Nmap scan report/{print $NF}'
Defiant Dingo