Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?


Configuring MX Series Router Cloud CPE DHCP Relay Agent Services

Before you begin, make sure you have completed the steps for the cCPE common configuration. See Configuring the Common Configuration for MX Series Router Cloud CPE Services.


The stateless DHCP relay agent, which you configure under the [routing-instance routing-instance forwarding-options helpers bootp] edit hierarchy, cannot coexist with the DHCP local server in the same MX Series router, even if they are configured in different routing instances.


When you configure a DHCP server in a VRF, if you want the server to handle DHCP requests sent by DHCP relay agents located at remote sites of the same VPN, you need to add tunnel interfaces to the DHCP server. Specifically, you need to add the following configuration to the DHCP server:

For more information about configuring the DHCP server, see Configuring MX Series Router Cloud CPE DHCP Services.

Configure one server group and one client group for each subscriber. Define a reference to the server group with the group stanza. To configure the DHCP relay agent:

  1. Configure the server group by specifying the name of the group and DHCP server addresses for use by the extended DHCP relay agent.
  2. (Optional) If the subscriber is using a DHCP server farm, you can add another server to the group.
  3. (Optional) If the subscriber has more than one server group, configure an active server group to apply a common DHCP relay agent configuration to a named group of DHCP server addresses.
  4. (Optional) Specify the interface to be served by the DHCP relay agent. Typically, this is not required, because the IRB interface is the single interface for the cCPE context.
  5. Override the default configuration settings for the extended DHCP relay agent, and enable DHCP snooping.
  6. Review the configuration.