title: Vagrant private_network option not assigning the static ip to vm
body: <p>I am using the vagrant 2.2.19 and virtualbox 6.1 over windows 10. The following vagrantfile i m using to create instance of vm</p>
  <pre><code># -*- mode: ruby -*-
  # vi: set ft=ruby :
  
  ENV['VAGRANT_NO_PARALLEL'] = 'yes'
  
  Vagrant.configure(2) do |config|
  
    NodeCount = 1
  
    (1..NodeCount).each do |i|
      config.vm.define &quot;centosvm0#{i}&quot; do |node|
        node.vm.box = &quot;centos/7&quot;
        node.vm.hostname = &quot;centosvm0#{i}.example.com&quot;
        node.vm.network &quot;private_network&quot;, ip: &quot;172.42.42.10#{i}&quot;
        node.vm.provider &quot;virtualbox&quot; do |v|
          v.name = &quot;centosvm0#{i}&quot;
          v.memory = 2048
          v.cpus = 1
        end
      end
    end
  
  end
  </code></pre>
  <p>&quot;vagrant up&quot; intialized the vm with new interface eth1 but without ip address. please suggest what am i missing here. Following is the ip available in my vm. It is also not assigning the hostname.</p>
  <pre><code>1: lo: &lt;LOOPBACK,UP,LOWER_UP&gt; mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
      link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
      inet 127.0.0.1/8 scope host lo
         valid_lft forever preferred_lft forever
      inet6 ::1/128 scope host
         valid_lft forever preferred_lft forever
  2: eth0: &lt;BROADCAST,MULTICAST,UP,LOWER_UP&gt; mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
      link/ether 52:54:00:4d:77:d3 brd ff:ff:ff:ff:ff:ff
      inet 10.0.2.15/24 brd 10.0.2.255 scope global noprefixroute dynamic eth0
         valid_lft 86376sec preferred_lft 86376sec
      inet6 fe80::5054:ff:fe4d:77d3/64 scope link
         valid_lft forever preferred_lft forever
  3: eth1: &lt;BROADCAST,MULTICAST,UP,LOWER_UP&gt; mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
      link/ether 08:00:27:e4:01:5c brd ff:ff:ff:ff:ff:ff
      inet6 fe80::7e26:efb9:ec3b:ebcf/64 scope link noprefixroute
  </code></pre>