how do i stop dhcp service on vmnet1 for vmware player 3?
Select VMnet1 in the Virtual Network Editor and then uncheck the "Use local DHCP service to distribute IP address to VMs" check box and then click the Apply button.
If you do not have vmnetcfg.exe in your VMware Player folder you'll need to extract the contents of the vmware-player*.exe and then extract it out of the network.cab and place it in the VMware Player folder.
tnanks and how do i do that on linux?
Since you didn't bother to mention what your Host OS was I just knew you'd come back with that question!
Read "Change Subnet or DHCP Settings on a Linux Host" on pages 300 and 301 in the Workstation User's Manual which is also applicable to VMware Player.
BTW In the future it would be more helpful if you'd include at a minimum what VMware Product/Version/Build Number, Host OS and Guest OS information where applicable and in most cases it always applicable.
Okay unfortunately the Linux version of VMware Player 3.x also doesn't install "vmware-netcfg" nor is it available to be extracted from the "VMware-Player-3.*.bundle" so the following is how I stopped the DHCP Service on VMnet1 while running VMware Player 3.1.2 (301548) under Ubuntu 9.04.
In a Terminal use the following commands...
sudo /usr/bin/vmware-networks --stop sudo nano /etc/vmware/networking sudo /usr/bin/vmware-networks --start
The first command stops the VMware Virtual Networking.
The second command loads the target file to be edited in which you will change the following to show as:
answer VNET_1_DHCP no
Note: Use the arrow keys to move the cursor to 'yes' to delete it and then type 'no' then press 'CtrlO' then "Enter' then 'CtrlX'.
The third command starts the VMware Virtual Networking.
Now the DHCP Service is not running on VMnet1.
I then tested to make sure that a VM using the Host-only Network (VMnet1) could ping the Host's vmnet1 Network Adapter and visa verse. Obviously I had to assign a Static IP Address to the VM since the DHCP Service on VMnet1 was not running nor was I providing my own DHCP Service from a VM running on VMnet1.