Configuring gateways for the client, Configuring a domain name suffix for the client, Troubleshooting dhcp server configuration – H3C Technologies H3C S12500 Series Switches User Manual

Page 62: Symptom, Analysis, Solution

Advertising
background image

49

[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 800B0000020102030402020202

342B

Verifying the configuration

After the preceding configuration is complete, Switch B can obtain its IP address on 10.1.1.0/24 and the

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.

59B

Troubleshooting DHCP server configuration

209B

Symptom

A client's IP address obtained from the DHCP server conflicts with another IP address.

210B

Analysis

Another host on the subnet might have the same IP address.

211B

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, release the IP address, and obtain
another one on the client. For example, to release the IP address and obtain another one on a

Windows XP DHCP client:

a.

In Windows environment, execute the cmd command to enter the DOS environment.

b.

Enter ipconfig/release to relinquish the IP address.

c.

Enter ipconfig/renew to obtain another IP address.

Advertising