Interface Address Pool-based DHCP Server Configuration 135
The dhcp server forbidden-ip command can be executed repeatedly. That is, you can repeatedly configure IP addresses that are not dynamically assigned to DHCP clients.Configuring DNSServices for DHCPClientsIf a host accesses the Internet through domain names, DNS is needed to translate the domain names into the corresponding IP addresses. To enable DHCP clients to access the Internet through domain names, a DHCP server is required to provide DNS server addresses while assigning IP addresses to DHCP clients. Currently, you can configure up to eight DNS server addresses for a DHCP address pool.You can configure domain names to be used by DHCP clients for address pools. After you do this, the DHCP server provides the domain names to the DHCP clients as well while the former assigns IP addresses to the DHCP clients.
Specify the IP addresses that are not
dynamically assigned
dhcp server
forbidden-ip
low-ip-address [
high-ip-address ]
Optional
By default, all IP addresses in a
DHCP address pool are
available for being dynamically
assigned.

Table123 Configure to assign IP addresses dynamically (continued)

Operation Command Description

Table124 Configure DNS services for DHCP clients

Operation Command Description
Enter system view system-view -
Configure a
domain name for
DHCP clients
Configure for the
current interface
interface
interface-type
interface-number
Required
By default, no domain name is
configured for DHCP clients
dhcp server
domain-name
domain-name
quit
Configure for
multiple interfaces
dhcp server
domain-name
domain-name {
interface
interface-type
interface-number [ to
interface-type
interface-number ] |
all }
Configure DNS
server addresses
for DHCP clients
Configure for the
current interface
interface
interface-type
interface-number
Required
By default, no DNS server address
is configured.
dhcp server dns-list
ip-address&<1-8>
quit
Configure for
multiple interfaces
dhcp server dns-list
ip-address&<1-8> {
interface
interface-type
interface-number [ to
interface-type
interface-number ] |
all }