How to change IP address in ESX

This entry was posted in Networking, Unix and tagged on June 17, 2012, by

Following are the steps you should follow in order to change the IP address

1. Login is as an root in ESX console

# su root

2. Run the following command to set the IP address

# esxcfg-vswif -i -n vswif0

where is the ipaddress

is the subnet mask

and vswif0 is the interface

3. Modify the /etc/hosts file so it can reflect to correct hostname and IP adress

4. Edit the network interface file which is in /etc/sysconfig/networks

5. Start the network services

# service network restart

Leave a Reply

Your email address will not be published. Required fields are marked *

Copyright 2017 ©Aceadmins. All rights reserved.