8.3 VCAP-DCA Study Guide – Changing the vMA IP address
Posted on 09 Feb 2011 by Ray Heffer
Here is a very quick and dirty tech tip on changing the IP address of your VMware vMA. There are two ways of doing this, the Linux way or the VMware Setup Wizard.
Method 1: The Linux Way
Using your favorite text editor (Vi in my case) edit the following file using sudo:
# sudo vi /etc/sysconfig/network-scripts/ifcfg-eth0
You should see something similar to the following:
DEVICE=eth0
BOOTPROTO=static
PEERDNS=no
ONBOOT=yes
IPADDR=192.168.4.42
NETMASK=255.255.255.0
GATEWAY=192.168.4.1
Make the necessary changes and write-quite (:wq)
Restart the network service:
# sudo service network restart
Method 2: Using the vMA Setup Wizard
Change the working directory to /opt/vmware/vma/bin/
# cd /opt/vmware/vma/bin/
Run the vmware-vma-netconf.pl script:
# sudo ./vmware-vma-netconf.pl
Follow the on-screen instructions. Job done.
Tagged with: vmware certification