Virtual Vista access shared disk on Virtual XP

Discussions about using Windows guests in VirtualBox.
Post Reply
tb2571989
Posts: 145
Joined: 10. Sep 2009, 14:28
Primary OS: MS Windows 7
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Windows Server 2003, Windows Server 2008 R2, Ubuntu 9.10, Ubuntu 10.10

Virtual Vista access shared disk on Virtual XP

Post by tb2571989 »

Hi,

I've got a shared folder on my xp computer shared as \\xp-001\S but when I try to access it from the Vista Machine the vista macine gives me an error. I've tried using the internal and NAT networks, with static IPs. They can ping but not access. Is this a prblem with vista/xp or the virtual machines?

Both machines have 512 RAM, Guest Addistions and VB version is 3.0.6.

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: Virtual Vista access shared disk on Virtual XP

Post by Perryg »

Are you using the network share or the VBox Shared Folders?
Internal will not work because the Host is excluded and NAT will not work due to you being outside the address scheme of the Host in a network share.
Please read section Chapter 6. Virtual networking in the VBox Users Guide
tb2571989
Posts: 145
Joined: 10. Sep 2009, 14:28
Primary OS: MS Windows 7
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Windows Server 2003, Windows Server 2008 R2, Ubuntu 9.10, Ubuntu 10.10

Re: Virtual Vista access shared disk on Virtual XP

Post by tb2571989 »

I'm using the network share. That is, one folder shared over the virtual LAN. I've managed to get it to work so they can ping one another, and a third, XP, VM can access the files but not vista.

On further investigation I believe it may be something to do with vista-xp and not VirtualBox but any suggestions on that would be appricated. If I find out I'll also post here.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Virtual Vista access shared disk on Virtual XP

Post by Perryg »

As I said if you are using internal you will not be able to do this since the host is left out of the connection equation. Internal is just between guests.
NAT will also stop you from doing this since you are not in the same network scheme.
You will either need to use host-only or bridged to have a network share work between the Host and Guest or just use the shared folders that VBox provides.
tb2571989
Posts: 145
Joined: 10. Sep 2009, 14:28
Primary OS: MS Windows 7
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Windows Server 2003, Windows Server 2008 R2, Ubuntu 9.10, Ubuntu 10.10

Re: Virtual Vista access shared disk on Virtual XP

Post by tb2571989 »

I think you misunderstand me, I am only trying to network the guests, not with the host.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Virtual Vista access shared disk on Virtual XP

Post by Perryg »

I've got a shared folder on my xp computer shared as \\xp-001\S but when I try to access it from the Vista Machine the vista macine gives me an error
Well I was just following your post, and what I saw in your profile.
Anyway no matter.
If you are using Internal and you still can not manage to see the shared folders (guest to guest) then look for firewall issues. Also make sure that the guests are in the same workgroup, and that you have the proper permissions to map/view these shares.
BillG
Volunteer
Posts: 5106
Joined: 19. Sep 2009, 04:44
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows 10,7 and earlier
Location: Sydney, Australia

Re: Virtual Vista access shared disk on Virtual XP

Post by BillG »

I agree with Perry. If the vms are on the internal network and can ping each other, it is not a VirtualBox problem. It is a straight Windows file sharing problem.
Bill
Post Reply