Convert IP range to CIDR: