OtherMedium

DHCP Not Issuing IP Address: 5 Proven Solutions

This article details why a device cannot obtain an IP address via DHCP and provides practical solutions for all major operating systems. Learn how to diagnose the problem on both client and server sides.

Updated at February 16, 2026
10-15 minutes
Easy
FixPedia Team
Применимо к:Windows 10/11Ubuntu 22.04+macOS Sonoma/VenturaAndroid 10+

What a DHCP Error Means

A DHCP (Dynamic Host Configuration Protocol) error means your computer or device failed to automatically obtain network parameters (IP address, subnet mask, gateway, DNS servers) from a DHCP server on your local network. Instead, the system may assign an address from the 169.254.0.0/16 range (a so-called APIPA address) to the interface, indicating no connection to the server.

Typical symptoms:

  • No access to the internet or local network resources.
  • Network settings show an address like 169.254.x.x or 0.0.0.0.
  • On Windows, the Action Center displays "No Internet access" or "Identifying network".
  • System logs (e.g., journalctl on Linux) contain entries like DHCPDISCOVER on ... to 255.255.255.255 port 67 interval ....

The error occurs on the client side (your device), but the cause often lies in the server (router) settings or intermediate infrastructure (switches, firewalls).

Common Causes

  1. DHCP server is unavailable or turned off. The router or dedicated DHCP server is down, disabled, or not configured to lease addresses in your subnet.
  2. IP address pool exhausted. The DHCP server has run out of free addresses to lease. Common in large networks with misconfigured lease times.
  3. Unstable network cable or Wi-Fi connection. A physical link failure (poor contact, weak signal) interrupts the DHCP packet exchange.
  4. DHCP traffic is blocked. A firewall on the computer or within the network blocks UDP packets on ports 67 (server) and 68 (client).
  5. Incorrect client settings. A static IP is manually set on the interface, conflicting with the network, or the "Obtain an IP address automatically" option is disabled.
  6. Outdated or corrupted network adapter drivers. The driver cannot properly handle network packets.
  7. MAC address conflicts or reservations. The DHCP server has a reservation (static DHCP lease) binding an IP to a specific MAC address, but the client has a different MAC (e.g., due to virtual adapters).
  8. VLAN mismatch. The client and DHCP server are on different virtual local networks (VLANs), and DHCP requests are not routed between them.

Solutions

Method 1: Basic Network Stack Reset (Windows/Linux/macOS)

The fastest and safest first step. It resets the current network interface state and triggers a new DHCP request.

For Windows (PowerShell or cmd as Administrator):

# Release the current IP address
ipconfig /release
# Request a new address from the DHCP server
ipconfig /renew

For Linux (depending on distribution and network manager):

# If using systemd-networkd or netctl
sudo systemctl restart systemd-networkd
# Or for a specific interface (e.g., eth0)
sudo dhclient -r eth0  # release
sudo dhclient eth0     # request new

# If using NetworkManager (Gnome/KDE)
nmcli connection down <connection_name>
nmcli connection up <connection_name>

For macOS (Terminal):

sudo ipconfig set en0 DHCP  # en0 is typically Ethernet, en1 is Wi-Fi
# Or a more reliable option via service restart
sudo ifconfig en0 down
sudo ifconfig en0 up

After execution, check the IP address (ipconfig / ifconfig / ip addr). If an address from a private range (e.g., 192.168.x.x) appears—the problem is solved.

Method 2: Network Adapter Check and Reset

Sometimes a full reset of the network adapter configuration in the OS helps.

Windows:

  1. Open Control PanelNetwork and InternetNetwork and Sharing CenterChange adapter settings.
  2. Right-click the active adapter (Ethernet or Wi-Fi) and select Disable. Wait 10 seconds, then Enable.
  3. If that didn't help, open Command Prompt as Administrator and run:
netsh int ip reset
netsh winsock reset
  1. Restart the computer.

Linux (example for Ubuntu/Debian with NetPlan):

  1. Edit the config in /etc/netplan/01-netcfg.yaml (or similar), ensuring the interface has dhcp4: true.
  2. Apply the configuration: sudo netplan apply.
  3. If using the older ifupdown, check /etc/network/interfaces.

macOS:

  1. Delete the network service in System PreferencesNetwork.
  2. Click the "-" button at the bottom of the list, select the adapter (Wi-Fi/Ethernet), and remove it.
  3. Click the "+" button, add the same adapter back. The system will create a clean config.

Method 3: DHCP Server (Router) Diagnostics

If the issue isn't on the client, you need to check the server. Most often, this is a home router.

  1. Connect to the router. Open a browser and go to 192.168.0.1, 192.168.1.1, or 10.0.0.1 (the default gateway address—find it via ipconfig or route print).
  2. Log into the control panel (login/password is usually on the router's label).
  3. Find the "DHCP Server" section (often under "Local Network" / "LAN").
  4. Check:
    • If the DHCP server is enabled (should be Enabled).
    • The range of leased addresses (e.g., 192.168.1.100192.168.1.200). Ensure your computer is trying to get an address from this range.
    • If the address pool is exhausted. If many devices are connected, increase the range.
    • If there's any reservation (Static DHCP) conflicting with your MAC address.
  5. Restart the DHCP server (click "Apply" or "Save", sometimes a router reboot is needed).

Method 4: Update/Reinstall Network Adapter Drivers

Corrupted drivers are a common cause on Windows.

  1. Open Device Manager (devmgmt.msc).
  2. Expand Network adapters.
  3. Right-click your adapter (Realtek, Intel, Killer, Broadcom) → Uninstall device. Check the box "Delete the driver software for this device".
  4. Restart the computer. Windows will install a basic driver. For better performance, download the latest version from the laptop/motherboard manufacturer's website and install it manually.
  5. For Linux, update via package manager: sudo apt update && sudo apt install --reinstall firmware-realtek (replace realtek with your chipset).

Method 5: Advanced Diagnostics and Manual Configuration

If nothing helped, you need to examine network traffic deeply and possibly set a static IP for testing.

Step A: Check connectivity with the DHCP server at the packet level.

  • Windows: Install Wireshark, start a capture on the interface, filter by bootp (DHCP's old name). Run ipconfig /release, then ipconfig /renew. The log should show DHCP Discover (from client) and DHCP Offer (from server). If no Offer—the server isn't responding.
  • Linux: Use tcpdump -i eth0 -n port 67 or port 68. Similarly, you should see the exchange.

Step B: Temporarily assign a static IP. If the network works with manual settings (IP, mask, gateway, DNS)—the problem is definitely in the DHCP process. This helps isolate the issue.

  • Example for Windows:
    • IP address: 192.168.1.150 (from the router's range but not occupied)
    • Subnet mask: 255.255.255.0
    • Default gateway: 192.168.1.1 (router's address)
    • DNS: 8.8.8.8, 8.8.4.4 (Google DNS)

Step C: Disable firewall and antivirus temporarily. Sometimes "smart" firewalls block non-standard DHCP traffic. Disable them and try ipconfig /renew again.

Step D: Check the physical layer.

  • Try a different Ethernet cable or a different port on the router/switch.
  • For Wi-Fi: reconnect to the network, re-enter the password. Ensure the router's MAC address filter isn't blocking your device.

Prevention

  • Regularly update your router's firmware. Manufacturers fix DHCP server bugs in updates.
  • Monitor your IP address pool. In DHCP server settings, leave a 20-30% buffer of free addresses. Reduce lease time if many devices connect.
  • Avoid duplicate static IPs. If assigning a static IP manually for a printer or server, choose one outside the DHCP pool to prevent conflicts.
  • Use quality cables and access points. Poor contact or interference disrupts DHCP sessions.
  • On corporate networks, contact your system administrator. The issue could be with VLAN settings, DHCP relay (IP Helper), or Active Directory policies.

F.A.Q.

What is the difference between a static and dynamic IP address?
How to check if the DHCP server is working on my network?
Why doesn't the `dhclient` command work on Linux?
Can antivirus or firewall block DHCP?

Hints

Restart the network interface
Clear the DHCP client cache
Check DHCP server availability
Update or reinstall network adapter drivers
FixPedia

Free encyclopedia for fixing errors. Step-by-step guides for Windows, Linux, macOS and more.

© 2026 FixPedia. All materials are available for free.

Made with for the community