Windows Host to Access Linux VM

Discussions related to using VirtualBox on Windows hosts.
Post Reply
mag070
Posts: 2
Joined: 10. Dec 2012, 14:39

Windows Host to Access Linux VM

Post 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...
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Windows Host to Access Linux VM

Post 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.
mag070
Posts: 2
Joined: 10. Dec 2012, 14:39

Re: Windows Host to Access Linux VM

Post 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..
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Windows Host to Access Linux VM

Post 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)
Post Reply