3Com Switch 8800 Advanced Software V5 Configuration Guide

734 CHAPTER 50: DHCP SERVER CONFIGURATION
[Sysname] dhcp server ip-pool 0
[Sysname-dhcp-pool-0] network 10.1.1.0 mask 255.255.255.0
[Sysname-dhcp-pool-0] domain-name aabbcc.com
[Sysname-dhcp-pool-0] dns-list 10.1.1.2
[Sysname-dhcp-pool-0] quit
# Configure DHCP address pool 1 (address range, gateway, lease duration, and
WINS server).
[Sysname] dhcp server ip-pool 1
[Sysname-dhcp-pool-1] network 10.1.1.0 mask 255.255.255.128
[Sysname-dhcp-pool-1] gateway-list 10.1.1.126
[Sysname-dhcp-pool-1] expired day 10 hour 12
[Sysname-dhcp-pool-1] nbns-list 10.1.1.4
[Sysname-dhcp-pool-1] quit
# Configure DHCP address pool 2 (address range, gateway, and lease duration).
[Sysname] dhcp server ip-pool 2
[Sysname-dhcp-pool-2] network 10.1.1.128 mask 255.255.255.128
[Sysname-dhcp-pool-2] expired day 5
[Sysname-dhcp-pool-2] gateway-list 10.1.1.254
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 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.