Let’s Get Certified
Module 34 / 54 · IP services

Trace a DHCP exchange across a relay

Clients in VLAN 30 never receive offers. A DHCP server in VLAN 90 has a scope for VLAN 30. What should the technician check on the VLAN 30 gateway?

Trace a DHCP exchange across a relay

The DHCP lab configures the helper on the interface facing the requesting clients.

Work through the decision

Clients in VLAN 30 never receive offers. A DHCP server in VLAN 90 has a scope for VLAN 30. What should the technician check on the VLAN 30 gateway?

Check your reasoning

Check for the helper address on the client-facing Layer 3 interface, an IP route to the server and a return path. The relay forwards the request and identifies the client subnet so the server can choose the right scope.

Jeremy’s IT Lab · 6:34 · Read the synchronized transcript

Interpret the evidence

DHCP relay
Receives the local client broadcast and forwards it toward a configured server on a routed network.
Relay gateway address
The giaddr field identifies the relay’s client-side subnet for server pool selection.
DHCP client mode
A router interface configured for DHCP requests its own address from a server.
Client-facing helper
On IOS, ip helper-address belongs on the Layer 3 interface receiving the client broadcasts.

Practice the guide skills

  1. Specify how an IOS interface can act as a DHCP client. Then place a helper on a different router’s client-facing interface for a remote server.
  2. Trace discover and offer across the relay, checking the relay address, pool selection, return route and client lease.

Official objectives for this lesson

Place the helper on the client interface

The gateway for client VLAN 30 is 192.0.2.1/26. The server at 198.51.100.10 is reached over a routed link.

interface Vlan30
 ip address 192.0.2.1 255.255.255.192
 ip helper-address 198.51.100.10

The relay identifies the client segment toward the server. Check that the server has a matching 192.0.2.0/26 pool and can return traffic to the relay.

Related lesson · Distinguish an addressing problem from a naming or clock problem

Knowledge check

Trace a DHCP exchange across a relay quiz

Answer 3 questions. Check each answer for an explanation.

Worked example · Trace a DHCP exchange across a relay