Accessing Host OS from Virtual Box requires enabling few settings in Virtual Box.
Here is the step-by-step sceenshots of settings used to for Host & Guest communication.
I have used Windows Server 2003 as a Host and Guest.
Open Virtual Box and select the GuestOS and click Network.
Click the add button and click ok.
Virtual Box now Installs Virtual LAN Adapter Click Continue anyway.
An entry will appear in Host Interfaces Box. After that click Enable Network Adapter and select Host Interface from Attached to dropdown and finally check cable connected.
Now the Setting the options in Virtual Box is done. We need to assign ip addresses to both Host and Guest OS.
So in the host os right click the virtual box host interface found in Network Connection folder and select the properties.
Now assign ip address which can be any private ip address range and assign subnet mask.
Now start you Guest OS in Virtual box and enter its Network connections folder and right click the Virtual Box host interface and select properties. Now
select TCP/IP properties and assign ip address and subnet mask for the Guest OS.
Now open command prompt inside the Guest Os and ping the Host Os by entering the ip address you just assigned to host os. If you receive the success replies the connection is successful and now your host and guest os are connected as if they are in LAN.
Now lets access the host file system from inside the guest os. Open the run dialog in guest os and enter the host ip address followed by Administrative Share e.g. \\10.0.0.1\C$ and press enter.
Windows Authentication Box will appear. Enter your administrative credentials and press enter. Pls note if you want to access the administrative shares in the host os simple file sharing must be disabled from folder options.
A window will open displaying the contents of a C: drive of Host OS.
If you have any problems leave a comment.
Here is a link to download all the above screenshots in Zipped file.
http://rapidshare.com/files/112180909/Accessing_Host_from_guest_in_virtual_box.zip
Thursday, January 3, 2008
Accessing Host OS from Guest OS in Virtual box
Posted by
Sunny
at
5:50 PM
3
comments
Labels:
VirtualBox
Subscribe to:
Posts (Atom)


