Thursday, March 17, 2011

vmware fusion - changing nat address range on the host

recently I was installing a lot of vmware virtual machines on 3 different macs to test some binbase issues and it turns out the vmware fusion assigns a random iprange on every box.

Rather annoying if you virtual machine needs a fixed IP, thank you rocks guys for this...

Anyway to change the vmnet8 interface configuration you need to modify the following files:





sudo vim /Library/Application\ Support/VMware\ Fusion/vmnet8/nat.conf
sudo vim /Library/Application\ Support/VMware\ Fusion/vnetworking
sudo vim /Library/Application\ Support/VMware\ Fusion/vmnet8/dhcpd.conf



and update the default range with you wished range.

afterwards execute:


./boot.sh --restart


in the directory:


/Library/Application\ Support/VMware\ Fusion/


and you should be good togo!

More about this can be found at http://blog.mclaughlinsoftware.com/2010/03/01/vmware-fusion-nat/