Archive

Archive for April, 2011

Changing the Service Console IP address on ESX 3.x and 4.0

April 24, 2011 Comments off

ref: http://communities.vmware.com/servlet/JiveServlet/downloadBody/11927-102-3-11792/ChgIP.rtf

Log in as root to the ESX host console using a SSH or KVM connection.

1. Run the following command to stop the network service:

service network stop

2. Run the esxcfg-vswif command to change the IP of the hosts:

esxcfg-vswif -i NEW_IP_ADDRESS -n MASK_ADDRESS vswif0

3. Edit the /etc/sysconfig/network file and change the gateway IP if needed.

4. Run the following Command to restart the network

      service network start

5. Add the host back to VirtualCenter using a FQDN (preferably) or by its IP/Reconnect host to VirtualCenter (if applicable).

Note:-   To use vi: vi <filename>
        To enter into Insert Mode: i
        Edit/Insert the text
        To switch from Insert Mode to Command Mode: [esc]
        To exit vi without saving changes::q!
        To Save Changes and exit : wq!


Categories: vmware
Follow

Get every new post delivered to your Inbox.