are bound manually. IP addresses in the global 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:
ip pool ip-pool-name
The view of the global address pool is displayed.
By default, no global address pool is created on the AR150/200.
Step 3 Run:
network ip-address [ mask { mask | mask-length } ]
The range of dynamically assignable IP addresses in the global address pool is configured.
Only one address segment can be specified for an address pool. A mask can be used to set the
address range of the address pool.
NOTE
When configuring the range of dynamically assignable IP addresses in the global address pool, ensure that the
range is that same as the network segment on which the DHCP server interface address or the DHCP relay agent
interface address resides. This avoids incorrect assignment of IP addresses.
Step 4 (Optional) Run:
lease { day day [ hour hour [ minute minute ] ] | unlimited }
An IP address lease is configured.
By default, the IP address lease is one day.
The DHCP server can specify different IP address leases for different address pools. All IP
addresses in an address pool must have the same lease.
Step 5 (Optional) Run:
excluded-ip-address start-ip-address [ end-ip-address ]
The range of the IP addresses that cannot be dynamically assigned in the global address pool is
configured.
If an IP address has been assigned to a server, such as a DNS server, it cannot be assigned to a
DHCP client. You can run the excluded-ip-address command for one time to configure an IP
address that cannot be assigned dynamically. Running the excluded-ip-address command
multiple times specifies multiple IP addresses that cannot be dynamically assigned.
Step 6 Run:
gateway-list ip-address &<1-8>
The IP address of the gateway for the DHCP client is configured.
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.
131