Setting up VMWare on Ubuntu
By kenkranz on Aug 05, 2007
- Obtain a VMWare Server serial number by registering at the VMWare website
- Add the universe, multiverse and (important) commercial repositories
- Start Synaptic Package Manager
- Search for "vmware-server"
- mark the "vmware-server" for installation. Via dependencies, it should also select the "vmware-server-kernel-modeluesxxx" for installation
- hit apply
- when prompted, enter the VMWare server serial number
I had noticed that,sometimes, it seems that the VMs cannot connect to the host via the network. I had experimented with installing Ubuntu several times. Every so offen, for a given install, none of the VMs would have network connectivity. It was all or nothing. Either all the VMs I created (XP, Solaris, Ubuntu) had network connectivity or none did.
I finally figured out what the cause of the problem was. It revolved around the fact I have
two network adapters, but only one is physically connected to the
network. It so happens that ln0 was disconnected and ln1 was connected.
In my latest reinstallation of Ubuntu, I forgot to disable ln0 before installing VMWare.
Consequently, when I installed VMWare it attached to ln0 - resulting in
none of my VM's having network connectivity.
I could not figure out how to reroute the VM network in the configuration files. Instead, I disabled ln0 then uninstalled and reinstalled VMWare. I then pointed to my existing VM images and everything was good.
Unknown if, had I had ln0 connected and ln1 disconnected, would the VM problem arose. Either way, if you have a network adapter that is not physically connected, it is best to disable it before proceeding with the VM install. I will, eventually, lookup how to change network adapters on the VM site and detail the steps here.