1 Reply Latest reply: Apr 12, 2013 7:28 AM by rukbat RSS

    Issue in connecting to Host machine from Virtualbox

    974057
      Hi Experts,

      I 've installed Virtualbox 4.2.10 on RHEL 6 and installed guest OS RHEL 6 on it. I 've configured NAT & Host-only adapter in order to established the connection with the Virtualbox from the Host OS.

      The issue is that the Host machine is  able to connect to Virtualbox i.e on which the virtualbox is installed But not vice versa i.e Failed to ping the server from Virtual machine.
      even though Virtual machine can connect to Internet but not able to ping the server. there is no ISsue in sharing a folder from the Host OS to virtaulbox . able to mount share directory from the Guest OS i.e from VirtualBox.
      i 've disabled the SELINUX in both the machine as well.

      when i ping the Host machine from the virtualBox . ping ebs1.oracle.com or ping IP  it says Destination host unreachable.  But can ping the Virtual machine from the Host.

      Please see the following configuration of  /etc/hosts & /etc/resolv.conf of both the machine.
      Host OS which is ebs.oracle.com & Guest OS i.e VirtualBox which is ebs1.oracle.com.  And the IPs of both are : 192.168.1.1 And 192.168.1.8 & the DNS which i 've configure is 192.168.1.1.
      [root@ebs Desktop]# vi /etc/hosts
      [root@ebs Desktop]# cat /etc/hosts The same configurtion in VirtualBox /etc/hosts file as well
      127.0.0.1 localhost.localdomain localhost
      *192.168.1.1 ebs.oracle.com ebs*
      *192.168.1.8 ebs1.oracle.com ebs1*

      [root@ebs Desktop]# cat /etc/resolv.conf The same configurtion in VirtualBox /etc/resolv.conf file as well
      # Generated by NetworkManager
      search nameserver
      nameserver 192.168.1.1


      Could you please  suggest why the Guest OS i.e Virtual machine is not able to ping the HOST OS despite getting the shared folder or no issue in mounting the shared directory from the Virtualbox.


      Thanks
      Priya