"No route to host" when following tutorial "learn bosh"

Remi Tassing

Hi guys,
I like the bosh tutorial by Maria Shaldibina but I'm still getting some error. I suppose most bosh newbies have gone through this tutorial and I'm wondering if they've encountered the same issue (http://mariash.github.io/learn-bosh).

Issuing the command "sudo route add -net" gives me an error "SIOCADDRT: No such device"
On the other hand, "sudo route add -net vboxnet0" seems to work, but "" is inaccessible from host. I have to use vagrant and ssh into the virtual machine in other to access that ip&port.

Any idea on what I'm missing?


Remi Tassing

nevermind, I found a solution (which I need to get a closer look at) in the "Bosh lite" installation guide (https://github.com/cloudfoundry/bosh-lite). There is a script bin/add-route which is supposed to "Add a set of route entries to your local route table to enable direct Warden container access every time your networking gets reset (e.g. reboot or connect to a different network). Your sudo password may be required."