Accessing a Virtualbox VM on another PC over the network

grok

Honorary Master
Joined
Dec 20, 2007
Messages
29,809
Reaction score
12,163
Location
'Toorsburg
I'm doing some development after hours so I spent the weekend installing Oracle E-business Suite (Vision DB & Apps) in two Virtualbox VM's on a portable hard drive. Everything's working dandy but it's chowing memory, only have 6GB on the laptop & with all my dev tools running I'm over 5GB already :erm:

So I moved Virtualbox to my home PC and was running the VM's there, but I cannot access the VM's IP adresses from the laptop. Everything's connected to my wireless router on 192.168.0.x network (all machines including VM's can access the internet) but I cannot get to the VM's IP adresses from the laptop. Suspect it's 'cos the VM's are in range 192.168.56.x but no time to fiddle right now so I'm moving the VM's back.

Could this be solved in Virtualbox or is it a network/router thing like IP forwarding?
Anyone willing to offer a quick solution?
 
Last edited:
Sounds like you are using a host only adapter. Turn off the VM, and go to the settings. In settings, change the network interface "mode" to Bridged.
 
I'm a Virtualbox novice, network is set to host only indeed.

Don't want to stop the VM's now just got them up & running again :)
Will switch settings once I'm done for tonight.

Thx!
 
Also look into Vagrant. Its a layer on top of Virtualbox but gives you better control over the config as its all done in config files. The VMs are also designed to be destroyed and recreated quickly so great for playing around. We use them for our development work.
 
Top
Sign up to the MyBroadband newsletter
X