DHCP
H3C Low-End Ethernet Switches Configuration Examples
Chapter 2 Configuration Examples
2-2
2.1.2 Network Diagram
DHCP Relay
Gateway
DHCP
Client
WINS
Server
DNS
Server
Server
10.214.10.5
002e-8d20-54c6
10.214.10.3
000d-85c7-4e20
10.214.10.4
0013-4ca8-9b71
DHCP
Client1
DHCP
Client2
File Server
10.210.10.4
000d-88f8-4e71
Branch
HQ
IP network
VLAN-int10
VLAN-int100
Figure 2-1
Network diagram for DHCP server configuration
2.1.3 Configuration Procedure
I. Software Version Used
The S3600 Ethernet switches running software version Release 1510 are used in this
example.
II. Configuring DHCP server
z
Configure address allocation for the devices in the HQ.
# Configure the IP address of VLAN-interface10 on the DHCP server in the HQ.
<H3C> system-view
[H3C] interface Vlan-interface 10
[H3C-Vlan-interface10] ip address 10.214.10.1 24
# Configure the interface to operate in the interface address pool mode, assigning the
IP addresses in the 10.214.10.0/24 network segment to the devices in the HQ.
[H3C-Vlan-interface10] dhcp select interface
# Configure the address lease period of the address pool, and configure the IP
addresses of the DNS server and WINS server.
[H3C-Vlan-interface10] dhcp server expired day 2
[H3C-Vlan-interface10] dhcp server dns-list 10.214.10.3