DHCP Server Configuration Task List 799
5 The IP address that was a conflict or passed its lease duration
If no IP address is assignable, the server will not respond.
DHCP Server
Configuration Task
List
Complete the following tasks to configure the DHCP server:
Enabling DHCP Enable DHCP before performing other configurations.
Follow these steps to enable DHCP:
Enabling the DHCP
Server on an Interface
With the DHCP server enabled on an interface, upon receiving a client’s request,
the DHCP server will assign an IP address from its address pool to the DHCP client.
Follow these steps to enable the DHCP server on an interface:
n
The subaddress keyword is valid only when the server and client are on the same
subnet. If a DHCP relay agent exists in between, regardless of subaddress, the
DHCP server will select an IP address from the address pool of the subnet which
contains the primary IP address of the DHCP relay agent’s interface (connected to
the client).
When the DHCP server and client are on the same subnet, the server will
■ With subaddress specified, assign an IP address from the address pool of the
subnet which the secondary IP address of the server’s interface connected to
the client belongs to, or assign from the first secondary IP address if several
secondary IP addresses exist. If no secondary IP address is configured for the
interface, the server is unable to assign an IP address to the client.
Task Remarks
“Enabling DHCP” on page 799 Required
“Enabling the DHCP Server on an Interface” on page 799 Optional
“Configuring an Address Pool for the DHCP Server” on page 800 Required
“Configuring the DHCP Server Security Functions” on page 806 Optional
“Configuring the Handling Mode for Option 82” on page 808 Optional
To do… Use the command… Remarks
Enter system view system-view -
Enable DHCP dhcp enable Required
Disabled by default.
To do… Use the command… Remarks
Enter system view system-view -
Enter interface view interface interface-type
interface-number
-
Enable the DHCP server on an
interface
dhcp select server
global-pool [ subaddress ]
Optional
Enabled by default.