
Operation Manual – DHCP
H3C S5600 Series Ethernet Switches
Chapter 2 DHCP Server Configuration
2-35
to communicate with the server directly. The other is to deploy the DHCP server and
DHCP clients in different network segments. In this case, IP address assigning is
carried out through DHCP relay agent. Note that DHCP server configuration is the
same in both scenarios.
2.10.1 DHCP Server Configuration Example
I. Network requirements
z
The DHCP server (Switch A) assigns IP address to clients in subnet 10.1.1.0/24,
which is subnetted into 10.1.1.0/25 and 10.1.1.128/25.
z
The IP addresses of VLAN-interface 1 and VLAN-interface 2 on Switch A are
10.1.1.1/25 and 10.1.1.129/25 respectively.
z
In the address pool 10.1.1.0/25, the address lease duration is ten days and twelve
hours, domain name suffix aabbcc.com, DNS server address 10.1.1.2, gateway
10.1.1.126, and WINS server 10.1.1.4.
z
In the address pool 10.1.1.128/25, the address lease duration is five days, domain
name suffix aabbcc.com, DNS server address 10.1.1.2, and gateway address
10.1.1.254, and there is no WINS server address.
Note:
If you use the inheriting relation of parent and child address pools, make sure that the
number of the assigned IP addresses does not exceed the number of the IP addresses
in the child address pool; otherwise extra IP addresses will be obtained from the parent
address pool, and the attributes (for example, gateway) also are based on the
configuration of the parent address pool.
For example, in the network to which VLAN-interface 1 is connected, if multiple clients
apply for IP addresses, the child address pool 10.1.1.0/25 assigns IP addresses first.
When the IP addresses in the child address pool have been assigned, if other clients
need IP addresses, the IP addresses will be assigned from the parent address pool
10.1.1.0/24 and the attributes will be based on the configuration of the parent address
pool.
For this example, the number of clients applying for IP addresses from VLAN-interface
1 is recommended to be less than or equal to 122 and the number of clients applying for
IP addresses from VLAN-interface 2 is recommended to be less than or equal to 124.