Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    Configuring DHCP Proxy Client

    To configure a DHCPv4 or a DHCPv6 profile, configure the DHCP proxy client on the system services for the routing instance. Use the following procedure to set up a DHCPv4 profile. Use the same procedure to set up a DHCPv6 profile.

    To configure a DHCPv4 profile on the system services for a routing instance on an MX router.

    1. Configure the bind interfaces for the DHCPv4 profile. For a DHCPv4 proxy client, the interface must be configured with the valid inet address and inet address family. Similarly, for the DHCPv6 profile, the interface must be configured with the valid inet6 address and inet6 family.
      [edit routing-instances name system services dhcp-proxy-client dhcpv4-profiles name]user@host# set bind-interfaces interface-name ip-address
    2. Configure the dead server retry interval for the DHCPv4 profile. The range for the number of seconds before reconnecting to a dead server, which was marked down in previous attempts, is from 300 through 3600.
      [edit routing-instances name system services dhcp-proxy-client dhcpv4-profiles name]user@host# set dead-server-retry-interval n
    3. Configure the dead server successive retry attempt for the DHCPv4 profile. The range for the number of successive retry attempts before declaring an unresponsive server dead is from 5 through 1000.
      [edit routing-instances name system services dhcp-proxy-client dhcpv4-profiles name]user@host# set dead-server-successive-retry-attempt n
    4. Configure the DHCP server selection algorithm for the DHCPv4 profile. The DHCP server is selected either by the highest priority or round-robin method, according to the option specified for server selection.
      [edit routing-instances name system services dhcp-proxy-client dhcpv4-profiles name]user@host# set dhcp-server-selection-algorithm [highest-priority-server | round-robin]
    5. Configure the lease time for the DHCPv4 profile. The range for the minimum and maximum allowable lease times that are accepted in responses from DHCP servers is from 60 through 1000.
      [edit routing-instances name system services dhcp-proxy-client dhcpv4-profiles name]user@host# set lease-time n
    6. Configure the pool name for the DHCPv4 profile. The pool name is sent to the server only if it is configured and is optional.
      [edit routing-instances name system services dhcp-proxy-client dhcpv4-profiles name]user@host# set pool-name string
    7. Configure the retransmission attempt for the DHCPv4 profile. The range for the maximum number of times that the system attempts to communicate with the unresponsive DHCP server before it is considered a failure is from 0 through 1000.
      [edit routing-instances name system services dhcp-proxy-client dhcpv4-profiles name]user@host# set retransmission-attempt n
    8. Configure the retransmission interval for the DHCP4 profile. The range for the amount of time that must pass with no response before the system reattempts to communicate with the DHCP server is from 4 through 64.
      [edit routing-instances name system services dhcp-proxy-client dhcpv4-profiles name]user@host# set retransmission-interval n
    9. Configure the servers for the DHCPv4 profile. This is applicable only to DHCPv4 and a minimum of one server must be configured for effective communication between the DHCP proxy clients and the DHCP server.
      [edit routing-instances name system services dhcp-proxy-client dhcpv4-profiles name]user@host# set servers ip-v4address priority;

    Published: 2011-11-22