0

I am working on a mac, using vagrant & virtualbox. Yesterday everything was working fine. But today after i run homestead up, i can ssh into vm, but i am not able to ping it (192.168.10.10).

In ifconfig i see the following (but i even can't ping 192.168.10.1):

vboxnet0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
ether 0a:00:27:00:00:00
inet 192.168.10.1 netmask 0xffffff00 broadcast 192.168.10.255
avasin
  • 9,186
  • 18
  • 80
  • 127
  • Is ping the only thing not working? – ceejayoz May 09 '15 at 01:45
  • I can't open website by ip address. `homestead ssh` works well. – avasin May 09 '15 at 01:47
  • Open up VirtualBox and check that the IP didn't change. Then, check that nginx and hhvm are running in the box. – ceejayoz May 09 '15 at 01:49
  • I see ip address `192.168.10.10`. Ps axu says that nginx is running. `ssh 192.168.10.10` does not work, only `homestead ssh` – avasin May 09 '15 at 01:50
  • There's not enough information here to know whether it would be normal to _expect_ to reach the guest from the host via its native IP address. The default mode for VirtualBox guests is NAT, in which case the host can't see the guest's IP at all. – Charles Duffy May 09 '15 at 02:13
  • 1
    At minimum, you might show us your Vagrantfile; then there might at least be the beginnings of enough information to work from. – Charles Duffy May 09 '15 at 02:14

1 Answers1

6

Same problem here, I resolved with the following steps

  • update your virtualbox app
  • remove box from virutalbox gui, delete all files
  • homestead destroy
  • homestead update
  • reboot mac
  • homestead up

and everything was working again...

Rob Gordijn
  • 6,381
  • 1
  • 22
  • 29