Operation Manual – DHCP
H3C S3610&S5510 Series Ethernet Switches
Chapter 2 DHCP Server Configuration
2-19
[SwitchA-dhcp-pool-0] network 10.1.1.0 mask 255.255.255.0
[SwitchA-dhcp-pool-0] domain-name aabbcc.com
[SwitchA-dhcp-pool-0] dns-list 10.1.1.2
[SwitchA-dhcp-pool-0] quit
# Configure DHCP address pool 1 (address range, gateway, lease duration, and WINS
server).
[SwitchA] dhcp server ip-pool 1
[SwitchA-dhcp-pool-1] network 10.1.1.0 mask 255.255.255.128
[SwitchA-dhcp-pool-1] gateway-list 10.1.1.126
[SwitchA-dhcp-pool-1] expired day 10 hour 12
[SwitchA-dhcp-pool-2] nbns-list 10.1.1.4
[SwitchA-dhcp-pool-1] quit
# Configure DHCP address pool 2 (address range, gateway, and lease duration).
[SwitchA] dhcp server ip-pool 2
[SwitchA-dhcp-pool-2] network 10.1.1.128 mask 255.255.255.128
[SwitchA-dhcp-pool-2] expired day 5
[SwitchA-dhcp-pool-2] gateway-list 10.1.1.254
2.10 Troubleshooting DHCP Server Configuration
I. Symptom
A client’s IP address obtained from the DHCP server conflicts with another IP address.
II. Analysis
A host on the subnet may have the same IP address.
III. Solution
1)
Disconnect the client’s network cable and ping the client’s IP address on another
host with a long timeout time 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
the host. Execute the
dhcp server forbidden-ip
command on the DHCP server to
exclude the IP address from dynamic allocation.
3) Connect the client’s network cable. Release the IP address and obtain another
one on the client. Take WINDOW XP as an example, run
cmd
to enter into DOS
window. Type
ipconfig
/
release
to relinquish the IP address and then
ipconfig
/
renew
to obtain another IP address.