Skip to content

Instantly share code, notes, and snippets.

@jedi-jiang
Last active November 23, 2019 07:01
Show Gist options
  • Save jedi-jiang/cc89176f9346a9e18df4e1dee743a124 to your computer and use it in GitHub Desktop.
Save jedi-jiang/cc89176f9346a9e18df4e1dee743a124 to your computer and use it in GitHub Desktop.
  1. Get the VM's virtual MAC address

Open the VM’s Settings and select “Network Adapter”. Then expand the “Advanced options” section at the bottom and copy the MAC address that you see there. Note: if the VM is powered on, the MAC address box will be greyed out.

  1. Modify dhcpd.conf

Edit (sudo) /Library/Preferences/VMware Fusion/vmnet8/dhcpd.conf After where it says End of "DO NOT MODIFY SECTION" enter the following lines:

host MyVM {
     hardware ethernet xx:xx:xx:xx:xx:xx;
     fixed-address  192.168.xxx.xxx;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment