Hi,
I'm using Vagrant , VirtualBox, and a Ubuntu 17.04 host and I can't get
private networking to work.
My guest Vagrant box has two interfaces (eth0 10.0.2.15, eth1
192.168.33.20) and I can reach the internet from the box; but I can't reach
192.168.33.20 from the host. I have a vboxnet0 and a vboxnet1 on the host,
but both are down and have no IP.
I also can't understand why the box has two interfaces, I'm only asking for
private_network with an IP of 192.168.33.20.
How do I make it so that the host can reach 192.168.33.20?
my Vagrantfile:
> # -*- mode: ruby -*- # vi: set ft=ruby :
> Vagrant.configure("2") do |config|
> config.vm.box = "ubuntu/trusty64"
> config.vm.network "private_network", ip: "192.168.33.20"
> config.vm.provider "virtualbox" do |vb|
> vb.memory = "1024"
> end
> config.vm.provision "ansible" do |ansible|
> ansible.playbook = "provisioning/playbook.yml"
> end
> end
--
This mailing list is governed under the HashiCorp Community Guidelines -
https://www.hashicorp.com/community-guidelines.html. Behavior in violation of
those guidelines may result in your removal from this mailing list.
GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to the Google Groups
"Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vagrant-up/405fe385-5ace-4337-b722-2364a51716b8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.