Method used to lock a DHCP address pool on the AR

2

When a DHCP server needs to be redeployed, you need to migrate address pools on the DHCP server to another DHCP server on the live network. To retain the addresses that have been assigned to clients from a global address pool, run the lock command to lock the global address pool. After the lock command is run, the specified IP address pool is locked and IP addresses in this address pool cannot be assigned to clients. When new users get online, they apply for IP addresses from a new address pool.
Perform the following configuration:
[Huawei] ip pool global1
[Huawei-ip-pool-global1] lock

Other related questions:
DHCP address lock on S series switch
For S series switches (S1700 switches), when a DHCP server needs to be redeployed, you need to migrate address pools on the DHCP server to another DHCP server on the live network. To retain the addresses that have been assigned to clients from a global address pool, run the lock command to lock the global address pool. After the lock command is run, the specified IP address pool is locked and IP addresses in this address pool cannot be assigned to clients. When new users go online after the address pool migration, they apply for IP addresses from a new address pool. The configuration is as follows: [HUAWEI] ip pool global1 [HUAWEI-ip-pool-global1] lock

Method to lock a DHCP address on an S series switch
For S series switches excluding the S1700, when the DHCP server is deployed again, you need to migrate the address pool on the DHCP server to another DHCP server on the live network. To retain the addresses that have been assigned to clients from a global address pool, run the lock command to lock the global address pool. After the lock command is run, the specified IP address pool is locked and IP addresses in this address pool cannot be assigned to clients. When new users get online after the address pool is migrated, they apply for IP addresses from a new address pool. The configuration is as follows: [HUAWEI] ip pool global1 [HUAWEI-ip-pool-global1] lock

Methods used to configure the excluded IP address on the AR
During network planning, some IP addresses in an address pool may be used by servers or other hosts, or some clients can be configured with specified IP addresses only because of special requirements. In this case, you need to exclude these IP addresses that cannot be automatically allocated from the address pool, preventing IP address conflicts. Assume that IP addresses in the range of 10.10.10.11 to 10.10.10.20 cannot be dynamically allocated. The configuration on the AR is as follows: - Interface address pool [Huawei] dhcp enable [Huawei] interface gigabitethernet 1/0/1 //Enter the view of the interface connected to the DHCP clients. [Huawei-GigabitEthernet1/0/1] undo portswitch [Huawei-GigabitEthernet1/0/1] ip address 10.10.10.10 24 [Huawei-GigabitEthernet1/0/1] dhcp select interface [Huawei-GigabitEthernet1/0/1] dhcp server excluded-ip-address 10.10.10.11 10.10.10.20 - Global address pool [Huawei] dhcp enable [Huawei] interface gigabitethernet 1/0/1 //Enter the view of the interface connected to the DHCP clients. [Huawei-GigabitEthernet1/0/1] undo portswitch [Huawei-GigabitEthernet1/0/1] ip address 10.10.10.10 24 [Huawei-GigabitEthernet1/0/1] dhcp select global [Huawei-GigabitEthernet1/0/1] quit [Huawei] ip pool global1 [Huawei-ip-pool-global1] network 10.10.10.0 mask 24 [Huawei-ip-pool-global1] excluded-ip-address 10.10.10.11 10.10.10.20

How to modify the router AR address pool address range?
AR router can configure the NAT address pool via the "NAT address-group" command. Delete the NAT address pool by executing the "undo NAT address-group" command. If you need to modify the NAT address pool address range 10.1.1.1~10.1.1.10 to 10.1.1.1~10.1.1.20, the specific configuration is as follows: 1 first delete the existing NAT address pool [Huawei] undo address-group NAT 1 2 configure the NAT address pool range of 10.1.1.1~10.1.1.20 [Huawei] NAT address-group 1 10.1.1.1 10.1.1.20

Method used to configure a DHCP server based on the global address pool on USG firewalls
You can configure a DHCP server (only the DHCP part) based on the global address pool on the USG2000, USG5000, and USG6000 as follows: [USG]dhcp server ip-pool 0 //Configure the address pool. [USG-dhcp-0]network 10.1.1.0 mask 255.255.255.0 [USG-dhcp-0]dns-list 10.1.1.2 [USG-dhcp-0]domain-name example.com [USG-dhcp-0]quit [USG]interface GigabitEthernet1/0/1 //Configure the interface address. [USG-GigabitEthernet0/0/1]ip address 10.1.1.1 255.255.255.128 [USG-GigabitEthernet0/0/1]quit [USG]firewall zone trust //Add the interface to the zone. [USG-zone-trust]add interface GigabitEthernet1/0/1

If you have more questions, you can seek help from following ways:
To iKnow To Live Chat
Scroll to top