title: Vagrant: how to configure multiple NICs within a Vagrantfile?
body: <p>The official doc gives example only for 1 IP: </p>
  
  <p><a href="http://docs.vagrantup.com/v2/networking/private_network.html" rel="noreferrer">http://docs.vagrantup.com/v2/networking/private_network.html</a> </p>
  
  <pre><code>Vagrant.configure("2") do |config|
    config.vm.network "private_network", ip: "192.168.50.4"
  end
  </code></pre>
  
  <p>Googling around I could find only 1 example of Multiple IPs:</p>
  
  <p><a href="https://groups.google.com/forum/#!topic/vagrant-up/hqtdOEjjlsw" rel="noreferrer">https://groups.google.com/forum/#!topic/vagrant-up/hqtdOEjjlsw</a></p>
  
  <pre><code>Vagrant::Config.run do |config|
    config.vm.define :web001 do |config|
      config.vm.box = "base"
      config.vm.forward_port("http", 5000, 8881)
      config.vm.forward_port("ssh", 22, 2222)
      config.vm.host_name = "web001.example.com"
      config.vm.network("33.33.33.10")
      config.vm.network("33.33.33.20", {:adapter=&gt;2})
    end
  end 
  </code></pre>
  
  <p>but it doesn't work for me...</p>
  
  <p>Any help would be greatly appreciated.... </p>