Chapter 29
| DHCP Commands
DHCP Server
– 884 –
the request was not forwarded by a relay server), the switch searches for a
network pool matching the interface through which the client request was
received. It then searches for a manually configured host address that falls
within the matching network pool. If no manually configured host address is
found, it assigns an address from the matching network address pool. However,
if no matching address pool is found the request is ignored.
â—† This command is valid for DHCP network address pools only. If the mask is not
specified, the class A, B, or C natural mask is used. Subnet addresses are
interpreted as class A, B or C, based on the first field in the specified address. In
other words, if a subnet address nnn.xxx.xxx.xxx is entered, the first field (nnn)
determines the class:
0 - 127 is class A, only uses the first field in the network address.
128 - 191 is class B, uses the first two fields in the network address.
192 - 223 is class C, uses the first three fields in the network address.
â—† The DHCP server assumes that all host addresses are available. You can exclude
subsets of the address space by using the ip dhcp excluded-address command.
Example
Console(config-dhcp)#network 10.1.0.0 255.255.255.0
Console(config-dhcp)#
next-server This command configures the next server in the boot process of a DHCP client. Use
the no form to remove the boot server list.
Syntax
[no] next-server address
address - Specifies the IP address of the next server in the boot process,
which is typically a Trivial File Transfer Protocol (TFTP) server.
Default Setting
None
Command Mode
DHCP Pool Configuration
Example
Console(config-dhcp)#next-server 10.1.0.21
Console(config-dhcp)#
Related Commands
bootfile (876)