Static IPs with the VMware RCLI Virtual Appliance

By default the VMware RCLI virtual appliance uses DHCP to configure its Ethernet interface. If you don’t want it to use DHCP you can change it fairly simply. There are two ways to do it:

1. Put it on a DHCP-capable subnet, let it DHCP an IP, then go to that hostname with a web browser and change the network settings through the web interface.

2. Change the settings manually. To do that, log in to the RCLI appliance as root with the password you set on the first boot. Use vi to edit /etc/network/interfaces.

If you are not familiar with the UNIX editor ‘vi’ you might want to take a few minutes and go through a short tutorial. A number of Universities offer tutorials that are well suited to vi newcomers.

In /etc/network/interfaces change:

iface eth0 inet dhcp


iface eth0 inet static

and save the file. Then use vi to edit /etc/resolv.conf, changing:


to something like the following, obviously inserting your own name servers and domain name:

nameserver xxx.yyy.zzz.bbb

Save that file and reboot:

shutdown -r now

and you’re set.