An increasing number of synthetic topology generators are available, each claiming to produce representative Internet topologies. Every generator has its own parameters, allowing the user to generate topologies with different characteristics. However, there exist no clear guidelines on tuning the value of these parameters in order to obtain a topology with specific characteristics. I propose a method which allows optimal parameters of a model to be estimated for a given target topology. The optimization is performed using the weighted spectral distribution metric, which simultaneously takes into account many the properties of a graph. Keywords: Scalability, Network modeling, Internetworking