title: How can I define network settings with vagrant
body: <p>I am running Ubuntu inside vagrant, here is the Vagrantfile:</p>
  
  <pre><code># Vagrantfile API/syntax version. Don't touch unless you know what you're doing!
  VAGRANTFILE_API_VERSION = "2"
  
  Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
    config.vm.box = "ubuntu/trusty64"
    config.vm.network :private_network, ip: "192.168.99.4", :netmask =&gt; "255.255.255.0", auto_config: false
  end
  </code></pre>
  
  <p>So I expect to have 192.168.99.4 as IP but I always have:</p>
  
  <pre><code>eth0      Link encap:Ethernet  HWaddr 08:00:27:88:ba:8f  
            inet addr:10.0.2.15  Bcast:10.0.2.255  Mask:255.255.255.0
            inet6 addr: fe80::a00:27ff:fe88:ba8f/64 Scope:Link
            UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  
  eth1      Link encap:Ethernet  HWaddr 08:00:27:9c:a9:9f 
            inet6 addr: fe80::a00:27ff:fe9c:a99f/64 Scope:Link 
            UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  </code></pre>
  
  <p>Any clue what I do wrong ?</p>
  
  <p>Got some progress on the question, and it is almost like this one :
  <a href="https://stackoverflow.com/questions/28722563/how-to-switch-order-of-network-adapters-in-vagrant-under-virtualbox">How to switch order of network adapters in Vagrant under VirtualBox?</a></p>
  
  <p>It is about not using "10.0.2.15" and from what I understand it is to be changed in the "NAT" setup of virutalbox, can not be managed by Vagrant</p>