Solution:
Root Cause: DHCP Discover Failure and APIPA Fallback Allocation
When a device connects to an 802.11 access point, the host network adapter issues a UDP
DHCPDISCOVER broadcast on port 67. If the local DHCP client service crashes, or if local socket filters drop response packets, the Windows operating system assigns an Automatic Private IP Addressing (APIPA) address in the
169.254.0.0/16 block. Because APIPA addresses lack a default gateway route, local network and WAN access remain completely unreachable.
Diagnostic Verification:
Open Command Prompt and type ipconfig /all.Locate your Wireless LAN adapter. If Autoconfiguration IPv4 Address displays 169.254.x.x and Default Gateway is blank, the stack is locked in an APIPA state.Step-by-Step Fix:
1Release and Renew Dynamic IP Lease:
Open Command Prompt as Administrator and run: ipconfig /release
ipconfig /renew
2Restart the Windows DHCP Client Service via Services MMC:
Press Win + R, type services.msc, and press Enter.Locate DHCP Client, verify Startup Type is set to Automatic.If greyed out, reset the service state in administrative PowerShell: Set-Service -Name Dhcp -StartupType Automatic
Restart-Service -Name Dhcp -Force
3Flush Network Interface State:
Execute command to reset bound interface sockets: netsh interface ip reset
4Reboot the PC to apply clean stack initializations.
Prevention & Long-Term Monitoring:
Avoid setting aggressive third-party firewall rules that drop incoming UDP port 68 responses from local gateways.