H3C S7500 Series Ethernet Switches Operation Manual

Operation Manual – DHCP
H3C S7500 Series Ethernet Switches Chapter 2
DHCP Server Configuration
2-9
DHCP server provides the gateway addresses to DHCP clients as well while
assigning IP addresses to them.
You can configure gateway addresses for address pools on a DHCP server. Currently,
you can configure up to eight gateway addresses for a DHCP address pool.
Follow these steps to configure gateway addresses for DHCP clients:
To do… Use the command… Remarks
Enter system view
system-view
Create a DHCP address
pool and enter DHCP
address pool view
dhcp server ip-pool
pool-name
Required
By default, no global
DHCP address pool is
created
Configure gateway
addresses for DHCP
clients
gateway-list
ip-address&<1-8>
Required
By default, no gateway
address is configured
2.3 Interface Address Pool-Based DHCP Server
Configuration
Caution:
In the interface address pool mode, after the addresses in the interface address pool
have been assigned, the DHCP server picks IP addresses from the global interface
address pool containing the segment of the interface address pool and assigns them
to the DHCP clients. As a result, the IP addresses obtained from global address pools
and those obtained from interface address pools are not in the same network
segment, so the clients cannot interoperate with each other.
In the interface address pool mode, if the IP addresses in the same address pool are
required to be assigned to the clients on the same VLAN interface, the number of
clients that obtain IP addresses automatically cannot exceed the number of the IP
addresses that can be assigned in the interface address pool.
2.3.1 Configuration Overview
An interface address pool is created when the interface is assigned a valid unicast IP
address and you execute the dhcp select interface command in interface view. The
IP addresses contained in it belong to the network segment where the interface
resides and are available to the interface only.