Host Multiple VMs on Single ESX Host with SAME IPs

Our company has a need to host the same VM many times for different engineers/customers to access.  This VM has an IP assigned that is also hard coded into other software running on the VM.  As a result, changing the IP on each instance of the VM is not an acceptable solution.

How can we host the same VM multiple times on the same host when they have the same IP?

For example:
- Customer A Environment
- Customer B Environment
- Sales Engineer A Environment
- Sales Engineer B Environment

Thanks in advance for your help!
EXLINEAsked:
Who is Participating?
 
xcomiiiConnect With a Mentor Commented:
1.You could overcome this with some clever NAT setup, if your firewall supports advanced NAT functions (and I don't mean simple NAT like in a home router box), Cisco and Juniper both supports that scenario.

2. You could wait until vSphere 5.1 is released (just around the corner as for now), Windows Server 2012 also supports this scenario with Hyper-V.

3. Even better: kick the developers that created the application somewhere and force them to take away the hard-coded IP address, and tell them it's one of the most gravest mistakes a programmer can do (unless they provide a interface/function to edit the IP address, like a config file, option setting etc).
0
 
Nagendra Pratap SinghCommented:
Yes, you can.

You just need them to be on a different VLAN. VMware supports hundreds of VLAN.
0
 
EXLINEAuthor Commented:
I was under the impression that each VLAN required a unique address.  The following article shows how I setup VLANs on my SonicWall TZ 210 and in this example they have...

192.168.1.0/24
192.168.2.0/24
192.168.3.0/24

Can you confirm I would be able to setup each VLAN with the same IP schema?
0
The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

 
EXLINEAuthor Commented:
I tested this and was not able to create VLANs with the same IP schema.  Still looking for a solution to the original post.
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
This can be done, but you would need to grant access to the VM by the vSphere Client or Web Client to the VM.

BUT does the VM need to have network access to function? e.g. Internet?

e.g. a virtual machine can be hosted with no network access, ring fenced, but can still be access by the vSphere Client or Web Client.
0
 
Nagendra Pratap SinghCommented:
Well you can even create different switches.
0
 
EXLINEAuthor Commented:
What is this feature called in vSphere 5.1?

Thank you!
0
 
xcomiiiCommented:
It's called VXLAN in VMWare: http://www.vladan.fr/top-features-of-vsphere51/

Win2012 and Hyper-V have actually 2 different types of technologies that can solve your problem.
0
All Courses

From novice to tech pro — start learning today.