VMware Workstation 5.0Features | Documentation | Knowledge Base | Discussion Forums
Using Samba with Workstation
If you have Samba running on your Linux host, there are several things you can do to configure Samba so that it works with Workstation, as described in this section.
Modifying Your Samba Configuration
Be sure to modify your Samba configuration so it includes the IP subnet used by the VMware Workstation virtual Ethernet adapter, VMnet1.
To determine what subnet is being used by VMnet1, run
Make sure the Samba password file includes entries for all users of the virtual machine who will access the host's file system. The user names and passwords in the Samba password file must match those used for logging on to the guest operating system.
You may add user names and passwords to the Samba password file at any time from a terminal window on your Linux host computer.
1. Log on to the root account.
2. Run the Samba password command.
3. Log out of the root account.
Using a Samba Server for Both Bridged and Host-Only Networks
To use your Samba server for both host-only and bridged networking, you must modify one parameter in the smb.conf file. You can define the interface parameter so your Samba server serves multiple interfaces. An example of this is:
interface = eth0 vmnet1
This example tells the Samba server to listen to and use both the eth0 and vmnet1 interfaces the interfaces used by bridged and host-only networking, respectively.
Using Samba without Network Access
To make Samba inaccessible from your physical Ethernet interface, add this line:
interfaces = vmnet*
to /etc/samba/smb.conf and restart Samba.