Network and shared folders

Discussions related to using VirtualBox on Windows hosts.
Post Reply
docaz
Posts: 49
Joined: 6. Apr 2009, 06:48
Primary OS: MS Windows 7
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: windows xp

Network and shared folders

Post by docaz »

I am new to this and your help is appreciated.
I am running VB 2.1.4 on an xp host and an xp guest both service pack 3.
When I am trying to run the network setting in host interface the host crashes.
I am using NAT and can not get access to the shared folders of my host
I can also not access the other shared folders on my network.

thanks again for your help!
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Re: Network and shared folders

Post by Sasquatch »

Shared Folders is only available after installing the Guest Additions. See the VirtualBox FAQ and Manual for more info on that.

Now for your HIF issue. Do you happen to have a Realtek 8169 NIC? If that's true, that's the problem. There are some issues with that adapter. Please update the drivers, that usually helps. Or don't use HIF, but then your VM won't be accessible from the network.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
docaz
Posts: 49
Joined: 6. Apr 2009, 06:48
Primary OS: MS Windows 7
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: windows xp

Re: Network and shared folders

Post by docaz »

Sasquatch wrote:Shared Folders is only available after installing the Guest Additions. See the VirtualBox FAQ and Manual for more info on that.

Now for your HIF issue. Do you happen to have a Realtek 8169 NIC? If that's true, that's the problem. There are some issues with that adapter. Please update the drivers, that usually helps. Or don't use HIF, but then your VM won't be accessible from the network.
This was a fantastic answer.
The Realtek driver was the issue and now the network works great.
Is it normal that I do not see host in the list of networked computers?

Thanks again!!
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Re: Network and shared folders

Post by Sasquatch »

If you use HIF, it should show the Host too. But sometimes it's messed up and you can't even access the Host from the Guest and vice versa. Maybe a firewall on the Host blocking access? Try to access the Host through it's IP address, see how that goes.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
docaz
Posts: 49
Joined: 6. Apr 2009, 06:48
Primary OS: MS Windows 7
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: windows xp

Re: Network and shared folders

Post by docaz »

Sasquatch wrote:If you use HIF, it should show the Host too. But sometimes it's messed up and you can't even access the Host from the Guest and vice versa. Maybe a firewall on the Host blocking access? Try to access the Host through it's IP address, see how that goes.
I have no special firewall and the other machines on the network see the host.
How do you access the host through the IP address (sorry if this is a too basic question)?
What is weird that I can access the guest from the host and I was able to add the network printer (like I said the driver solution was fantastic).
On a different note, if I can access the network shared folders, why would one need separate shared folders in the VM?

Again, thanks a lot!
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Re: Network and shared folders

Post by Sasquatch »

The Shared Folders function add an extra security layer, because the shares are for the VM only, not the entire network.

You access the machine through IP just like you use the name. So accessing it can be through \\<pc name>, but also through \\<ip address>.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
docaz
Posts: 49
Joined: 6. Apr 2009, 06:48
Primary OS: MS Windows 7
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: windows xp

Re: Network and shared folders

Post by docaz »

Sasquatch wrote:The Shared Folders function add an extra security layer, because the shares are for the VM only, not the entire network.

You access the machine through IP just like you use the name. So accessing it can be through \\<pc name>, but also through \\<ip address>.
I am sure that this is stupid but where do it type the the pc name or ip address?
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Re: Network and shared folders

Post by Sasquatch »

You got to be kiddin' me? Where do you type an address?
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
docaz
Posts: 49
Joined: 6. Apr 2009, 06:48
Primary OS: MS Windows 7
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: windows xp

Re: Network and shared folders

Post by docaz »

Sasquatch wrote:You got to be kiddin' me? Where do you type an address?
I knew that I would loose all respect but the only place I know to type an address is a browser.
I do not know where to type an address to go internally to a drive or folder.
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Re: Network and shared folders

Post by Sasquatch »

Well, you have Internet Explorere and Windows Explorer. Don't they both have an addressbar?
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
docaz
Posts: 49
Joined: 6. Apr 2009, 06:48
Primary OS: MS Windows 7
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: windows xp

Re: Network and shared folders

Post by docaz »

Sasquatch wrote:Well, you have Internet Explorere and Windows Explorer. Don't they both have an addressbar?
Ok, I am a total fool because I have never actually typed an address in the explorer window but just used the drop down box (and I do know where the on/off button is).
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Re: Network and shared folders

Post by Sasquatch »

Here is a pic about Explorer. Now where it says My Computer is where you type the address of the PC you want to connect to. Either name or IP address, like I've said in a few posts back.
Image
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
docaz
Posts: 49
Joined: 6. Apr 2009, 06:48
Primary OS: MS Windows 7
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: windows xp

Re: Network and shared folders

Post by docaz »

I have also found out that the Shared folders can be accessed by navigating (by expanding and not clicking on the icons and I have no idea why that is important but it is) to:

My Network Places/Entire Network/Virtualbox Shared Folders

Then I can access the individual folders.

Also when adding entire drives as shared folders it is important to add "\" after the drive letter otherwise you get an error message.
Post Reply