I've asked this question before on stackexchange for any hints or suggestions. However, there weren't sufficient replies and I was not able to solve this question. So now I'm looking for a solution.
Let $A$ be a subset of the set of all non negative real numbers. It is required to show the existence of a metric space $X$, such that the set of all non-zero distances of $X$ equal the set $A$. All solutions will be highly appreciated.