l
Ensuring that the link between a DHCP client and the AR150/200 works properly
l
(Optional) Configuring the DNS server
l
(Optional) Configuring the NetBIOS server
l
Configuring the routes destined to the DNS server and the NetBIOS server on the
AR150/200 (The routes can be configured only after the DNS and NetBIOS servers are
configured.)
Data Preparation
To configure a DHCP server based on an interface address pool, you need the following data.
No.
Data
1
Number of the interface on which the interface address pool is enabled, IP address
range and lease, (optional) range of IP addresses that cannot be assigned dynamically,
and (optional) IP and MAC address entries that need to be bound statically
2
(Optional) IP address of the DNS server and domain name of a DHCP client
3
(Optional) IP address of the NetBIOS server and NetBIOS node type of a DHCP
client
4
(Optional) Code of a user-defined DHCP option, and ASCII string, hexadecimal
number, or IP address of the option
6.4.2 Configuring Interface Address Pool Attributes
This section describes how to configure the attributes for an interface address pool, including
IP address lease, IP addresses that cannot be assigned dynamically, and IP addresses that are
bound manually. IP addresses in the interface address pool can be assigned dynamically or bound
manually as required.
Procedure
Step 1
Run:
system-view
The system view is displayed.
Step 2
Run:
dhcp enable
The DHCP service is enabled.
Step 3
Run:
interface
interface-type
interface-number
The interface view is displayed.
On the AR150/200, a Layer 3 Ethernet interface or its sub-interface, a Layer 3 Eth-trunk interface
or its sub-interface, or a VLANIF interface can be configured to select an interface address pool
for IP address allocation.
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.
138