![Huawei Quidway S5600 Operation Manual Download Page 678](http://html.mh-extra.com/html/huawei/quidway-s5600/quidway-s5600_operation-manual_169841678.webp)
Operation Manual - DHCP
Quidway S5600 Series Ethernet Switches-Release 1510
Chapter 3 DHCP Relay Configuration
Huawei Technologies Proprietary
3-11
the DHCP clients and the DHCP server are forwarded by the DHCP relay, through
which the DHCP clients can obtain IP addresses and related configuration information
from the DHCP server.
II. Network diagram
Ethernet
Ethernet
Internet
DHCP client
DHCP client
Sw itch ( DHCP relay )
10.110.0.0
DHCP server
202.38.1.2
10.110.1.1
202.38.0.0
202.38.1.1
Ethernet
Ethernet
Internet
DHCP client
DHCP client
Sw itch ( DHCP relay )
10.110.0.0
DHCP server
202.38.1.2
10.110.1.1
202.38.0.0
202.38.1.1
Figure 3-2
Network diagram for DHCP relay
III. Configuration procedure
# Enter system view.
<Quidway> system-view
# Enable DHCP.
[Quidway] dhcp enable
# Create DHCP server group 1 and configure an IP address of 202.38.1.2 for it.
[Quidway] dhcp-server 1 ip 202.38.1.2
# Map VLAN 2 interface to DHCP server group 1.
[Quidway] interface Vlan-interface 2
[Quidway-Vlan-interface2] dhcp-server 1
# Configure an IP address for VLAN 2 interface, so that this interface is on the same
network segment with the DHCP clients.)
[Quidway-Vlan-interface2] ip address 10.110.1.1 255.255.0.0
Note:
You need to perform corresponding configurations on the DHCP server to enable the
DHCP clients to obtain IP addresses from the DHCP server. The DHCP server
configurations vary with different DHCP server devices, so the configurations are
omitted.