Troubleshooting dhcp server configuration, Symptom, Analysis – H3C Technologies H3C S10500 Series Switches User Manual
Page 65: Solution

54
[SwitchA] dhcp enable
# Enable the DHCP server on VLAN-interface 2.
[SwitchA] interface vlan-interface 2
[SwitchA-Vlan-interface2] dhcp select server global-pool
[SwitchA-Vlan-interface2] quit
# Configure DHCP address pool 0.
[SwitchA] dhcp server ip-pool 0
[SwitchA-dhcp-pool-0] network 10.1.1.0 mask 255.255.255.0
[SwitchA-dhcp-pool-0] option 43 hex 80 0B 00 00 02 01 02 03 04 02 02 02 02
3.
Verification
After the preceding configuration is complete, Switch B can obtain its IP address on 10.1.1.0/24 and PXE
server addresses from the Switch A. You can use the display dhcp server ip-in-use command on the
DHCP server to view the IP addresses assigned to the clients.
Troubleshooting DHCP server configuration
Symptom
A client’s IP address obtained from the DHCP server conflicts with another IP address.
Analysis
A host on the subnet may have the same IP address.
Solution
1.
Disable the client’s network adapter or disconnect the client’s network cable. Ping the IP address
of the client from another host to check whether there is a host using the same IP address.
2.
If a ping response is received, the IP address has been manually configured on a host. Execute the
dhcp server forbidden-ip command on the DHCP server to exclude the IP address from dynamic
allocation.
3.
Enable the network adapter or connect the network cable. For example, to release the IP address
and obtain another one on a Windows XP client:
a.
Run cmd to enter DOS window.
b.
Type ipconfig/release to relinquish the IP address.
c.
Type ipconfig/renew to obtain another IP address.