Solved

Why when I clone a VM and put in a designated network vswitch (network segment), the network configuration did not go to that designated segment when I powered it on?

Posted on 2014-03-04
5
602 Views
Last Modified: 2014-03-20
Please see attached.

When I clone a VM, I put in (No. 1) vswitch. However, when I powered it on, it ended up in (No. 2) vswitch. When I go to the network properties to view the TCP/IP info, it retained the IP info that was on the original VM. Shouldn't it have changed the TCP/IP info when the VM is set to a diferent vSwitch? So with the original VM powered on, and when powering on the Cloned VM, I noticed the IP are identical. It did not complain about any conflict at that time, but I was concerned about this, so I changed the IP right away so there won't be any conflicts. Is there a way to change the IP address of a VM while it is powered off?
Untitled.png
0
Comment
Question by:5itface
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 

Author Comment

by:5itface
ID: 39904763
Also to add, when all this was going on, the DNS record was lost for the original VM. I don't know how that came about, so I had to add it back manually.
0
 
LVL 81

Expert Comment

by:David Johnson, CD, MVP
ID: 39904849
When you cloned the vm (which had a static ip address) the static ip address stays on.  It doesn't magically change by itself.  You should have got a new MAC address.. use ipconfig /all to confirm that you have unique MAC addresses
0
 
LVL 4

Accepted Solution

by:
Jason Ryberg earned 500 total points
ID: 39904860
The method for changing system properties when cloning a VMWare VM occurs during the Customization Specification process, which is defined while within the Clone VM Wizard:

http://pubs.vmware.com/vsphere-50/index.jsp#com.vmware.vsphere.vm_admin.doc_50/GUID-2481FF43-8C73-41FE-9BA0-D2676E5BC781.html
0
 
LVL 13

Expert Comment

by:Abhilash
ID: 39905379
As far as both switches can take the traffic through i don't think it would not cause any issues.

And as everyone said, you will have to build a custom script and invoke in during the time of cloning to change the properties of the newly cloned machine.
While cloning select the option that says "Customize using the Customization Wizard" and make select all the changes that have to be done. At the end of it, save the custom specs. So that next time you clone a machine you don't have to build a new one again.
You can use the option that says "Customize using existing customization Specs".
0
 
LVL 20

Expert Comment

by:compdigit44
ID: 39910450
When you view the VMX file for the VM, what does it list for the vDS switch?
As a test have you tried to clone another VM to see if it holds the correct vDS settings?
On the target vDS do you have enough open ports or have it set not to dynamic increase ports when needed?
0

Featured Post

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Ransomware is a malware that is again in the list of security  concerns. Not only for companies, but also for Government security and  even at personal use. IT departments should be aware and have the right  knowledge to how to fight it.
I was prompted to write this article after the recent World-Wide Ransomware outbreak. For years now, System Administrators around the world have used the excuse of "Waiting a Bit" before applying Security Patch Updates. This type of reasoning to me …
This tutorial will show how to configure a single USB drive with a separate folder for each day of the week. This will allow each of the backups to be kept separate preventing the previous day’s backup from being overwritten. The USB drive must be s…
In this video tutorial I show you the main steps to install and configure  a VMware ESXi6.0 server. The video has my comments as text on the screen and you can pause anytime when needed. Hope this will be helpful. Verify that your hardware and BIO…

738 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question