Have you ever wondered why your smartphone, laptop, or smart speaker instantly connects to your home Wi-Fi without manually entering IP addresses? Behind this magic lies a protocol. DHCP — an invisible but critical mechanism that automatically assigns network addresses to all devices. Without it, every new device on your network would have to be configured manually, like in the 1990s.
In this article we will look at how it works. DHCP in Wi-Fi networks, why it's enabled by default on all modern routers, and what to do if devices suddenly stop receiving IP addresses. You'll learn which DHCP settings can (and should) be changed, how to test its operation on different devices, and the most common errors that occur during automatic address distribution. You'll also learn why disabling DHCP can both solve IP conflicts and create new ones.
If you encounter a message "Connection without Internet access" or IP conflictIf your router is distributing incorrect addresses or devices can't see each other on the local network, this article will help you understand the cause and offer specific solutions. Without fluff or generalities.
What is DHCP and why is it important for Wi-Fi?
DHCP (Dynamic Host Configuration Protocol) - is a network protocol that automatically assigns IP addresses and other parameters (for example, subnet mask, gateway And DNS servers) devices on the local network. Without it, each gadget would have to be assigned a static IP manually, which is inconvenient and error-prone.
In the context of Wi-Fi, a router acts as DHCP server, and all connected devices (smartphones, laptops, TVs) - DHCP clientsWhen you connect a new device to the network, the following dialog occurs:
- 🔍 Discover: The device sends a broadcast request "Who's handing out IP addresses here?" (DHCP Discover).
- 📤 Offer: The router is responding "Me! Here's the address 192.168.1.102, it's free." (DHCP Offer).
- 🤝 Request: The device confirms "I'll take 192.168.1.102!" (DHCP Request).
- ✅ Acknowledge: The router records "Okay, he's yours for 24 hours." (DHCP ACK).
This entire exchange occurs in a split second and is completely transparent to the user. However, if a failure occurs at any stage (for example, the router is unresponsive or assigns invalid addresses), the device is left without network access.
How DHCP Works in Wi-Fi Networks: Technical Details
Unlike wired networks (Ethernet), where DHCP works stably, Wi-Fi adds nuances associated with wireless transmission mediumHere are the key features:
- 📶 Delays in connection: In Wi-Fi packages
DHCP DiscoverCommunications can be lost due to interference or a weak signal. Therefore, the protocol provides for repeated attempts (usually 3-4 times with an interval of several seconds). - 🔄 IP address leasing: By default, routers lease addresses for 24 hours (lease time). This allows you to reuse a limited pool of addresses (for example, if you have 10 devices and the router is configured to distribute 50 IPs).
- 🛡️ Security: DHCP in Wi-Fi is vulnerable to attacks like "DHCP spoofing", when an attacker replaces a router and distributes false settings. Modern routers combat this through DHCP snooping (filtering untrusted responses).
It is important to understand that DHCP does not affect Wi-Fi speed. — it only distributes addresses. However, if the router is overloaded with requests (for example, if there are 50+ devices on the network), responses may be delayed, which will result in slow connections for new devices.
| DHCP Option | Default value | What happens if you change |
|---|---|---|
Lease Time |
24 hours | Too short a period (for example, 1 hour) will result in frequent reconnections. Too long a period (a week) may cause IP exhaustion for a large number of devices. |
IP Pool |
192.168.1.100–192.168.1.199 | If you specify a range less than the number of devices (for example, 10 addresses for 15 gadgets), new devices will not receive an IP. |
DNS Server |
Automatically (DNS provider) | Replacement by Google DNS (8.8.8.8) or Cloudflare (1.1.1.1) can speed up website loading, but sometimes conflicts with local resources. |
⚠️ Attention: On some routers (for example, Zyxel Keenetic or ASUS RT-AX88U) DHCP settings are hidden in the sectionLocal Area Network (LAN)orDHCP serverIf you don't find them in the web interface, check the documentation for your model—the menu location may vary.
Where and how to set up DHCP on a Wi-Fi router
By default, DHCP is enabled on all routers, but sometimes you need to change its parameters - for example, to expand the address pool or assign an IP to a specific device (DHCP Reservation). Let's look at the settings using popular models as an example:
1. Login to the router's web interface
Open your browser and enter your router's address in the address bar. Standard IP addresses:
192.168.1.1(TP-Link, ASUS, Mercusys)192.168.0.1(D-Link, Netgear)192.168.8.1(Huawei, some Tenda models)
The default login and password are usually admin/admin or indicated on the router sticker.
2. Configuring DHCP on TP-Link Archer C6
Go to Advanced Settings → Network → DHCP Server:
- 🔹 Enable DHCP server: must be activated.
- 🔹 Initial IP address: For example,
192.168.1.100. - 🔹 Destination IP address: For example,
192.168.1.199(this gives 100 addresses for devices). - 🔹 Rental time: leave
24 hoursor increase to48 hoursfor stability.
☑️ Checking DHCP settings
3. IP Reservation (DHCP Reservation)
If you need a specific device (eg. NAS server or IP camera) always receives the same IP, use MAC address binding:
- Find the MAC address of the device (for example, in the Wi-Fi settings on your smartphone or via the command
ipconfig /allon Windows). - In the router's web interface, go to the section
DHCP → Address Reservation(orAddress Reservation). - Add a rule: specify the MAC address and the desired IP (for example,
192.168.1.50).
⚠️ Attention: If you manually assign a static IP to the device (outside the DHCP range) and then plug it into the network, you may experience IP conflictAlways check available addresses through ping or the DHCP lease table in the router.
Common Wi-Fi DHCP Problems and Solutions
Even with correct DHCP settings, issues can still occur. Here are the most common symptoms and how to troubleshoot them:
1. The device does not receive an IP address ("No network access")
Reasons:
- 🔌 The DHCP server is disabled on the router.
- 📱 A static IP outside the DHCP range was manually assigned to the device.
- 🛡️ A firewall or antivirus is blocking DHCP requests (applicable to Windows).
Solution:
- On the device: Switch from manual IP to automatic IP (in the Wi-Fi or Ethernet settings).
- On the router: check if the DHCP server is enabled and if there are enough addresses in the pool.
- Reboot your router and device.
2. IP conflicts (message "Another computer is using this IP")
This happens when two devices receive the same IP. Common causes:
- 🔄 Two DHCP servers on the same network (for example, if another router is connected to the router without disabling DHCP).
- 🖥️ Manual configuration of a static IP in the DHCP range.
- 🔄 The device did not release the IP after being disconnected (for example, when the laptop was hard shut down).
How to fix:
- 🔍 In the router's web interface, find the section
DHCP Clients List(or similar) and check which addresses are taken. - 🔄 Restart both conflicting devices.
- 🛠️ If the conflict is persistent, expand the DHCP range or set up IP reservation.
3. Slow IP acquisition (long connection to Wi-Fi)
If the device hangs for a long time at the stage Obtaining an IP address, the problem may be in:
- 📶 Weak Wi-Fi signal (DHCP packets are lost).
- 🔄 Router overload (too many devices or weak processor).
- 🛡️ DHCP starvation attack (the attacker fills all addresses).
Solutions:
- 🔹 Reconnect to Wi-Fi or reboot your router.
- 🔹 Reduce the number of connected devices (turn off unused gadgets).
- 🔹 Update your router firmware—new versions often fix DHCP bugs.
When to disable DHCP on a router
DHCP should be enabled in 99% of cases. However, there are scenarios where disabling it is warranted:
- 🔧 Using a second router in "access point" mode: If the main router is already distributing IP, the second DHCP server will create conflicts.
- 🖥️ Server infrastructure: In corporate networks, IPs are often assigned manually for control purposes.
- 🛡️ Security issues: If an attacker is detected on the network distributing false DHCP settings (attack "rogue DHCP server").
If you decide to disable DHCP, All devices on the network must be configured with static IP addresses.Otherwise, they will lose internet access. Example of manual IP configuration on Windows:
- Open
Control Panel → Network and Internet → Network and Sharing Center → Change adapter settings. - Right-click on your Wi-Fi connection →
Properties→Internet Protocol version 4 (TCP/IPv4). - Select "Use the following IP address" and enter the data manually (for example, IP:
192.168.1.50, mask:255.255.255.0, gateway:192.168.1.1).
⚠️ AttentionDisabling DHCP on your home router without proper preparation will result in loss of internet access on all devices. If you're unsure of what you're doing, it's best to leave the protocol enabled and configure IP reservations for critical devices.
DHCP and IPv6: What's Changed in Modern Networks
With the transition to the protocol IPv6 The DHCP mechanism has undergone changes. IPv6 uses two automatic configuration options:
- 🔹 SLAAC (Stateless Address Autoconfiguration): devices generate IP addresses themselves based on the network prefix (without a DHCP server).
- 🔹 DHCPv6: analog of classic DHCP, but for IPv6 addresses.
Most home routers support both methods. However, in Wi-Fi networks, IPv6 is often disabled by default because:
- 🌍 Many Internet providers have not yet switched to IPv6.
- 🛡️ Setting up IPv6 requires additional security measures (e.g. filtering) RA messages).
- 📱 Not all devices (especially older ones) work correctly with IPv6 on Wi-Fi.
If you need IPv6, check its support with your provider and enable it in the router settings (usually in the section LAN → IPv6). For most home users, IPv4 + DHCP is sufficient.
How to check if IPv6 is enabled on your router?
Open the router's web interface and find the IPv6 section (e.g. Advanced → IPv6 or Network → IPv6). If there are options like DHCPv6-PD or SLAAC, then there is support. You can also check on the device: on Windows, run the command ipconfig and look for lines with IPv6 address (For example, 2a02:1234:5678::abcd).
Practical Tips for Optimizing DHCP on Wi-Fi
To minimize DHCP issues, follow these guidelines:
- 🔄 Reboot your router regularly: This clears the DHCP lease table and prevents addresses from becoming stuck.
- 📊 Monitor the number of connected devices: If there are more than 50, consider increasing the IP pool or separating the network into VLANs.
- 🛡️ Update your router firmware: new versions fix DHCP vulnerabilities (for example, CVE-2021-45466 in some ASUS models).
- 🔧 Use IP reservation for critical devices: This will eliminate problems with changing addresses on NAS, cameras or printers.
If you frequently experience DHCP issues, keep an event log. On most routers, it's available in the System Tools → LogLook for posts mentioning DHCP or IP conflict.
FAQ: Frequently Asked Questions about DHCP on Wi-Fi
Is it possible to use DHCP and static IP at the same time?
Yes, but you need to make sure that static addresses are not in the DHCP range. For example, if DHCP is distributing 192.168.1.100–192.168.1.200, then for manual configuration use 192.168.1.2–192.168.1.99.
Why does the router distribute IP from a different subnet (for example, 10.0.0.x instead of 192.168.1.x)?
This happens if:
- The default subnet on the router has been changed (for example, from
192.168.1.0/24on10.0.0.0/24). - Another DHCP server (for example, a second router or server) is connected to the network.
- The provider uses its subnet for IPTV or other services.
Check the LAN settings on your router and disable unnecessary DHCP servers.
How do I find out what IP DHCP is assigning to my device?
The methods depend on the OS:
- Windows:
ipconfig /all(look for the lineIPv4 address). - macOS/Linux:
ifconfigorip a. - Android:
Settings → Wi-Fi → [your network] → View details. - iOS:
Settings → Wi-Fi → (i) next to the network.
You can also view the list of leased addresses in the router's web interface (section DHCP Clients or Connected Devices).
What to do if the router does not respond to DHCP requests?
Try it in order:
- Reboot your router (turn off the power for 30 seconds).
- Check if the DHCP server is enabled in the settings.
- Reset the router to factory settings (button
Reseton the back panel). - Update your router firmware.
- If the problem persists, the router may be faulty (memory or firmware issues).
Can DHCP affect internet speed?
No, DHCP does not affect speedIt only distributes addresses. However, if the router is overloaded with DHCP requests (for example, if there are 100+ devices on a network), new connections may be slower. In this case, the following will help:
- Increasing IP range.
- Reducing the rental time (for example, to 12 hours).
- Replacing the router with a model with a more powerful processor.