Pcornel
Networking · IP Services › DHCP

DHCP Relay

Cheat sheet · https://pcornel.dk/topic.php?topic=655

Back to the Topic

Answer

A DHCP relay receives a client broadcast on the ingress subnet and forwards a unicast request to a remote server while identifying the client subnet.

Remember

  • Configure the helper on the client-facing Layer-3 interface
  • The relay address/giaddr selects the server scope
  • UDP 67/68, routing, ACL, VRF and return path all matter
  • ip helper-address can forward additional UDP services unless forwarding is constrained.

First checks

1. Read client-facing interface configuration and state; confirm helper/server and DHCP service intent.

2. Inspect route/policy to server and route back to relay.

3. Correlate one initial DORA exchange by transaction ID, client and giaddr.

4. Inspect matching server pool/options and client acceptance.

5. Verify gateway and DNS independently. Helper configuration and local relay tables alone are not lease proof.

Commands

ip helper-address <server-ip>
Configure DHCP/UDP relay forwarding toward a server.
show running-config interface <interface>
Display the effective interface configuration, including a configured DHCP helper.
ip helper-address
show ip interface <interface>
show ip route <server-ip>

Verify in this order

client/VLAN Discover → helper ingress and giaddr → relayed server request → pool/Offer → selected Request/ACK → accepted client lease

Where it usually breaks

client broadcast missing → no relay forward → server pool/policy → reply route/filter → VLAN delivery/snooping → client acceptance

DHCP Relay · operational reference

Relay checkpointMeaning
Client ingressBroadcast reached L3 boundary
Helper targetServer destination configured
giaddr/contextScope-selection identity
Reply forwardingReturn to client segment

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=655

Confirmation

Confirm action

Continue?