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 To Google
Scroll to top