Sunday, June 6, 2010

Networking between host and guest VM with VirtualBox

I had assumed that the host and guest would be able to "see" each other on the network by default but this is not the case.   A little setup is required.


Create a 2nd Network adapter set to host only in VirutalBox
It should now appear in Windows as a new adapter.  Set the IP properties to have an IP and subnet of your choosing, eg IP of 10.1.1.10


Now fire up the VM and set the new host-only adapter to have the IP of eg 10.1.1.11 and the same subnet....voila..


In a nutshell thats it they should now be part of the same network.

No comments: