Page 1 of 1

Two Centos Systems - unable from one to the other

Posted: 17. Apr 2013, 03:37
by brianjb
My host machine is a Macbook pro. I am using VirtualBox 4.2.12

I have two virtuals that I use. On both of them, I have this:

Adaptor 1
Attached to Internal Network

Adaptor 2
NAT


I am trying to ssh from one to the other. I also want the ability to scp files.

I am getting errors, "no route to host".

Can someone please help?

Re: Two Centos Systems - unable from one to the other

Posted: 17. Apr 2013, 04:18
by Perryg
Internal hooks the two guest together over a virtual switch. VBox NAT gives them the Internet, None of these allow for communication to the host. Bridged or host-only is what you need for that.

Re: Two Centos Systems - unable from one to the other

Posted: 17. Apr 2013, 04:35
by brianjb
Sorry for not being more clear.

I want to ssh from one virtual machine to the other. I don't care about going from virtual to host

Re: Two Centos Systems - unable from one to the other

Posted: 17. Apr 2013, 05:10
by Perryg
Just going by the "I am getting errors, "no route to host" " you posted. In that case you need to make sure that you have them both set up in the same subnet and check the firewall in both to make sure the protocol is open for what you need to do. (no gateway or they will not work)

Re: Two Centos Systems - unable from one to the other

Posted: 17. Apr 2013, 08:25
by noteirak
After following Perry's recommendation, be sure you use the Internal NIC IP and not the NAT IP.