Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I have installed a Vcenter 5.1 on a system netowrk, and gave it an internal IP.

This server (Dell R620) than had to go to a remote hosting location. That gave me a totally different IP and sub network.

Now, what I need to do, is be able to change the Vcenter server it's IP to the one I can remotely connect to.

Now, I can only Launch the Console of the appliance from within the Host machine itself. enter image description here

I am looking on how to change the appliance IP using command line (logged in as root)

share|improve this question

2 Answers 2

up vote 4 down vote accepted

I can't recall which specific Linix distro the VCA is built on but I think it's a RHEL variant, so just edit /etc/sysconfig/networking/devices/ifcfg-eth0 as root, it's all very obvious from there. Then just reboot or restart the networking service for the changes to come in.

share|improve this answer
great, the file is /etc/sysconfig/networking/devices - what I do with the 'BROADCASTING' address? what is that? Gateway? –  Saariko Dec 21 '12 at 10:17
The broadcasting address is the broadcast address of your network. You can use subnet-calculator.com to calculate it, if you don't know what it is. –  Dan Dec 21 '12 at 10:20
Didn't work until I symlinked to /etc/sysconfig/network/ifcfg-eth1 as per vninja.net/virtualization/… –  trinth Dec 4 '13 at 21:04
Do NOT merely edit this file when changing the IP! You will receive errors with the Inventory and STS (secure token service, part of the SSO suite). These components must re-register under the new URL. The much better way is the way the vendor supports, in Jonas' answer below. –  Tohuw Oct 31 '14 at 4:22

I found a comfortable way of doing this here:


It also allows you to change hostname, DNS, default gateway and proxy.

To sum it up:

  • Open a console session of the VCSA
  • Login as: root
  • Default password is: vmware
  • Execute the following command: /opt/vmware/share/vami/vami_config_net
  • After executing the command, a menu is displayed. Within the menu It is possible to change the IP address, hostname, DNS, Default gateway and proxy server.

After allocating a static IP Address to the VCSA, the post configuration can be done by using the following URL:

share|improve this answer
I just had to do this twice this week. This is correct. –  ewwhite Aug 13 '14 at 14:42

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.