Stay connected with tips and trends in vSphere networking
A comprehensive collection of articles, videos and more, hand-picked by our editors
Our VM uses network address translation (NAT) to share the host's Internet connection. How do you access the host...
from the VM? The VM is on Windows XP. The host is a Mac running Fusion.
When you have configured your network with the setting "Share with my Mac," the VM does not have its own IP address on the external network. Rather, the VM gets a private IP address from the VMware virtual DHCP server.
If you execute the ipconfig command in your XP VM and find an IP address, the host will be in that same subnet -- typically as .1 in the fourth octet. For example, if your VM is 192.168.1.2, your host is likely 192.168.1.1.
Be aware that a firewall in your VM could prevent you from accessing the host.
Another way to access the host to share the file system is to use the "shared folders" feature. This uses an internal process instead of networking and you need VMware Tools installed in your VM to do this. Once VMware Tools is enabled, you can browse to the host from Windows Explorer via this path:
It is also possible to map a drive letter to this location from Windows Explorer that will be enabled when you start the VM. To enable shared folders for your VM in Fusion, perform the following steps:
1. Select VM > Settings.
2. In the Settings window, in the System Settings section, select Sharing.
3. Drag the Share Folders slider to ON.
4. Click the add (+) button at the bottom of the display box.
5. In the Finder sheet, find the location of the folder to share, select it and click Add.
6. In the Permissions field, set the VM permission on the contents of the Mac's shared folder. You can select Read & Write or Read Only.
Related Q&A from Rob Bastiaansen
There are a number of details to consider when building a VMware home lab but there are some general best practices to follow.continue reading
Setting up the performance counters in the vSphere client can help troubleshoot a dropped packets issue.continue reading
How do you handle virtual machines when making a transition from a standard switch to a virtual distributed switch?continue reading
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.