The virtual network is not much different from the physical network in what you are trying to do. It's just a virtual switch instead of a physical one you use, so you need to configure the VM's in the same way as if they were physical servers.
André