home tools books contact

VMware Fusion 11.5: Assigning static IP addresses to virtual machines

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 11.5 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.

subnet netmask {
        option broadcast-address;
        option domain-name-servers;
        option domain-name localdomain;
        default-lease-time 1800;                # default is 30 minutes
        max-lease-time 7200;                    # default is 2 hours
        option netbios-name-servers;
        option routers;
host vmnet8 {
        hardware ethernet 00:50:56:C0:00:08;
        option domain-name-servers;
        option domain-name "";
        option routers;

As you can see, the second line contains the range, which is: to

This means we can use to


Example config of a static IP on Ubuntu 18.04

Let’s say you wanted to assign the static IP of to your Ubuntu VM. Here’s what the Netplan config would look like.

  version: 2
  renderer: networkd
      dhcp4: no
      addresses: []
        addresses: []

This tutorial explains how to assign a static IP on Ubuntu 18.04 in more detail.

Written by: Tony Mackay

Virtualization Fusion

* GraspingTech participates in various affiliate marketing programs, which means we may earn a small commission at no additional cost to you, should you click on a link to a product and make a purchase.