T The Triage ManualTechnical Guides for IT Emergencies
P2 · Network Infrastructure

DHCP Address Assignment Fails Across VLANs, Switches, and Wireless Access Points — Relay Agent and Snooping Misconfiguration

DHCP address assignment fails for clients connected via managed switches, wireless access points, or across VLAN boundaries, causing clients to fall back to APIPA (169.254.x.x) addresses. The root cause is typically missing or misconfigured DHCP relay agent (ip helper-address) on Layer 3 switch SVIs, DHCP snooping blocking relay packets on untrusted ports, or VLANs missing from trunk links. Resolution requires verifying relay configuration on inter-VLAN routing interfaces, confirming DHCP snooping trusted port settings, and ensuring scope availability on the DHCP server.

Indicators

Likely causes

Diagnostic steps

  1. On an affected client, check the assigned IP address to confirm APIPA or no-address state, then attempt a manual DHCP renewal: ipconfig /all && ipconfig /release && ipconfig /renew
    Confirms DHCP failure is active and not a stale cached state; establishes the scope of the problem (single client vs. all clients on VLAN)
  2. On the DHCP server, inspect available scopes, check for scope exhaustion, and review the lease table for the affected subnet using PowerShell: Get-DhcpServerv4Scope | Select-Object ScopeId, Name, State, StartRange, EndRange, FreeAddresses | Format-Table -AutoSize
    Determines whether the problem is DHCP server-side (scope full, scope inactive, no traffic arriving) or network-side (traffic not reaching the server)
  3. On the Layer 3 switch or router, inspect the SVI or subinterface for the affected VLAN and verify DHCP relay configuration: show running-config interface vlan <VLAN_ID>
    Identifies missing or incorrect DHCP relay agent (ip helper-address) configuration, which is the most common cause of cross-VLAN DHCP failure
  4. On the switch, verify DHCP snooping configuration and trusted port status: show ip dhcp snooping && show ip dhcp snooping binding
    DHCP snooping with untrusted uplinks silently drops relay agent packets, causing DHCP failure even when relay is correctly configured
  5. Check trunk port configuration between switches and WAP uplinks: show interfaces trunk
    A VLAN missing from a trunk allowlist will silently drop all client traffic including DHCP broadcasts, making it appear as a DHCP server issue
  6. Perform a packet capture on the DHCP server's network interface filtered for UDP port 67: tcpdump -i <interface> -n udp port 67 or udp port 68
    Definitively distinguishes between a network delivery problem (no packets arrive) and a DHCP server configuration problem (packets arrive but are not answered correctly)

Resolution path

Prevention

Tools

References

dhcpvlanswitchingwirelesswapnetworkip-addressingdhcp-relayip-helper-addressdhcp-snoopinglayer3inter-vlan-routingapipascope-exhaustionciscotrunk-configurationrogue-dhcptriage