Page 1 of 1

Networking questions "No Route to Host"

Posted: 3. Jun 2010, 03:41
by BannerAd
I have just got VirtualBox up and running on OS and have created 2 separate Ubuntu Linux VMs. Everyone is networking ok to the outside world, but I can't get the Linux VMs to talk to each other (I'm just trying to ssh for proof-of-concept). Here is the truth table:

OS X Host can ssh to linux1 and linux2
linux1 can ssh to OS X Host but not linux2 (No Route to Host)
linux2 can ssh to OS X Host but not linux1 (No Route to Host)

Everyone has a legitimate IP address that looks to have come from my router. My networking kung-fu is too weak here. Any ideas of how I can trouble shoot this?

Regards,
Bob

Re: Networking questions "No Route to Host"

Posted: 3. Jun 2010, 03:59
by Perryg
If you let it setup as default then you are using NAT and the guests will not see each other nor the host.
If you have a router then use Bridged mode or use host-only and add a second adapter set to NAT.
Read you VirtualBox users guide Chapter 6. Virtual networking for information.

Re: Networking questions "No Route to Host"

Posted: 3. Jun 2010, 05:25
by BannerAd
I have a router and I am using Bridged mode, but only on Adapter2 (which is en:Airport). I wonder if somehow the default, NAT, Adapter 1 is screwing this up. How I do not know. OK, OK, RTFM.

Thanks
Bob