Page 1 of 1

Windows Host to Access Linux VM

Posted: 10. Dec 2012, 14:47
by mag070
I am running a vm with Oracle Linux, running a Oracle Database 11g, the host is Win7(64bit). Virtual Box v4.2.4

I would like the host(win7) to connect to the VM(linux) Oracle Database.

I am having problems understanding what I need to do from a Virtual Box setting or a Linux setting to be able to connect the Win7(host) to the Oracle Database(on the Linux VM)

Could you provide the steps requires to achieve this ?

Thanks...

Re: Windows Host to Access Linux VM

Posted: 10. Dec 2012, 15:47
by Perryg
Make sure that the guest is set to use bridged in the VBox guests network setting, or host-only if you don't have a router in your LAN.

Re: Windows Host to Access Linux VM

Posted: 11. Dec 2012, 06:52
by mag070
I am running the VM from a USB hardrive, on a notebook. Meaning the notebook maybe connected to a network(hardwired or wireless) or standalone.

Can you direct me to some documentation that will provide step byu step instructions on how to achieve this ?

Thanks..

Re: Windows Host to Access Linux VM

Posted: 11. Dec 2012, 15:23
by Perryg
In that case you would be better of using the following:
  • 1) set the first adapter to use host-only
    2) create a second adapter to use NAT.
The NAT connection will allow the guest to have Internet and the host-only will allow the host <-> communication.
Look in the guests settings -> network for the adapter settings. (guest must be shut down and not in saved state)