VMware – Disabling DHCP On A Linux Host VMware Server
This article provides steps on how to disable the DHCP services on a Linux Host based VMware Server 1.0.8 server.
To disable the DHCP services on a Linux Host based VMware Server 1.0.8 server perform the following steps :-
- Logon to the Linux Server
- Edit the file /etc/vmware/net-services.sh
- Search the file for the line below :-
vmware_bg_exec ‘Host-only
- You should now see the lines shown below :-
vmware_bg_exec ‘Host-only networking on /dev/vmnet'”$vHubNr” \
vmware_start_hostonly “$vHubNr” ‘vmnet'”$vHubNr” \
“$hostaddr” “$netmask” ‘yes’
- Edit the last line above and change it to the following :-
“$hostaddr” “$netmask” ‘no’
- Save and Exit the file
- In the command line execute the command below :-
/usr/lib/vmware/net-services.sh restart
- The DHCP Services have now been stopped on all VMware Networks