Configuring DHCP relay

About this task

After you configure the BootP/DHCP relay on an IP interface, you can configure forwarding paths to indicate where packets are forwarded. The forwarding paths are based on the type of packet and where the packet is received.

Procedure

  1. In the navigation tree, expand the following folders: Configuration > IP.
  2. Click DHCP Relay.
  3. Click the Globals tab.
  4. Click Insert.
  5. In the AgentAddr box, type the agent address.
  6. In the ServerAddr list, type the server address.
  7. Click Enable to enable BootP/DHCP relay. You can enable or disable each agent server forwarding policy. The default is enabled.
  8. In the Mode box, select the type of messages to relay.

    Both the mode setting for the DHCP interface and the mode setting for the agent interface determine which packets are forwarded.

  9. Click Insert.

Globals field descriptions

Use the data in the following table to use the Globals tab.

Name

Description

AgentAddr

The IP address of the input interface (agent) on which the BootP/DHCP request packets are received for forwarding. This address is the IP address of either a brouter port or a VLAN for which forwarding is enabled.

ServerAddr

This parameter is either the IP address of the BootP/DHCP server or the address of another local interface.

  • If it is the address of the BootP/DHCP server, the request is unicast to the server address.

  • If the address is one of the IP addresses of an interface on the system, the BootP/DHCP requests are broadcast out of that local interface.

Enable

Enables BootP/DHCP relay.

Mode

Specifies the type of messages relayed:

  • Only BootP

  • Only DHCP

  • Both types of messages

The default is to forward both BootP and DHCP messages.