Solved

Script for configuring Ip address

Posted on 2013-10-30
2
318 Views
Last Modified: 2013-11-03
hello everyone,

I have a few machines that i have cloned/replicated that need their IPS to be changed. Is there a script in vmware to run in vsphere/vcenter or on the windows server to change the IP remotely or automatically?

I am looking to change only as follows in script

xx.xx.xx.10
255.555.555.0
xx.xx.xx.1

DNS
xx.xx.xx.xx
xx.xx.xx.xx


Thanks a million
0
Comment
Question by:Jimbo0215
2 Comments
 
LVL 119
ID: 39611269
When you CLONE the Virtual Machine from vCenter Server, you can APPLY, a Customization Specification, which will APPLY and IP Address, automatically as part of the procedure and deployment.

See the documentation here

http://pubs.vmware.com/vsphere-50/index.jsp?topic=%2Fcom.vmware.vsphere.vm_admin.doc_50%2FGUID-7523239A-9BB8-4FAD-88F6-C8701933CA64.html
0
 
LVL 70

Accepted Solution

by:
KCTS earned 500 total points
ID: 39611300
ideally you should use the windows tools to clone a machine to avoid duplicate SIDs etc.
You can use Netsh to set IPs.

see http://www.windowsreference.com/networking/how-to-set-staticdhcp-ip-address-from-command-line/
0

Featured Post

Portable, direct connect server access

The ATEN CV211 connects a laptop directly to any server allowing you instant access to perform data maintenance and local operations, for quick troubleshooting, updating, service and repair.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
VMWare standalone converter not working 2 34
Hyper-V won't start Server 2003 as a guest OS 7 72
time esx vm's to reboot 4 28
ESXi 5.5 incompatibility when migrating VM 9 67
Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
In this article, I show you step by step with screenshots to assist you - HOW TO: Deploy and Install the VMware vCenter Server Appliance 6.5 (VCSA 6.5), with some helpful tips along the way.
Teach the user how to use vSphere Update Manager to update the VMware Tools and virtual machine hardware version Open vSphere Client: Review manual processes for updating VMware Tools and virtual hardware versions: Create a new baseline group in vSpā€¦
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

821 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