Loading

×Sorry to interrupt
Uncaught ReferenceError: addCTracking is not defined
throws at https://kb.vmware.com/resource/KM_TealiumTrackingJS?v=0.5:100:1

Refresh

Cookie Preference Center

General Information on cookies

When you visit our website, we use cookies to ensure that we give you the best experience. This information does not usually directly identify you, but it can give you a more personalized web experience. Because we respect your right to privacy, you can choose not to allow some types of cookies by clicking on the different category headings to find out more and change your settings. However, blocking some types of cookies may impact your experience on the site and the services we are able to offer. Further information can be found in our

Cookie Policy.

Strictly Necessary

Strictly Necessary

Always Active

Strictly Necessary

Strictly necessary cookies are always enabled since they are essential for our website to function. They enable core functionality such as security, network management, and website accessibility. You can set your browser to block or alert you about these cookies, but this may affect how the website functions. For more information please visit www.aboutcookies.org or www.allaboutcookies.org.

Cookie Details‎

Performance

Performance

Performance

Performance cookies are used to analyze the user experience to improve our website by collecting and reporting information on how you use it. They allow us to know which pages are the most and least popular, see how visitors move around the site, optimize our website and make it easier to navigate.

Cookie Details‎

Please confirm your settings by refreshing the page.

Functional

Functional

Functional

Functional cookies help us keep track of your past browsing choices so we can improve usability and customize your experience. These cookies enable the website to remember your preferred settings, language preferences, location and other customizable elements such as font or text size. If you do not allow these cookies, then some or all of these services may not function properly.

Cookie Details‎

Advertising

Advertising

Advertising

Advertising cookies are used to send you relevant advertising and promotional information. They may be set through our site by third parties to build a profile of your interests and show you relevant advertisements on other sites. These cookies do not directly store personal information, but their function is based on uniquely identifying your browser and internet device.

Cookie Details‎

Advertising Cookies

Consent Leg.Interest

Select All Vendors

Select All Vendors

Select All Hosts

Select All

Clear Filters

Information storage and access

Apply

Confirm My Choices Reject All Allow All

Skip to main content

My Subscriptions

Loading

Knowledge Base

Disabling the VMware DHCP Service on the Host Computer (2012)

Last Updated: 8/18/2015Categories: How toTotal Views: 8535Language:
English

3 like this article

Subscribe to get an email
newsletter with new updates

3 people found this helpful Please provide article feedback:

Details

I want to disable the VMware DHCP service on my host computer. What steps do I need to take?

Solution

Follow the steps shown below for your host operating system. On a Windows host, you can choose to disable the service completely or to set it to start only when you start it manually.

For information on modifying Fusion's DHCP service, see Modifying the DHCP settings of vmnet1 and vmnet8 in Fusion (1026510).

Workstation 6.x and later

See the Workstation help:

Workstation 11:

Change DHCP Settings for a Host-Only or NAT Network on a Windows Host

Change the Subnet IP Address for a Host-Only or NAT Network on a Linux Host

Workstation 10:

Change DHCP Settings for a Host-Only or NAT Network on a Windows Host

Change the Subnet IP Address for a Host-Only or NAT Network on a Linux Host

Workstation 9:

Change DHCP Settings for a Host-Only or NAT Network on a Windows Host

Change the Subnet IP Address for a Host-Only or NAT Network on a Linux Host

Workstation 8:

Change DHCP Settings for a Host-Only or NAT Network on a Windows Host

Change the Subnet IP Address for a Host-Only or NAT Network on a Linux Host

Workstation 7:

Configure the DHCP Server on a Windows Host

Configure the DHCP Server on a Linux Host

Workstation 6:

Selecting IP Addresses on a Host-Only Network or NAT Configuration

Server 2.x

See Chapter 11, Configuring a Virtual Network, of the VMware Server User's Guide.

Workstation 5.x and previous for Windows

Windows 2000

Click Start, then choose Settings>Control Panel>Administrative Tools>Services.

Scroll down and select VMware DHCP Service.

Right-click the highlighted line and choose Properties.

Click the Stop button.

In the Startup type list, select Disable or Manual.

Click OK.

Windows XP Home

Click Start, then choose Settings>Control Panel.

Click Performance and Maintenance.

Click Administrative Tools.

Double-click Services.

Scroll down and select VMware DHCP Service.

Right-click the highlighted line and choose Properties.

Click the Stop button.

In the Startup type list, select Disable or Manual.

Click OK.

Windows XP Professional or Windows Server 2003

Click Start, then choose Settings>Control Panel.

Click Administrative Tools.

Double-click Services.

Scroll down and select VMware DHCP Service.

Right-click the highlighted line and choose Properties.

Click the Stop button.

In the Startup type list, select Disable or Manual.

Click OK.

Workstation 5.x and previous for Linux, Server 1.x, GSX Server 3.x

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.

Linux for Workstation 4.x and GSX Server 3.x

Power off any open virtual machines (and close any associated remote consoles).

Open the file /etc/init.d/vmware in a text editor.

Locate the following section:
# Start a DHCP server on a private IP network
vmware_start_dhcpd() {
local vHostIf="$1" # IN

# The daemon already logs its output in the system log, so we can safely
# trash it
cd "$vmdb_answer_BINDIR" && "$vmdb_answer_BINDIR"/"$dhcpd" \
-cf "$vmware_etc_dir"/"$vHostIf"/dhcpd/dhcpd.conf \
-lf "$vmware_etc_dir"/"$vHostIf"/dhcpd/dhcpd.leases \
-pf /var/run/"$dhcpd"-"$vHostIf".pid "$vHostIf" >/dev/null 2>&1
}

Add the line exit 1 in the position shown below.
# Start a DHCP server on a private IP network
vmware_start_dhcpd() {
local vHostIf="$1" # IN
exit 1

# The daemon already logs its output in the system log, so we can safely
# trash it
cd "$vmdb_answer_BINDIR" && "$vmdb_answer_BINDIR"/"$dhcpd" \
-cf "$vmware_etc_dir"/"$vHostIf"/dhcpd/dhcpd.conf \
-lf "$vmware_etc_dir"/"$vHostIf"/dhcpd/dhcpd.leases \
-pf /var/run/"$dhcpd"-"$vHostIf".pid "$vHostIf" >/dev/null 2>&1
}

Save /etc/init.d/vmware.

Restart your host operating system.

Detectable by VMware SkylineTM

Actions

Copy

link to clipboard
copied!

Print

Language:
English

Attachments

Additional Resources

No results for undefined

Ask The Community

Get answers quickly from VMware experts in the community

Post Subject

CONTINUE IN COMMUNITIES

Related Products:

VMware Workstation Pro

VMware Workstation

VMware Server

VMware GSX Server

Related Versions:

VMware Workstation Pro 12.x (Windows)

VMware Workstation Pro 12.x (Linux)

VMware Workstation 9.x (Windows)

VMware Workstation 9.x (Linux)

VMware Workstation 8.x (Windows)

VMware Workstation 8.x (Linux)

VMware Workstation 7.x (Windows)

VMware Workstation 7.x (Linux)

VMware Workstation 6.x (Windows)

VMware Workstation 6.x (Linux)

VMware Workstation 5.x (Windows)

VMware Workstation 5.x (Linux)

VMware Workstation 4.x (Windows)

VMware Workstation 4.x (Linux)

VMware Workstation 3.x (Windows)

VMware Workstation 3.x (Linux)

VMware Workstation 10.x (Windows)

VMware Workstation 10.x (Linux)

VMware Server 2.0.x (Windows)

VMware Server 2.0.x (Linux)

VMware Server 1.0.x (Windows)

VMware Server 1.0.x (Linux)

VMware GSX Server 3.x (Windows)

VMware GSX Server 3.x (Linux)

VMware GSX Server 2.x (Windows)

VMware GSX Server 2.x (Linux)

view all

Take Our Survey

Was this article helpful?

YES

NO

Copyright © 2005-2024 Broadcom. All Rights Reserved. The term “Broadcom” refers to Broadcom Inc. and/or its subsidiaries.

Terms of Use

Your California Privacy Rights

Privacy

Accessibility

Cookie Settings

Support Assistant