I am unable to ping vagrant box from host

19 views
Skip to first unread message

Sidney Lee

unread,
Jan 3, 2017, 5:59:28 AM1/3/17
to Vagrant
Hi,

OS X: 0.11.6 (El Capitan)
Virtual Box: 5.1.10
Vagrant: 1.9.1

Vagrant File
----------------

# -*- mode: ruby -*-
# vi: set ft=ruby :

Vagrant.configure("2") do |config|
  # Every Vagrant development environment requires a box. You can search for
  config.vm.box = "bento/centos-7.1"

  # Create a private network, which allows host-only access to the machine
  # using a specific IP.
  config.vm.network "private_network", ip: "192.168.33.10"
end

----------------

Was initially able to ping the box from the host without any problems.
However, I have since created a second box and am now unable to ping either box, regardless of the IP address I use. 
I even destroyed the second box and provisioned the original box from scratch, but no longer able to ping the box.

Am able SSH into the box and everything seems fine otherwise...

Any help would be greatly appreciated,

// sidney




Sidney Lee

unread,
Jan 3, 2017, 6:37:12 AM1/3/17
to Vagrant
well, it seems to have something to do with "bento/centos-7.1"...

if I use hashicorp/precise64 (for example), I am able to ping the box from the host

Ignore the rest of my remakrs from the orginal post. however, there seems to be a problem with "bento/centos-7.1"

// sidney 
Reply all
Reply to author
Forward
0 new messages