Configure DHCP Subnet
About this task
Procedure
What to do next
Variable Definitions
Use the variable definitions in the following table to configure DHCP subnets.
Variable | Definition |
---|---|
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. |
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. |
lease-time <60-300000000> |
Specifies the length of time, in seconds, before a host lease expires. The default value is 0 (unconfigured). |
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. |
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. |
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. |
tftp boot-file-name WORD<0-128> |
Specifies the filename of the subnet TFTP boot image file. |
domain-name WORD<0-255> |
Specifies a domain name for this DHCP subnet. |
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. |
custom-option-data <224-254> value WORD<0-255> |
Assigns a data value to an existing DHCP Custom Option.
|