Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a question about setting up a customized network over virtual machines. I just have access to one cloud provider that gives me ability to load multiple virtual machines. Each user may have his own VMs that will be loaded during a time or at the same time. Each VM has two network interfaces. One of them is public interface that allow user to ssh or RDP to this machine and one another is a private network with ip range of 10.10.x.x that is used for internal communication between cloud managed and these machines. I just wanted to define a new network among these machines with ip range of 192.168.x.x . in fact I want VMs use their own IPs and also add my new IP address to these machines. What options do I have? Consider that, each time I make some VMs they will acquire new IP addresses and for each user I wanted to have exactly one group of VMs with predefined IP addresses.

share|improve this question
What problem are you trying to solve? – MikeyB Jan 13 '12 at 21:46
please explain exactly what you want to know from us. – Mose Jan 13 '12 at 22:21
I want to make a private network between these virtual machines like following image : , in fact i want to make red lines – Mani Jan 13 '12 at 22:29

If your cloud provider would not provide for a separate "private" network for all of your machines, you have no other chance but to tunnel through a VPN - in a typical setup it also would create a new "virtual" VPN subnet and VPN interfaces would receive addresses from the virtual subnet's address pool.

share|improve this answer
how can I make VPN automatically? when I make some virtual machines they will have new IP addresses and I need to find those IP addresses in someway and make a VPN between these machines. – Mani Jan 13 '12 at 22:58
@Mani I don't quite understand what you mean by "automatically". Of course VPNs need to be set up. There can be automation methods for deployment depending on your operating system and the VPN solution chosen. – the-wabbit Jan 13 '12 at 23:02
I know, the problem here is that I want to set up some images with the network configuration between them(probably one vpn) and next time I want to see that I have this network between images. I don't want to do this manually everytime. – Mani Jan 13 '12 at 23:41

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.