[Contents] [Prev] [Next] [Index] [Report an Error]

Configuring DHCP Client-Specific Attributes

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

StatementDescriptionCorresponding DHCP Option

boot-file

Boot filename advertised to the client, and used by the client to complete configuration.

67

boot-server

Boot server containing the boot file.

66

domain-name

Domain in which clients search for a DHCP server host.

15

grace-period

Grace period offered with the lease.

none

option-match

Maps option 82 value to named address range.

none

maximum-lease-time

Maximum lease time allowed by the DHCP server.

51

name-server

IP address of domain name server.

6

netbios-node-type

NetBIOS node type.

46

option

User-defined options.

router

IP address for routers on the subnetwork.

3

tftp-server

Trivial File Transfer Protocol (TFTP) server that the client uses to obtain the client configuration file.

150

wins-server

IP address of the Windows NetBIOS name server.

44


[Contents] [Prev] [Next] [Index] [Report an Error]