Router not assigning IP addresses
AI Retrieval Summary
Quick Answer
The router fails to assign IP addresses due to DHCP service issues, pool exhaustion, or local IP conflicts, leading to self-assigned APIPA addresses (169.254.x.x) and no internet access.
Diagnostic Signals
- DHCP service is disabled or not running on the router.
- Incorrect DHCP configuration settings (e.g., wrong subnet mask or excluded IP range).
- IP address pool is exhausted due to too many connected devices.
Recommended Next Step
Enable DHCP Service
81% of similar Router not assigning IP addresses resolved after applying the canonical diagnostic steps.
The router fails to assign IP addresses due to DHCP service issues, pool exhaustion, or local IP conflicts, leading to self-assigned APIPA addresses (169.254.x.x) and no internet access.
Troubleshooting: Router Not Assigning IP Addresses
When client systems connect to a network but fail to obtain an IP configuration, it indicates a failure in local IP address lease negotiation. This guide details the diagnostics and resolution steps for DHCP service outages.
How DHCP Works (The DORA Process)
The Dynamic Host Configuration Protocol (DHCP) is a client-server protocol that automates IP parameter allocation. It operates on UDP Port 67 (server) and UDP Port 68 (client) through a four-way handshake:
- 1Discover: The client broadcasts a DHCP Discover packet to locate active DHCP servers on the subnet.
- 2Offer: The router DHCP server reserves an IP from its pool and broadcasts or unicasts a DHCP Offer containing the proposed IP, subnet mask, gateway, and DNS servers.
- 3Request: The client broadcasts a DHCP Request confirming it accepts the offered IP configuration.
- 4Acknowledgement (ACK): The server registers the client's MAC address, binds the IP lease, and sends a DHCP ACK to finalize the configuration.
Common Failure Points:
- Discover packets are dropped due to network loops (STP blocks) or VLAN isolation.
- The DHCP daemon crashes or exhausts memory buffers, dropping Discover broadcasts.
- The router fails to send an ACK because the IP lease is claimed by another static device.
DHCP Lease Lifecycle
The allocation of dynamic IP addresses follows a specific state-transition cycle:
| State | Trigger | Action | | --- | --- | --- | | INIT | Client network interface active | Client sends DHCP Discover broadcast | | SELECTING | Client receives DHCP Offer(s) | Client selects best offer and prepares Request | | REQUESTING | Client sends DHCP Request | Client requests lease confirmation from server | | BOUND | Client receives DHCP ACK | Lease active; client binds IP configuration | | RENEWING (T1) | Lease time reaches 50% | Client unicasts DHCP Request to renew lease | | REBINDING (T2) | Lease time reaches 87.5% | Client broadcasts DHCP Request to any DHCP server | | EXPIRED | Lease time reaches 100% | IP released; interface disabled; INIT state triggered |
How To Verify DHCP Using Command Line
#### Windows CMD / PowerShell Run these commands in an elevated Command Prompt or PowerShell terminal:
- Display Full Configuration:
ipconfig /all- verify if your adapter has a DHCP enabled flag and check your current gateway and DNS. - Release Current Lease:
ipconfig /release- forces the system to drop its current IP allocation. - Request New Lease:
ipconfig /renew- triggers a new DORA handshake to obtain fresh configuration parameters.
#### macOS Terminal Locate your active interface (usually en0 or en1) and run:
- Renew DHCP Lease:
sudo ipconfig set en0 DHCP- releases and requests a new DHCP config. - Query Configuration:
networksetup -getinfo "Wi-Fi"ornetworksetup -getinfo "Belkin USB-C LAN"- inspects lease info.
#### Linux Terminal Use the standard DHCP client daemon dhclient or NetworkManager's command line interface nmcli:
- Release and Renew using dhclient:
sudo dhclient -r eth0
sudo dhclient eth0- Toggle interface using nmcli:
nmcli device disconnect eth0
nmcli device connect eth0DHCP Failure Causes vs Solution Matrix
| Observed Fault | Root Cause | Resolution Steps | | --- | --- | --- | | APIPA Fallback (169.254.x.x) | No DHCP Offer received; server down or link blocked | Restart DHCP service; verify physical cabling | | IP Lease Depletion | High volume of guest connections or smart devices | Extend DHCP pool range; shorten lease duration | | Rogue DHCP Server | Conflict from active DHCP on extender/AP | Log into secondary AP and toggle DHCP to Disabled | | VLAN Handshake Failure | Discover packets blocked at boundary | Configure DHCP Relay / IP Helper on Layer 3 switch | | STP Broadcast Loop | Mesh node switch loops flood CPU | Enable Spanning Tree Protocol (STP) on local switches |
Static IP vs DHCP
- DHCP (Dynamic Host Configuration Protocol): The router automatically assigns IP parameters from a dynamic pool. Addresses can change when the lease expires, which is perfect for general clients but problematic for hosts needing consistent routes.
- Static IP Configuration: Manually binding an IP address directly to the client network adapter. This bypasses the DHCP server entirely.
- Risk of Collisions: If you configure a static IP manually (e.g.,
192.168.1.150) and that address lies inside the router's active DHCP range, the router may assign it to another device, triggering an IP address conflict error and dropping both devices offline. To prevent this, always set static IP reservations in the router GUI under DHCP Reservations / Static Lease bindings.
DHCP Pool Exhaustion
A router's address pool defines the beginning and end of assignable IPs (e.g., 192.168.1.100 to 192.168.1.199, supporting 100 devices). When guests, smart home devices, and mobile random-MAC devices connect, they lease these addresses.
- NAT Mapping Limits: If the pool is fully leased, the DHCP server ignores Discover packets. Device number 101 will fail to get an IP, causing an APIPA fallback.
- Lease Duration Settings: By default, many routers set lease durations to 24 or 72 hours. To avoid exhaustion on high-traffic networks, reduce the lease duration to 8 or 12 hours. This instructs the router to reclaim inactive IP addresses faster.
Internal References
- If your device is configured but you can't access the login screen, see the [router-login](/router-login) checklist.
- For instructions on setting up base configuration properties, read our guide on [router-settings](/router-settings).
- If your WAN link is active but you receive DNS resolving warnings, look at [dns-server-not-responding](/dns-server-not-responding) or [default-gateway-not-available](/default-gateway-not-available).
- To clear all system states and reset the DHCP daemon, check [router-reset](/router-reset).
Common Causes
Step-by-Step Fix
Enable DHCP Service
Ensure that the DHCP server is enabled on the router's configuration interface.
Access your router settings (commonly 192.168.1.1) and navigate to the DHCP settings to enable the service.Review and Correct DHCP Settings
Check the DHCP configuration for subnet mask, gateway, and exclusion settings.
Verify that the subnet mask matches the network configuration (usually 255.255.255.0) and check for valid IP range.Increase IP Address Pool
If the IP address pool is exhausted, expand it or reduce the number of connected devices.
Modify the DHCP settings to increase the pool size, ensuring it is within the network subnet range.Inspect Hardware for Malfunctions
Check for hardware issues such as a faulty network interface on the router.
Run diagnostics via the router UI and check LEDs indicating health status of network interfaces.Modify Firewall Settings
Adjust firewall rules to allow DHCP traffic through the necessary ports.
Ensure that UDP port 67 and 68 are open to allow communication for DHCP requests and offers.Frequently Asked Questions
Why is my router giving some devices IP addresses but not others?▼
This usually happens due to DHCP pool exhaustion (no more addresses available in the range), MAC filtering policies blocking specific hardware, or guest devices using randomized private MAC addresses that consume multiple leases. Check the active lease table in your router config and expand the start/end IP range.
Can DHCP exhaustion cause this issue?▼
Yes, DHCP pool exhaustion is a primary cause. If your pool is set to 50 addresses and you have 50 active smart plugs, phones, and laptops connected, any new device will fail to obtain an IP and default to a 169.254.x.x APIPA address.
How do I increase DHCP pool size?▼
Log into your router (commonly 192.168.1.1 or 192.168.0.1), navigate to Network Settings > LAN / DHCP Server, and adjust the IP Address Range. For example, change the End IP from 192.168.1.150 to 192.168.1.250, then save settings.
Does rebooting the router reset DHCP leases?▼
Rebooting clears the router's active RAM cache, restarting the DHCP server daemon. However, many routers store active leases in flash memory and will preserve them. To force a complete lease clearance, you can temporarily change the IP pool range or perform a full system reset.
Can VLAN settings break DHCP?▼
Yes. DHCP broadcasts do not cross VLAN boundaries. If your server is on VLAN 10 and clients are on VLAN 20, they will fail to receive IP addresses unless a DHCP Relay Agent (IP Helper) is configured on the routing switch to forward UDP packets between subnets.
People Also Resolve
High-success diagnostic paths based on semantic resolution patterns:
Related Guides
Recommended troubleshooting and setup articles you might find useful.
Port Forwarding Not Working — Detailed Fix
When port forwarding fails, external traffic cannot reach local servers, blocking remote access, game hosting, or NAS access.
VPN Slowing Down Internet Speed
VPN connections encrypt data, which can slow down speeds due to encryption overhead and server routing limits.
Weak WiFi Signal — Causes and Fixes
Low signal indicators (1-2 bars) result in dropouts, slow speeds, and coverage dead zones across the home.
Slow Upload Speed Fix
Slow uploads disrupt video calling, large file backups, cloud sync tasks, and online multiplayer gaming.