Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 06-24-2006, 12:53 AM   #1
Registered: Jan 2002
Distribution: Ubuntu Mate
Posts: 116

Rep: Reputation: 15
file sharing between a virtual machine and the host machine

I am wondering whether there is a way to share files between a "real" OS and another which I am running in VMWare virtual machine.

When I log into my router it obviously shows only one machine, so to my understanding, I can not use that single machine's IP to define which machine I want to connect to, as it is identical to that of the "other" machine.

Is there a way to make the host machine and the virtual machine running on it behave as two separate machines which can access each other like two machines in a regular local netwrok?

(So far the only simple way I was able to move files between them was to start an apache server on one of them, and then enter the IP of the machine in the local network to access the files the server is able to serve using a browser.)

Please note that my knowledge in networking is less than basic. Thanks in advance.
Old 06-24-2006, 05:00 AM   #2
Senior Member
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,138

Rep: Reputation: 168Reputation: 168
Yes you can do this. If, for example, your main OS was Linux and the OS in your VMWare session was Windows you could do the following:

- Use bridged networking in VMWare so that the VMWare clients can see the rest of your network;
- Use Samba to create shares on the Linux box that will be visible to the Windows VMWare client;
- Map drives to the shares (or connect directly with UNC notation) from the Windows VMWare client.
Old 11-22-2006, 05:16 AM   #3
LQ Newbie
Registered: Jan 2006
Location: Hampshire, UK
Distribution: Debian Lenny - it may be testing, but XP is a lot more testing!
Posts: 27

Rep: Reputation: 15
Could anyone give a bit more detail on suggestions 2 and 3?
Old 06-21-2013, 12:42 AM   #4
LQ Newbie
Registered: Jun 2013
Posts: 1

Rep: Reputation: Disabled
Question Network Sharing

The access denied error is appeard, while sharing the data. In network sharing the document appeared but it does't accessible to my virtual Xp OS.
My local os: Linux mint 15
My virtual OS: windows xp SP3


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
scp: copy a file from local machine to remote machine seran Linux - Newbie 8 10-30-2007 12:23 PM
sharing internet from a windows 98 machine to a Red Hat Linux machine ritwiksolutions Linux - Newbie 7 03-14-2006 10:20 AM
can't access virtual host from local machine curos Linux - Networking 3 02-06-2006 09:18 PM
How to install Suse 9.0 via ftp "as a virtual machine(vmware)" in windows-XP host megoon Linux - Networking 0 12-15-2003 04:53 AM
Apache SSL - how to virtual host two or more secure websites on the same machine? bjoshi Linux - Networking 0 08-30-2001 07:01 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:59 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration