How to expand the IP segment on the AR

When addresses in the address pool are insufficient, use the following two methods.
- Increase the mask.
[Huawei] ip pool global1
[Huawei-ip-pool-global1] undo network
[Huawei-ip-pool-global1] network 192.168.0.0 mask 16 //Change the mask from 24-bit mask 255.255.255.0 to 16-bit mask 255.255.0.0.
There are great changes. The mask on the DHCP client needs to be changed manually to 16-bit.
-Create an address pool and configure the primary address of the interface as the address on the network segment.
[Huawei] ip-pool new_p//Create an address pool.
[Huawei-ip-pool-new_p] network 192.168.2.0 mask 255.255.255.0
[Huawei-ip-pool-new_p] quit
[Huawei] interface gigabitethernet1/0/0
[Huawei-GigabitEthernet1/0/0] ip address 192.168.2.1 255.255.255.0//Configure the same network segment of new addresses as that of the primary IP address.
[Huawei-GigabitEthernet1/0/0] ip address 192.168.1.1 255.255.255.0 sub//Configure the same network segment of old addresses as that of the secondary IP address.
Automatically allocated addresses are addresses on the new network segment.

Scroll to top