Friday, October 2, 2009

HOWTO Ubuntu network configuration in VMware

I've run a couple Ubuntu images on my machine lately and keep forgetting how/where to re-initialize the network settings. The easy answer is:

/etc/network/interfaces

Then rerun the network startup script:

/etc/init.d/networking restart

Bingo. It should reset the networking stuff.

To make this work properly in the VMware image, you need to make sure that "Devices > Network Adapter > Connect has been selected. I typically use "NAT" mode which results in outgoing connections from the VM, incoming traffic from the host OS, but the VM is not reachable by other machines on the network. "Bridged" will allow reachability from the network, but probably requires that you can get multiple DHCP addresses from the same MAC.

No comments:

Post a Comment