"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 10.244.0.0/19 192.168.50.4" gives me an error "SIOCADDRT: No such device"
On the other hand, "sudo route add -net 10.244.0.0/24 vboxnet0" seems to work, but "10.244.0.2:8080" 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


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."