Configure DHCP Subnet
Before you begin
Before you configure a custom subnet data value, you must define the custom option globally.
About this task
Procedure
Variable Definitions
Use the following table to configure DHCP subnets.
Variable | Value |
---|---|
custom-option-data <224-254> value WORD<0-128> |
Assigns a data value to an existing DHCP Custom Option.
|
domain-name WORD<1-128> |
Specifies a domain name for this DHCP subnet. |
domain-name-servers {A.B.C.D} [...] |
Specifies the IPv4 address of one or more DNS servers. You can assign a maximum of eight server addresses. Enter each server address on the same command line with a space separating each address entry. |
lease-time <60-300000000> |
Specifies the length of time, in seconds, before a host lease expires. The default value is 0 (unconfigured). |
netbios-name-server {A.B.C.D} | Specifies the IPv4 address of the NetBIOS name server for this subnet. |
netbios-node-type [0x1|0x2|0x4|0x8] |
Specifies the node type of the Net BIOS name server. Enter one of the following options:
The default value is 0x0—unconfigured. |
ntp-servers {A.B.C.D} [...] |
Specifies the IPv4 address of one or more NTP servers. You can assign a maximum of eight server addresses. Enter each server address on the same command line with a space separating each address entry. |
pool {A.B.C.D} {A.B.C.D} |
Assigns a range of IPv4 addresses that DHCP Server can use to assign addresses to clients. Enter the starting IP address followed by the ending IP address. Note the following:
|
router {A.B.C.D} […] |
Specifies one or more default router IPv4 addresses for this subnet. You can assign a maximum of eight router addresses. Enter each address on the same command line with a space separating each address entry. |
subnet {A.B.C.D/X} |
Assigns a DHCP subnet that the DHCP Server services. Note that for the subnet address, the host bits must be zero. |
tftp boot-file-name WORD<0-128> |
Specifies the filename of the subnet TFTP boot image file. |
tftp server-ip {A.B.C.D} |
Specifies the IPv4 address of the subnet TFTP server. |
tftp server-name WORD<0-64> |
Specifies the server name of the subnet TFTP server. |