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 also 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 lease grace period, and the maximum lease time.
Use the dhcp-attributes statement at the [edit access address-assignment pool pool-name family inet] hierarchy level to configure client-specific attributes for DHCP clients. Table 39 describes the DHCP attributes.
-
dhcp-attributes {
-
-
option-match {
-
-
option-82 {
-
circuit-id value range named-range;
-
remote-id value range named-range;
- }
- }
-
boot-file filename;
-
boot-server (address | hostname);
-
domain-name domain-name;
-
grace-period seconds;
-
maximum-lease-time seconds;
-
name-server [ server-names ];
-
netbios-node-type node-type;
-
-
option {
- [ (id-number option-type option-value)
- (id-number array option-type option-value) ];
- }
-
router [ router-names ];
-
tftp-server address;
-
wins-server [ server-names ];
- }
Table 39: DHCP-Attributes Statements