Linux for Workstation 5.x and VMware Server 1.x
- Open the file /usr/lib/vmware/net-services.sh in a text editor.
- Locate the following section (lines 697-699, as seen in Workstation 5.5.1, build 19175):
vmware_bg_exec 'Host-only networking on /dev/vmnet'"$vHubNr" /
vmware_start_hostonly "$vHubNr" 'vmnet'"$vHubNr" /
"$hostaddr" "$netmask" 'yes' - Change yes to no. The resulting section should look like this:
vmware_bg_exec 'Host-only networking on /dev/vmnet'"$vHubNr" /
vmware_start_hostonly "$vHubNr" 'vmnet'"$vHubNr" /
"$hostaddr" "$netmask" 'no' - Save the file.
- As root, run /usr/lib/vmware/net-services.sh restart to restart the service.
转自: http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=2012