How to assign fixed IP addresses to terminals through the interface address pool on the AR

5

Reserve fixed IP addresses that will be assigned to terminals and manually assign them to terminals.

Other related questions:
How does an AR allocate a fixed IP address to a terminal through interface-based DHCP
Reserve fixed IP addresses that will be assigned to terminals. Then manually assign them to terminals.

Static DHCP binding supported by the AR
All AR models of all versions can allocate fixed IP addresses to clients.

Static DHCP binding configuration on S series switch
In static DHCP binding mode, fixed IP addresses can be assigned to DHCP clients with specific MAC addresses. For example, you can assign fixed IP address 10.10.10.10 to a client with MAC address dcd2-fc96-e4c0 on an S series switch except an S1700 switch: - For a global address pool: [HUAWEI] ip pool 1 //Enter the view of an IP address pool. [HUAWEI-ip-pool-1] static-bind ip-address 10.10.10.10 mac-address dcd2-fc96-e4c0 - For an interface address pool: [HUAWEI] interface vlanif 10 //Enter the view of the interface for which an IP address has been configured. [HUAWEI-Vlanif10] dhcp server static-bind ip-address 10.10.10.10 mac-address dcd2-fc96-e4c0 Note: The configured IP address cannot be the same as the assigned one. If the configured IP address has been assigned, run the reset ip pool { interface pool-name | name ip-pool-name } { start-ip-address [ end-ip-address ] | all | conflict | expired | used } command in the user view to manually reclaim the IP address in an address pool.

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

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