130Procedure1. Specify an IP address for GigabitEthernet 1/0/1 on the device. system-view[Device] interface gigabitethernet 1/0/1[Device-GigabitEthernet1/0/1] ip address 10.1.1.2 24[Device-GigabitEthernet1/0/1] quit2. Configure the DHCP server:# Enable DHCP.[Device] dhcp enable# Enable the DHCP server on GigabitEthernet 1/0/1.[Device] interface gigabitethernet 1/0/1[Device-GigabitEthernet1/0/1] ip address dhcp select server[Device-GigabitEthernet1/0/1] quit# Exclude the gateway address and the AC address from dynamic allocation.[Device] dhcp server forbidden-ip 10.1.1.1[Device] dhcp server forbidden-ip 10.1.1.3# Configure DHCP address pool 0 for dynamic allocation.[Device] dhcp server ip-pool 0# Specify the assignable subnet as 10.1.1.0/24 and the address lease duration as ten days.[Device-dhcp-pool-0] network 10.1.1.0 mask 255.255.255.0[Device-dhcp-pool-0] expired day 10# Specify the gateway address as 10.1.1.1 and the DNS server address as 20.1.1.1.[Device-dhcp-pool-0] gateway-list 10.1.1.1[Device-dhcp-pool-0] dns-list 20.1.1.1# Specify the AC address as 10.1.1.3.[Device-dhcp-pool-0] option 43 hex 80070000010A010103Verifying the configuration# Verify that the AP can obtain an IP address and all other network parameters from Device. (Detailsnot shown.)# On the DHCP server, display the IP address assigned to the AP.[Device] display dhcp server ip-in-useTroubleshooting DHCP server configurationFailure to obtain a non-conflicting IP addressSymptomA client's IP address obtained from the DHCP server conflicts with an IP address of another host.SolutionAnother host on the subnet might have the same IP address.To resolve the problem: