Skip to content

Instantly share code, notes, and snippets.

@rch317
Last active March 22, 2017 14:34
Show Gist options
  • Save rch317/edf952aacd49f024be4357e92c5deb82 to your computer and use it in GitHub Desktop.
Save rch317/edf952aacd49f024be4357e92c5deb82 to your computer and use it in GitHub Desktop.
vmware fusion: tips and tricks

VMWare Fusion: Tips and Tricks

Assign Static IP to VM

  • Determine the MAC address of the network interface(s) you wish to assign a static IP to:
    • $ ip link
    • link/ether 00:0c:29:c5:05:d6 brd ff:ff:ff:ff:ff:ff
    • You can also view the vm guest network settings under advanced
  • Edit the dhcpd.conf file
    • /Library/Preferences/VMware\ Fusion/vmnet8/dhcpd.conf
    • Take note of the "range" line, as your static ip must not be in this range
subnet 192.168.234.0 netmask 255.255.255.0 {
	range 192.168.234.128 192.168.234.254;
	option broadcast-address 192.168.234.255;
	etc
}
  • Add your new host after the line below:
    • ####### VMNET DHCP Configuration. End of "DO NOT MODIFY SECTION" #######
host mgmt01 {
    hardware ethernet 00:0C:29:C5:05:D6;
    fixed-address  192.168.234.20;
}

The End

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment