Automated creation of virtual network based on real network