![Huawei Quidway S5600 Operation Manual Download Page 666](http://html.mh-extra.com/html/huawei/quidway-s5600/quidway-s5600_operation-manual_169841666.webp)
Operation Manual - DHCP
Quidway S5600 Series Ethernet Switches-Release 1510
Chapter 2 DHCP Server Configuration
Huawei Technologies Proprietary
2-36
II. Network diagram
LAN
LAN
NetBIOS Server
Client
DNS Server
Client
Client
Client
Client
Client
DHCP Server
Switch A
Switch B
LAN
LAN
NetBIOS Server
Client
DNS Server
Client
Client
Client
Client
Client
DHCP Server
Switch A
Switch B
VLAN-interface1
10.1.1.1/25
VLAN-interface2
10.1.1.129/25
VLAN-interface1
LAN
LAN
NetBIOS Server
Client
DNS Server
Client
Client
Client
Client
Client
LAN
LAN
NetBIOS Server
Client
DNS Server
Client
Client
Client
Client
Client
DHCP Server
Switch A
Switch B
LAN
LAN
NetBIOS Server
Client
DHCP Server
Switch A
Switch B
LAN
LAN
NetBIOS Server
Client
DNS Server
Client
Client
Client
Client
Client
DHCP Server
Switch A
Switch B
VLAN-interface1
10.1.1.1/25
VLAN-interface2
10.1.1.129/25
VLAN-interface1
Figure 2-2
Network diagram for DHCP configuration
III. Configuration procedure
1)
Configure a VLAN and add a port in this VLAN, and then configure the IP address
of the VLAN interface (omitted).
2) Configure
DHCP
service.
# Enable DHCP.
<Quidway> system-view
[Quidway] dhcp enable
# Configure the IP addresses that are not dynamically assigned. (That is, the IP
addresses of the DNS server, WINS server, and gateways.)
[Quidway] dhcp server forbidden-ip 10.1.1.2
[Quidway] dhcp server forbidden-ip 10.1.1.4
[Quidway] dhcp server forbidden-ip 10.1.1.126
[Quidway] dhcp server forbidden-ip 10.1.1.254
# Configure DHCP address pool 0, including address range and DNS server address.
[Quidway] dhcp server ip-pool 0
[Quidway-dhcp-pool-0] network 10.1.1.0 mask 255.255.255.0
[Quidway-dhcp-pool-0] domain-name aabbcc.com
[Quidway-dhcp-pool-0] dns-list 10.1.1.2
[Quidway-dhcp-pool-0] quit
# Configure DHCP address pool 1, including address range, gateway, and lease time.
[Quidway] dhcp server ip-pool 1
[Quidway-dhcp-pool-1] network 10.1.1.0 mask 255.255.255.128
[Quidway-dhcp-pool-1] gateway-list 10.1.1.126
[Quidway-dhcp-pool-1] expired day 10 hour 12
[Quidway-dhcp-pool-1] quit