Re-IPing in VMWare

5 pts.
Tags:
IP addressing
VMware
VMware ESX
How does one re-ip a segement on the adapter in 3.5, with console 2.5?
ASKED: May 15, 2008  4:58 AM
UPDATED: July 22, 2008  6:56 PM

Answer Wiki

Thanks. We'll let you know when a new response is added.

Without more detail it is difficult to tell exactly what you are trying to re-ip. If it is the Service Console that you are trying to change the IP address on you can do this from the command line interface on the ESX Server

Type “esxcfg-vswif -l” to see the current config
Type “esxcfg-vswif -i <new ip> -n <new subnet mask> vswif0″ to change the IP address
Type “service mgmt-vmware restart” to restart the management agent
Type “nano /etc/sysconfig/network” to add the new gateway, edit the line GATEWAY=<new gateway ip>
Type “service network restart” to restart the SC networking

Then make sure your DNS is updated, also if you are using VLANs and the new IP is not included in the VLAN ID’s for the vswitch then you also need to run the below command:

esxcfg-vswitch -p <SC PortGroup Name> -v <new VLANID> vSwitch0

It’s also possible to do this through the VI client but you will usually be dis-connected when doing it. It’s under Configuration, Networking, then go to the properties of the vswitch with your service console (usually vSwitch0), select the Service Console, click Edit, then select Continue Modifying Connection , then click the Edit button.

You do not assign non-service console nic’s an IP address (except for the vKernel). The IP address gets assigned to the VM’s and the VM nic’s are basically just an uplink port for the virtual switches.

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following