VMware Fusion Configuration: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 19: Line 19:
{{External|https://willwarren.com/2015/04/02/set-static-ip-address-in-vmware-fusion-7}}
{{External|https://willwarren.com/2015/04/02/set-static-ip-address-in-vmware-fusion-7}}


Get the MAC address for the VM's network interface: Virtual Machine -> Settings -> Network Adapter -> Advanced options -> MAC Address.
1. Get the MAC address for the VM's network interface: Virtual Machine -> Settings -> Network Adapter -> Advanced options -> MAC Address.


Edit <tt>/Library/Preferences/VMware Fusion/vmnet8/dhcpd.conf</tt>.
2. Edit <tt>/Library/Preferences/VMware Fusion/vmnet8/dhcpd.conf</tt>.


Add at the bottom of the file:
Add at the bottom of the file:
Line 35: Line 35:


Replace "my-host" wither host name.
Replace "my-host" wither host name.
3. Restart VMware Fusion networking runtime, to re-initialize the DHCP server. As root:
<pre>
cd /Applications/VMware Fusion.app/Contents/Library
./vmnet-cli --stop
./vmnet-cli --start
</pre>

Revision as of 21:47, 3 May 2017

Internal

Location of the Virtual Machine Bundle

By default location for the VM bundles is ~/Documents/Virtual Machines.

However, each VM bundle can be placed in an arbitrary location during creation, in the "Finish" screen -> Customize Settings -> Save As: -> Browse button.

Recommended location: ~/VMware Fusion VMs.

To figure out where the files of an existing VM are, go to VMware Fusion -> Window -> Virtual Machine Library -> Select the VM -> Right Click -> Show in Finder.

Networking

Configure DHCP to Serve a Static Address

https://willwarren.com/2015/04/02/set-static-ip-address-in-vmware-fusion-7

1. Get the MAC address for the VM's network interface: Virtual Machine -> Settings -> Network Adapter -> Advanced options -> MAC Address.

2. Edit /Library/Preferences/VMware Fusion/vmnet8/dhcpd.conf.

Add at the bottom of the file:

host my-host {
        hardware ethernet 00:0C:29:9C:53:FF;
        fixed-address 172.16.153.100;
}

The address must be (?) from the subnet and the range declared at the top of the file.

Replace "my-host" wither host name.

3. Restart VMware Fusion networking runtime, to re-initialize the DHCP server. As root:

cd /Applications/VMware Fusion.app/Contents/Library
./vmnet-cli --stop
./vmnet-cli --start