Pcornel
Browse topics
Options
Recent
Favorites
Networking · Technical reference

DHCP Relay

Direct 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.

When to use this

Use it when DHCP clients and servers are separated by a Layer-3 boundary.

First 30 seconds

Freeze client/VLAN and transaction ID. Read helper placement and server route, then follow Discover → Offer → Request → ACK using giaddr and server/client observations.

Operational verification

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

Evidence · next step

1. Verify the client VLAN/SVI and broadcast arrival.
2. Verify helper placement and server address.
3. Verify relay source/giaddr and route to server.
4. Verify scope/options and return path.
5. Inspect binding and client lease.

Continue only after interpreting the current observation.
Context & applicabilityCommon mistakes · platform/version boundaries
Common mistakes
Common relay mistakes
  • Helper configured on the server-facing interface instead of the client-facing interface.
  • Helper points to the wrong server.
  • The server lacks a pool for the relayed subnet.
  • Routing or ACL/firewall policy blocks relay-to-server traffic.
  • Treating the presence of the helper line as evidence that packets actually traverse the path.
Platform / version applicability
Protocol standard + deployed implementation
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformProtocol standard · Cisco IOS / IOS XE
Key commandip helper-address <server-ip>
Scope / prerequisiteUse it when DHCP clients and servers are separated by a Layer-3 boundary.
Reference · 2
What next?3 suggested next steps
Catalog command links2
Evidence4
On this pageJump to a specific section
Cisco IOS / IOS XE first

Primary Commands

Configuration and operational commands for this Topic.

Verification

Show Commands

Read-only Cisco show commands for confirming state, narrowing a fault and interpreting the current boundary.

Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

7 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 First 30 seconds Verify boundary

Immediate answer: Freeze client/VLAN and transaction ID. Read helper placement and server route, then follow Discover → Offer → Request → ACK using giaddr and server/client observations.

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

Boundary: Configuration and a local healthy display do not establish the complete transaction or end-to-end result.

Step 2 DHCP relay: illustrative transaction and recovery Verify boundary

Illustrative lab, not captured traffic: client VLAN 20 uses gateway/relay 10.20.0.1/24; DHCP server is 192.0.2.10, with a pool for 10.20.0.0/24 and a route back to the relay. Configure the helper on the client-facing L3 interface, not merely the server uplink.

Expected initial sequence: client Discover → relayed Discover with giaddr 10.20.0.1 → server Offer → selected-server Request → ACK → accepted client lease. Correlate the exchange and verify address, mask, gateway and DNS options at the client. A lease does not establish gateway forwarding, resolver health or application success; check those separately.

Negative test in this isolated lab: use a server with no matching client-subnet pool and inspect server-side rejection/no Offer for the relayed request. Restore the intended pool and repeat acquisition. Do not infer the same cause from any timeout without the packet/server observations.

Before changing helper, pool or policy, save the exact prior values and rollback scope. Preserve unrelated clients and lease records. Restore only the reviewed change; do not clear all bindings. Examples describe expected results, not an executed lab or new Evidence.

Step 3 Verification and output interpretation Verify boundary

Show the client VLAN reaches the expected SVI/routed interface, the helper target is correct, the server sees the expected relay/subnet identity, and the response returns through the same logical boundary. Verification should correlate one client identity and one subnet across the exact transaction. Inspect interface/VLAN state, helper or server reachability, bindings/pool utilization and the parameters ultimately installed on the client. A packet capture or counters can show message progress, while client route/ARP/DNS checks show later stages. Keep protocol success separate from service success.

Step 4 Step-by-step troubleshooting Narrow the fault

Boundary rule: A configured helper address does not show the request leaves the relay, reaches the server or maps to a usable pool.

Step 5 DHCP relay: localize the missing DORA message Narrow the fault

Use one bounded initial lease acquisition in an isolated lab or an approved client test; do not release a production client's working lease casually.

Last confirmed observationNext discriminating check
Client Discover on its VLAN, no forwarded Discover near serverIngress VLAN/SVI, helper placement, DHCP service, route and policy
Relayed Discover at server, no Offergiaddr/subnet selection, available pool, exclusions and server/option-82 policy
Offer sent by server, absent at relayRoute and filtering from server to relay
Offer at relay, absent at clientClient VLAN forwarding, relay delivery, DHCP snooping/trust and broadcast/unicast handling
Offer delivered, no completed leaseSelected server's Request/ACK sequence, NAKs and client acceptance

For initial relayed DHCPv4, client-side traffic uses UDP 68/67; relay/server exchange normally uses UDP 67 to 67. Do not assume permitting only 68 to 67 allows the complete relayed exchange. Correlate packet direction, message type, transaction ID and giaddr. Packet capture configuration and debug are operational interventions; scope and stop them separately. A relay need not maintain the authoritative server binding, so an empty local server-binding table is not evidence of failure.

Step 6 Relay verification Narrow the fault

Check the client-facing interface configuration, routing to the server, server-side pool selection and return path. Packet captures on the client VLAN and near the server can identify whether the relay forwards Discover and whether Offer returns.

Step 7 Verification & troubleshooting Narrow the fault

1. Verify the client VLAN/SVI and broadcast arrival.

2. Verify helper placement and server address.

3. Verify relay source/giaddr and route to server.

4. Verify scope/options and return path.

5. Inspect binding and client lease.

Evidence references

Evidence · 4 on this Topic

Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.

packet · 2command output · 1configuration · 1
Command lookup Jump straight to Cisco syntax
Key points
  • 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.
Key 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.

ReferenceWhat it is1 section · depth on demand

What a DHCP relay does

Routers do not normally forward the client broadcast used for initial DHCP discovery. A relay receives that broadcast on the client subnet and forwards it toward a configured server so centralized DHCP can serve many routed networks.

ReferenceHow it works2 sections · depth on demand

Relay path

On Cisco IOS/IOS XE, configure ip helper-address <server-ip> on the client-facing Layer-3 interface. The relay identifies the originating subnet to the server, which uses that information to choose the matching scope. Return routing and policy must still allow the server response back to the relay/client.

DHCP relay: configuration versus observed transaction

Scope: Cisco IOS / IOS XE IPv4 DHCP relay, numbered client-facing interface, global routing table. Smart relay, VRF-aware relay and option-82 selection rules need their own release-specific treatment.

ip helper-address <server-ip> is interface configuration. It changes forwarding behavior; it is not a command that reads transaction state. Inspect the client-facing configuration with show running-config interface <interface>, the interface with show ip interface <interface> and the server route with show ip route <server-ip>. Also inspect global DHCP service state and any forwarding restrictions. A helper line alone does not show a Discover reached the server.

Follow one transaction by client identity and transaction ID. In the basic numbered-interface case, giaddr identifies the relayed client subnet for server pool selection and the reply path back to the relay. Inspect actual packets rather than assuming the server-facing packet's IP source is the subnet selector. Option 82 can supply additional selection context.

Reference: Cisco IOS XE DHCP relay guide.

ReferenceImportant terms & boundaries4 sections · depth on demand

In depth

A DHCP relay forwards client broadcasts to a server in another subnet

DHCP clients broadcast, and routers don't forward broadcasts. A relay agent on the client's gateway receives the DISCOVER and sends it as unicast to the configured server. The relay adds its own interface address (giaddr), which the server uses to pick the pool for that subnet.

The Catalyst 9300 DHCP guide states that service dhcp (enabled by default) must be on, and ip helper-address is configured on the SVI closest to the clients.

C9300(config)# interface Vlan20
C9300(config-if)# ip address 10.20.0.1 255.255.255.0
C9300(config-if)# ip helper-address 10.10.50.20
C9300(config-if)# ip helper-address 10.10.50.21
DHCP-SERVER(config)# ip dhcp pool VLAN20-USERS
DHCP-SERVER(dhcp-config)# network 10.20.0.0 255.255.255.0
DHCP-SERVER(dhcp-config)# default-router 10.20.0.1
C9300# show ip interface Vlan20 | include Helper
  Helper addresses are 10.10.50.20
                       10.10.50.21
C9300# debug ip dhcp server packet

Two helper addresses send each request to both servers. Use that only when the servers are set up for it (split scopes or failover).

Relay agent information (option 82)

The guide lists relay agent information checking as enabled by default, with invalid messages dropped, and a default forwarding policy that replaces existing relay information. With DHCP snooping, the switch inserts option 82 with the switch MAC as remote ID and the VLAN and port as circuit ID, and strips it from replies to the client.

Requirements

RequirementWhy
The server has a pool matching the giaddr subnetOtherwise the server ignores the request
Route from the server back to the giaddrThe server replies to the relay address
Firewalls allow UDP 67/68 between relay and serverRelayed traffic is unicast UDP
ip helper-address on every client SVIEach subnet needs its own relay

Side effect of ip helper-address

By default it also forwards some other UDP broadcasts (TFTP, DNS, NetBIOS and others). Restrict them with no ip forward-protocol udp <port> if that isn't wanted.

Troubleshooting

SymptomCheck
Server never sees the requestHelper missing on the SVI, no service dhcp, routing to the server
Server sees it but doesn't answerNo pool for the giaddr subnet, or pool exhausted
Clients in other VLANs get addresses, this one doesn'tHelper only configured on some SVIs
Replies dropped on an aggregation switchOption 82 from the edge on an untrusted port; see DHCP snooping

Documented example, not captured output.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.

Quick reference

A DHCP relay forwards clients' broadcast DHCP messages to a server on another subnet as unicast. The relay inserts its interface address (giaddr) so the server knows which pool to use and where to send replies.

interface Vlan20
 ip address 10.20.0.1 255.255.255.0
 ip helper-address 10.0.0.53
 ip helper-address 10.0.0.54

Documented example, not captured output.

ip helper-address also forwards some other UDP broadcasts (TFTP, DNS, NetBIOS and more) by default; restrict with no ip forward-protocol udp <port> if needed.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.

Protocol/service mechanics and state model

A relay receives the local client broadcast and creates a routed DHCP message toward one or more configured servers. The relay supplies subnet/context information such as giaddr so the server can choose the correct pool, then forwards the server response back toward the original client segment. Relay behavior is therefore a control function at a routed boundary rather than ordinary Layer-2 broadcast forwarding. DHCP should be read as a stateful configuration-delivery protocol across Layer-2 and Layer-3 boundaries. Broadcast discovery, relay behavior, server pool selection, client identity, lease timers and applied interface state are separate pieces of evidence. Server and client can each look locally healthy while a relay, VRF, helper target, return route or VLAN boundary prevents the complete exchange. DORA is useful shorthand, but operational certainty comes from following one exact client through message direction, selected scope and resulting lease.

Limits and common misconceptions

A configured helper address shows intent only. It does not show the interface receives client broadcasts, the server has a matching scope, or the reply route reaches the relay. Do not treat DHCP as a universal connectivity test. An address lease shows configuration delivery, not gateway forwarding, DNS health, security policy or application reachability. Conversely, a static-address test succeeding does not show DHCP itself works. Preserve the distinction between discovery transport, server allocation logic, relay context, client-applied state and the later forwarding path.

ReferenceConfiguration & state2 sections · depth on demand

Cisco relay placement

Configure ip helper-address <server-ip> on the client-facing Layer-3 interface (for example an SVI) that receives the client broadcast. Do not place it merely where traffic exits toward the server.

Design and configuration intent

Place helper/relay configuration on the Layer-3 interface that actually owns the client subnet, keep server targets explicit, and account for VRF/source-interface/routing context so request and response follow a valid path. Configuration should preserve a clear ownership boundary between the client subnet, relay/default gateway and server scopes. Address ranges, exclusions, default-router and DNS options, lease times and relay targets should reflect the real routed design. Avoid using a broad helper or pool as evidence of correctness; a syntactically valid configuration can still choose the wrong scope or source context.

Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docProtocol standard + deployed implementation RFC 2131

Authoritative/upstream documentation reviewed for bounded claims in IP Services → DHCP → DHCP Relay. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://www.rfc-editor.org/rfc/rfc2131.html · confidence 94%
2026-09-13 · vendor docCisco IOS XE generic XE

Official Cisco vendor documentation reviewed for bounded reference claims: DHCP relay, giaddr, helper-address and relay context. This is documentation-based technical verification, not lab or production-runtime proof. Deployment-specific applicability and runtime outcome remain separate evidence.

Basis: https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/ipaddr_dhcp/configuration/xe-16/dhcp-xe-16-book/dhcp-relay-agent-xe.html · confidence 94%
Terminology layer

Terms & aliases

Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.

Aliases that resolve here
ip helperdhcp relayip helper addressDHCP relaygiaddr
Embedded reference data

Quick lookup tables

DHCP Relay / IP Helper evidence chain

Configuration, operational state, counters and downstream proof remain separate.

BoundaryQuestionEvidenceDoes not prove
DefinitionWhat is configured or intended?running configuration / controller policylive operation
Local stateIs the feature active at the expected scope?show running-config interface <interface>remote success
CountersDid controlled traffic or an event reach this stage?scoped counters/timestampscomplete return path
Next boundaryWhat consumes or transports this state?client Discover → access VLAN/SVI → relay/giaddr → routed server → Offer/Ack → relay → client leaseapplication success

DHCP Relay · operational reference

Compact protocol/state/evidence reference for fast lookup.

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

Deep reference

Healthy vs suspicious evidence

Healthy vs suspicious relay evidence

Healthy: helper points to the intended server, routing/policy allows the path, relayed Discover reaches the server with originating-subnet context, and Offer returns.

Suspicious: Discover exists on client VLAN but never reaches server; server sends Offer but it never returns; server has no scope matching the relayed subnet.

Confirmation

Confirm action

Continue?