NOTE
If the static DNS, NetBIOS, and domain name are available in the address pool, use the static configurations.
Procedure
Step 1 Run:
system-view
The system view is displayed.
Step 2 Run:
interface interface-type interface-number
The interface view is displayed.
Interfaces on the AR150/200 that can work in the interface address pool mode are Ethernet
interfaces and sub-interfaces, Eth-trunk interfaces and sub-interfaces, and VLANIF interfaces.
Step 3 Run:
dhcp select interface
DHCP is enabled on the interface.
Step 4 Run:
dhcp server import all
The DHCP client is dynamically allocated the DNS and NetBIOS configurations.
----End
6.4.4 (Optional) Configuring the Static DNS Service on a DHCP
Client
This section describes how to specify the DNS domain name used by the DHCP client on the
network and the IP address of the DNS server.
Context
When a host accesses the Internet through the domain name, the domain name needs to be
resolved to the IP address. This is implemented by the DNS. To ensure that a DHCP client can
successfully connect to the Internet, the DHCP server needs to specify the DNS server address
when allocating the IP address to the client.
Procedure
Step 1 Run:
system-view
The system view is displayed.
Step 2 Run:
interface interface-type interface-number
The interface view is displayed.
Huawei AR150&200 Series Enterprise Routers
Configuration Guide - IP Service 6 DHCP Configuration
Issue 02 (2012-03-30) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
140