Operation Manual - DHCP
Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 2 DHCP Server Configuration
Huawei Technologies Proprietary
2-37
II. Network diagram
LANLAN
NetBIOS Server Client
DNS Server
Client
ClientClient
Client
Client
DHCP ServerSwitch A Switch B
LANLAN
NetBIOS Server Client
DNS Server
Client
ClientClient
Client
Client
DHCP ServerSwitch A Switch B
VLAN-interface1
10.1.1.1/25
VLAN-interface2
10.1.1.129/25
VLAN-interface1
LANLAN
NetBIOS Server Client
DNS Server
Client
ClientClient
Client
Client
LANLAN
NetBIOS Server Client
DNS Server
Client
ClientClient
Client
Client
DHCP ServerSwitch A Switch B
LANLAN
NetBIOS Server Client
DHCP ServerSwitch A Switch B
LANLAN
NetBIOS Server Client
DNS Server
Client
ClientClient
Client
Client
DHCP ServerSwitch 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