Question

  Asked: May 15 2008   4:58 AM GMT
  Asked by: Nate@Mindteck


Re-IPing in VMWare


IP addressing, ESX 3.5, VMware ESX, VMware

How does one re-ip a segement on the adapter in 3.5, with console 2.5?

Subscribe to Alerts! Get questions and answers delivered to your Inbox.


E-mail me updates on this question



   SUBSCRIBE

hidden modal window

Answer Wiki (Improve, edit or add to this answer)


 RATE THIS ANSWER
0
Click to Vote:
  •   0
  •  0



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.
  • AddThis Social Bookmark Button

Browse more Questions and Answers on Networking and Virtualization.

Looking for relevant Networking Whitepapers? Visit the SearchNetworking.com Research Library.


Discuss This Answer


You must be logged-in to discuss a question. Log-in/Register