VMware Fusion: Assigning static IP addresses to virtual machines
Disclosure. This page contains links to products that may earn us a small commission at no extra cost to you, should you click on them and make a purchase.
Read full disclosure.
This tutorial will show you how to find out what range of IP addresses you can use when assigning a static address to a VMware Fusion virtual machine.
When creating a virtual machine with
VMware Fusion*, the the default network will assign an IP address to the OS.
You cant change it to static without first knowing what the DHCP range is because it can cause a duplicate IP on the network.
What’s the DHCP range
You can find out what the range is by looking in the dhcpd.conf file of the network assigned to the VM. By default this will be a network shared with the host, with the Mac using NAT for the VMs to access the internet.
On my installation on VMware Fusion 11.5, the conf file is in the vmnet8 folder. Run the following command.
sudo vim /Library/Preferences/VMware\ Fusion/vmnet8/dhcpd.conf
The contents of the file should be similar to below.