Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

Configuring DHCP Client-Specific Attributes

You use the address-assignment pool feature to include application-specific attributes when clients obtain an address. The client application, such as DHCP, uses the attributes to determine how addresses are assigned and to provide optional application-specific characteristics to the client. For example, the DHCP application might specify that a client that matches certain prerequisite information is dynamically assigned an address from a particular named range. Based on which named range is used, DHCP specifies additional DHCP attributes such as the boot file that the client uses, the DNS server, and the maximum lease time.

You use the dhcp-attributes statement to configure DHCP client-specific attributes for address-assignment pools.

To configure address-assignment pool attributes for DHCP clients:

  1. Specify the name of the address-assignment pool.
    [edit access] user@host# edit address-assignment pool blr-pool family inet
  2. Configure optional DHCP client attributes.
    [edit access address-assignment pool blr-pool family inet]user@host# set dhcp-attributes maximum-lease-time 2419200user@host# set dhcp-attributes name-server 192.168.10.2user@host# set dhcp-attributes boot-file boot-file.txtuser@host# set dhcp-attributes boot-file boot-server example.net

Note: To configure DHCP client-specific attributes in a routing instance, configure the dhcp-attributes statements in the [edit routing-instances] hierarchy.

Modified: 2016-07-01

Modified: 2016-07-01