Is it possible to disable the dhcp client on the computer. Setting up a DHCP connection

home / Operating Systems

Modern man life is not sweet without world wide web, and problems with the Internet connection are our worst enemies, with whom an uncompromising struggle is being waged. This article will equip you with the knowledge on how to deal with the situation if you get the error "DHCP is not enabled on the network adapter" when establishing a connection.

What is DHCP?

DHCP is a network protocol that performs the function auto tuning TCP / IP network settings, receiving them on request from the DHCP server.

In practice, this means the exchange of certain messages between the DHCP client on the device and the server during installation. network connection. During communication, the client receives new or confirms the old values ​​of the following network parameters:

    IP address for the device;

    subnet mask;

    IP address of the default gateway.

DHCP: how does it work?

The server processes client requests and leases IP addresses from its range for a certain time. If the time runs out, the client either renews the lease or releases the address, which also happens through the exchange of special messages. The server writes all requests to its database in order to avoid address conflicts, that is, not to allocate one address to two nodes at the same time.

An address conflict can still occur if one of the devices on the network has a manually assigned IP. When connecting a new computer, the server may try to give it an address that is already taken, as a result of which the Internet connection will not be established. How to solve this problem will be discussed next.

The DHCP protocol is widely used because it makes it easy to add new computers to the network and change connection settings on the server instead of manually reconfiguring each device.

To use the DHCP protocol, you will need:

    configure DHCP on the router, which will act as a DHCP server.

    start the DHCP service on the PC (it acts as a client);

    in the settings of the network adapter, select the option to automatically obtain an IP address.

Let's consider each step in detail.

How to enable DHCP on the router?

You need to start the DHCP server on the router through the web interface. You will need to do the following:


If you can’t immediately open the router settings, try logging in from another browser or from another device. The most radical and effective solution to the problem is resetting the router. To do it, find a small button labeled "Reset" press it with something thin and hold for 5-15 seconds. It is important to keep in mind: the downside of this solution is that you will have to configure the router completely again.

Starting and configuring on a Windows computer

To enable DHCP on a PC under Windows control 7 or Windows 10, you need to follow a similar set of steps.

Service check

To enable the DHCP client service on the PC, or make sure it works, open Run (Win + R), write "services.msc".

In the "Services" window that opens, find the dhcp client, click right click and select "Properties".

If you see that the service is running and starting automatically, you don't need to change anything.

If other options are displayed, start the service and set it to start automatically.

Setting up a network adapter

Enter "Network Connections" by pressing Win + R and entering "ncpa.cpl".

Open your network properties, TCP/IPv4.

For users in whom several computers appear at home, there is a need to combine all existing PCs into a local network. This process is needed to make the interaction between them convenient.

This will make it possible to access the Internet, while using one connection, using all the features local network. It will become available to exchange files, documents over the network, remotely manage different computers.

All this becomes possible using a router, ADSL modem, any other device. The main thing is that it has a built-in router. First you need to enable DHCP on your network adapter, separately on each of the computers. Then enable the corresponding service on your router, modem. They will act as a server.

This protocol allows computers to automatically configure interaction with other PCs. This is done using a server or router. Many PC users are interested in the question of how to enable DHCP in order to connect to the local network.

How to check the operation of the "DHCP Server" service

Before you enable DHCP on the network adapter, you need to see if the DHCP Server service is enabled on the router or, if you are using an ADSL modem, then on it. To find out, you need to turn on the “Router Control Panel”. To start it this tool you need to use the web interface. This will require you to enter your username and password. We need the data that the administrator uses.

In the network settings, you need to double-check whether the checkbox next to the item called "Automatically assign IP addresses" or "Dynamic IP Address Mode" if the English version is checked. If a this utility is not activated, you will need to put a bird on the corresponding item. Save changed settings. Then reboot your device.

Enable DHCP

When dhcp is not enabled on the network adapter, then you first need to double-check if the DHCP client is enabled on all computers in use. To do this, just enter the “services.msc” command in the search bar of the “Run” tool. It can be called by searching the start menu.
In the window that opens, it is possible to enable or disable DHCP. By default, when starting a service, the type should be set to automatic. If a different value is indicated there, it will have to be changed to "Automatic". Click "OK" and reboot.

Enable service via command line

To open command line, you just need to right-click on the Start menu icon. Then run it as administrator. Or by typing "cmd" in the "Run" box. Then write the value "netsh interface ip set address "Local Area Connection" dhcp" in the line. In this command, the phrase "Local Area Connection" means the name of your connection.
This will switch from static connection settings.


To switch the list of statistical settings dns servers also dynamic, you will need to set the value "netsh interface ip set dnsserver "Local Area Connection" dhcp".

Enable DHCP on the network adapter

To perform this operation, you need to enter the settings of your network connections on the network adapter. To do this, you will need to enter the command "Ncpa.cpl" by typing it in the search bar. This line appears when you turn on the menu, after pressing the Start button. Then click the "Enter" / "Enter" button on your keyboard.

You can enter the network connection settings without the command line. You just need to open the Control Panel.

In the window that opens, you will need to find the connection that is used on the local network. Then right click on its icon. Will open context menu, in which you will need to select an item called "Properties".


Then select Internet Protocol Version 4 (TCP/IPv4). Then click the "Properties" button. In the "General" tab, put the values ​​\u200b\u200bunder the name "Obtain an IP address automatically" and also "Obtain DNS server address automatically". Click "OK", after which all the changes made will be saved.

After the done actions, the router and network adapters computers will be configured. The DHCP protocol will be fully operational.

So using a DHCP server, you can easily and quickly speed up the process of connecting all the necessary PCs. At the same time, insure against all possible errors, which may be formed during connection.

In our digital age, where we can't do without the Internet for even a minute, most corporate and home networks are configured with DHCP (Dynamic Host Configuration Protocol = Dynamic Host Configuration Protocol), which allows a computer to automatically obtain an IP address when connected to the Internet.

In order to enable or disable DHCP in Windows, you must perform the following steps for your version of the operating system.

Note. When disabling DHCP and using a static IP address, make sure you know correct settings and they are all entered correctly. Input wrong settings may cause both the Internet connection and the network connection to stop working.

For Windows 8 and Windows 10

  • On the desktop computer click windows keys+ X to open the Power User menu;
  • Select the Network Connections option;
  • You should see at least two types of network connections: Ethernet and Wi-Fi. Double click on the active network connection;
  • In the network connection status window, click the "Properties" button;
  • Click the Internet Protocol Version 4 button and click the Properties button. For Internet Protocol version 6, you may need to complete some additional steps as well.
  • If you want to enable DHCP, make sure the "Obtain an IP address automatically" option is selected, as well as the "Obtain DNS server address" option automatically.

If you want to disable DHCP and enter your own network settings, read the article http://droidov.com/dhcp-chto-eto-takoe for general education and then select the "Use the following IP address" option and enter the data for the IP address, subnet mask and default gateway. Then select the "Use the following DNS server address" option and enter your preferred DNS server details. You can also enter a value for an alternate DNS server if you like.

For Windows Vista and Windows 7

  • Open the control panel.
  • Click the Network and Sharing icon.
  • In the "View active networks» Click the link Local Area Connection.
  • In the Local Area Connection Status window, click the Properties button.
  • Highlight the Internet Protocol Version 4 option and click the Properties button. You may need to complete some additional steps for Internet Protocol version 6.

If you want to disable DHCP and enter your network settings, select the "Use the following IP address" option and enter values ​​for the IP address, subnet mask, and default gateway. Also select the "Use the following DNS server address" option and enter a value for your preferred DNS server. You can also enter a value for an alternate DNS server if you like.

For Windows XP and earlier OS versions

  • Open the control panel.
  • Double click Network Connections.
  • Note. Instead, you may see a "Network and Internet Connections" link. In this case, double click on it and then select "Network Connections".
  • Right click on Local Area Connection and select Properties.
  • Highlight the Internet Protocol (TCP/IP) option and click the Properties button.

If you want to enable DHCP, make sure that the options "Obtain an IP address automatically" and "Obtain DNS server address" automatically are selected.

If you want to disable DHCP and set your network settings manually, select the "Use the following IP address" option. Then enter the appropriate values ​​for the IP address, subnet mask, and default gateway. Also select the "Use the following DNS server address" option and enter a value for your preferred DNS server. You can also enter a value for an alternate DNS server.

How can I find out if DHCP is currently in use?

An easy way to determine if DHCP is currently enabled or disabled is to use the ipconfig /all command from the command line. When you enter this command for "Ethernet Adapter LAN Connection", one of the lines will tell you if DHCP is enabled. If enabled, you will see the line

In a local network, each device has its own unique IP address - a set of numbers that identifies it and allows other devices to communicate with it. IP addresses can be manually assigned for each device, but this is inconvenient, as it requires each computer to be configured separately to work with the network. To automate this process, the Dynamic Host Configuration Protocol (DHCP) is used.

What is DHCP

In large, complexly structured networks, the distribution of IP addresses is responsible special computer- server. For home network or a small office network, this is not necessary, a regular router is enough.

All modern routers in their functionality have a built-in DHCP service. If it is configured and enabled, you do not need to separately configure the network connection on your computer, laptop, tablet, or smartphone. For wireless devices just need to turn on Wi-Fi, find in the list wireless networks yours and enter the password to connect to it. If the connection to the network is via a cable, it is enough that it is connected to network card your computer.

When a new device appears on the network, the DHCP service checks the list of free IP addresses and assigns one of them to it. In this case, duplication of addresses is excluded.

How to configure DHCP

By default, the DHCP service on routers is already configured. It is enough to connect the client device via Wi-Fi or cable and it will be automatically assigned an IP address. However, you may need to change DHCP settings, disable or enable it. Consider setting up DHCP using the example of a TP-link router. For other routers, the algorithm will be exactly the same.

We go into the web interface of the router and in the menu on the right we see the item "DHCP" and the sub-item "Setting DHCP". On the tab that opens, you can change the default settings. You can also enable or disable the DHCP service here.

The DHCP service must be set to a range of IP addresses to use, which fit into the appropriate fields. The start IP address is respectively the first address in the range, and the end IP address is the last one. The default IP range is 192.168.0.100 to 192.168.0.199. But you can register, for example, from 10.1.1.1 to 10.1.1.99. You can generally specify a range within two or three addresses, for example, by the number of client devices.

Next mandatory item- address validity period in minutes. This is the time for which a particular IP can be assigned specific device. After it expires, the IP can be changed or assigned to another device.

It is not necessary to fill in the rest of the items, DHCP itself will indicate the necessary parameters for client devices. However, these parameters can be manually entered if desired.

The default gateway is the IP address of the router - the channel through which traffic is exchanged with the Internet. It is usually indicated if Internet access is via an access point with a different address. But if there is only one router in your network and it is directly connected to the Internet, you do not need to register anything here.

The default domain is Domain name your network. In small networks where a small number of client devices are used, it does not make sense to configure it.

The preferred and alternate DNS server is usually specified by the ISP. But you can enter Google's public DNS servers here - 8.8.8.8 and 8.8.4.4. This, for example, helps to troubleshoot problems with Internet access - it happens that the provider's DNS is buggy, there is a connection, but the pages do not open. It also often allows you to bypass blocking access to certain resources, such as torrents.

After making changes, click the "Save" button to apply the new settings.

In order for your network to start working with the new parameters, the router must be rebooted.

In order for client devices to be able to connect to the DHCP service, they must be set to Obtain an IP address automatically in their network connection settings.

How to enable DHCP

If the DHCP service on your router is disabled, you can enable it here, in the DHCP menu - DHCP settings. To do this, check the "Enable" box and click the "Save" button at the bottom of the page. The service will start. If it doesn't, restart your router.

How to disable DHCP

If you do not need the DHCP service, when, for example, you decide to manually register IP for all your devices, you can disable it in the same way. Go to the "DHCP Settings" tab and check the "Disable" box. We save the settings. Now client devices, when connected to your network, will not be able to receive IP addresses automatically.

List of clients

To see which devices are in this moment are connected to your DHCP service, in the menu item "DHCP" of the web interface of your router, go to the sub-item "List of DHCP clients". Here you will see a table with information about current connections.

ID - means serial number.

The client name is the name of the device if one is assigned to it.

MAC address - respectively, the MAC address of this device.

Assigned IP - the address that was assigned to the device by the DHCP server.

Validity - respectively, the remaining time during which the given address will be valid.

If you have any concerns that someone else has connected to your network, you can check information about connected devices at any time on this tab. To update the current information, click the Refresh button. The list of connected devices will be updated.

Address reservation

The DHCP service provides IP addresses to client devices for a specified period of time. After that, the address can be changed. Also, connecting to the network, each computer or smartphone will receive a new address each time. And the address that was previously used by him can be provided to another device. Typically, address changes occur imperceptibly to the user and do not affect the operation of the network. However, it may be necessary to ensure that a particular computer's IP address does not change. This may be relevant if you play games over a local network or this computer assigned some specific functions that will only work with a static IP.

There is an easy way to solve this problem using DHCP - reserve an IP address for a specific computer.

To do this, go to the sub-item "Reservation of addresses" of the menu item "DHCP". If you have previously reserved addresses, a list of devices will be available here, which can be edited as needed. If not, click the "Add" button.

In the window that opens, you need to enter the MAC address of the device and the IP that will be reserved for it.

Here you can also enable or disable address reservation for this device by changing the corresponding parameter in the "Status" item.

After saving the settings, you will return to the previous window. The list of devices will now show the one you just added. By clicking "Edit", you can edit the address reservation parameters. And using the "Delete" item, remove the device from the list and cancel the reservation.

Using the buttons "Enable all", "Disable all" and "Delete all" you can manage the address reservation for all devices from the list.

You will need to restart your router to apply the changes. A reminder of this will appear at the bottom of the window.

Few users using an Internet connection know what a DHCP client is, why it is needed and how to enable it. Without going into technical details, we will now consider the basic concepts and methodology for its inclusion (use).

What is a DHCP client and why is it needed

Speaking in a language understandable to any user of a modern computer system, the DHCP client service is the one network protocol, which allows you to configure connections to the Internet or local network in automatic mode.

In other words, when connecting to any device, all the main parameters are assigned automatically, which saves the user from manual settings. We note right away that by default in all Windows operating systems this protocol is initially activated. Now we will look at some steps to enable it if it is disabled for some reason.

Router presets

If you use a router in the form of a router to access the Network, you first need to check whether the DHCP client is enabled in the router settings.

To do this, go to its menu through any Internet browser (in the address bar, in most cases, 192.168.1.1 is entered) and find a section like "DHCP server" (in different models sections may have different titles). Here we check if the access permission parameter is enabled. If it is disabled, DHCP must be enabled. In principle, you can immediately set the start and end IP addresses, but it is recommended to do this only if, for some reason, you need to limit access and the number of simultaneously connected devices.

How to enable DHCP through the services section?

Now let's see what can be done if this protocol is disabled. You can enable DHCP through the services section in the administration settings.

You can do this through the control panel, but it's easier to use the command line called from the Run menu (Win + R) with the cmd command, where the services.msc combination is written.

Here you need to scroll through the list and find the corresponding field. Ideally, the status bar will indicate that the service is running. If not, right-click go to the properties menu and set the automatic launch type from the drop-down list.

Access to administration settings in some versions of Windows operating systems can be obtained directly through the Start menu or through its subsection "Administrative Tools" (for example, in Windows 10). However, which path to use does not play a role, because the main thing is the end result.

How to enable DHCP over TCP/IP?

You can use a more or less simple way. AT this case we need the TCP/IP protocol settings. You can get to them through the local connection properties section. How to enable DHCP in this case? Again, it is easier to specify the ncpa.cpl command on the command line, followed by a transition to the properties (the call is made in the same way that was given above).

Now, from the list of components, select the TCP / IPv4 protocol and in the properties we specify the automatic receipt of the IP address and the address of the preferred DNS server. Additional settings may not be touched at all. In older versions Windows Protocol IPv4 is not. Instead, there is a general TCP / IP setting.

In some cases, you may need a power management menu in which you will need to disable all available options.

Auto Connect Check

Here, in fact, we considered the question of how to enable DHCP. Now active connections need to be checked for operability.

To do this, it is best to use the same command line with the combination ipconfig / all, and then press the enter key (Enter). Only and everything.

However, if the icon active connection is displayed in the system tray, it will not be difficult to look at it and assess the level of activity visually or from the corresponding menu to call up information about the connection status at the moment. I think this is one of the easiest ways.

Finally, it remains to be noted that in this article the main emphasis for accessing certain settings was placed precisely on using the command line, since, according to many users and experts, it is the fastest solution, since it saves the user from step-by-step transitions from one menu or section to to another. Naturally, this does not mean that it is necessary to use this method. If you want to use different menus and sections, no problem. Here's what's more convenient.

© 2022 ermake.ru -- About PC repair - Information portal