title: Vagrant with VMWare Fusion Plugin
body: <p>I trying to use the Vagrant VMWare Fusion Plugin, however (whatever I do) to set a static IP address on my private VMWare network the VM only ever gets a DHCP address.</p>
  
  <p>I’ve added this to my Vagrant config file: </p>
  
  <pre><code>server1.vm.network "private_network", ip: "192.168.13.120"
  </code></pre>
  
  <p>However, it just gets ignored and a dynamic DHCP address is issued. I’m using the hashicorp/precise64 base image.</p>
  
  <p>Here’s a complete listing of the Vagrant file I'm using to test.</p>
  
  <pre><code> # -*- mode: ruby -*-
   # vi: set ft=ruby :
   VAGRANTFILE_API_VERSION = "2"
  
   Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
  
     config.vm.box = "precise64_vmware.box"
  
     # Turn off shared folders
     config.vm.synced_folder ".", "/vagrant", id: "vagrant-root", disabled: true
  
     # Begin server1
     config.vm.define "server1" do |server1|
       server1.vm.hostname = "server1"
  
       server1.vm.provider "vmware_fusion" do |v|
         v.vmx["numvcpus"] = "1"
         v.vmx["memsize"] = "512"
       end
  
       server1.vm.provider "virtualbox" do |v|
         v.customize [ "modifyvm", :id, "--cpus", "1" ]
         v.customize [ "modifyvm", :id, "--memory", "512" ]
       end
  
       server1.vm.network "private_network", ip: "192.168.13.120"
     end
     # End server1
  
       ....................................
  
   end
  </code></pre>
  
  <p>And this is how my VMWare private interface is configured: </p>
  
  <pre><code>vmnet8: flags=8863&lt;UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST&gt; mtu 1500
  ether 00:50:56:c0:00:08 
  inet 192.168.13.1 netmask 0xffffff00 broadcast 192.168.13.255
  </code></pre>