3com S7906E Manuel De Montage

Page de 2621
 
2-20 
Figure 2-3 Network diagram for self-defined option configuration (a switch as the DHCP server) 
Switch A
DHCP server
Switch B
DHCP client
Vlan-int2
10.1.1.1/24
Vlan-int2
 
 
Configuration procedure 
1)  Specify IP addresses for the interfaces (omitted). 
2)  Configure the DHCP server 
# Enable DHCP. 
<SwitchA> system-view 
[SwitchA] dhcp enable 
# 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)  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 DOS window. Type ipconfig/release to 
relinquish the IP address and then ipconfig/renew to obtain another IP address.