Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

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.

Note: 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.

Note: 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:

user@host set routing-instances acme system services dhcp-local-server group default-group interface lsi.0 upto lsi.16385

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.
    [edit]user@host# edit routing-instances acme forwarding-options dhcp-relay user@host# set server-group server-group-name server-ip-address
  2. (Optional) If the subscriber is using a DHCP server farm, you can add another server to the group.
    [edit routing-instances acme forwarding-options dhcp-relay]user@host# set server-group server-group-name server-ip-address
  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.
    [edit routing-instances acme forwarding-options dhcp-relay]user@host# set active-server-group server-group-name
  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.
    [edit routing-instances acme forwarding-options dhcp-relay]user@host# set group group-name interface irb.vlan-unit-id
  5. Override the default configuration settings for the extended DHCP relay agent, and enable DHCP snooping.
    [edit routing-instances acme forwarding-options dhcp-relay]user@host# set overrides allow-snooped-clients
  6. Review the configuration.
    [edit routing-instances acme forwarding-options dhcp-relay]user@host# show
    overrides {
        allow-snooped-clients;
    }
    server-group {
        acme-server-group {
            10.1.2.3;
            10.2.3.4;
        }
    }
        active-server-group {
            10.1.2.3;
        }
    active-server-group acme-server-group;
    group acme-group {
        interface irb.105;
    }
    

Modified: 2015-11-04