Hi I have been trying to create a internal network using Vagrant with VirtualBox. My host is a MacBook Air and my guests (Ubuntu) cannot ping each other. I have tried various resources online and according to the websites that I have viewed I seem to be doing the right thing. Below is my configuration file for Vagrant:
Vagrant.configure(2) do |config| config.vm.box = "ubuntu/trusty64" # config.vm.provision :salt do |salt| # salt.minion_config = "saltstack/etc/minion" # salt.run_highstate = true # salt.install_type = "git" # salt.install_args = "v2014.1.0" # salt.verbose = true end config.vm.define "web" do |web| web.vm.box = "ubuntu/trusty64" web.vm.network "private_network", ip: "10.0.2.16", virtualbox_intnet: true, virtualbox__intnet: "intnet" end config.vm.define "db" do |db| db.vm.box = "ubuntu/trusty64" db.vm.network "private_network", ip: "10.0.2.17", virtualbox_intnet: true, virtualbox__intnet: "intnet" end config.vm.boot_timeout = 1000 end As you can see I have assigned both ip addresses to my machines. When using the private network option, VirtualBox default is set to host only networking. I would like internal network. So, I added the virtualbox_intnet option to true which enables internal networking. I am using 1.7.2 of vagrant and VirtualBox version is 4.3.30. Now, I am unable to ping both of these machines from within the guests. What am I doing wrong? I have visited the main vagrant websites and others includinghttps://forums.virtualbox.org/viewtopic.php?f=9&t=17747 -- 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/90424fec-13ca-4480-b4c6-33d2451041fa%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
