How is IP address range increased on an AR

3

When addresses in the address pool are insufficient, use the following 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 changed. The mask on the DHCP client needs to be changed 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 new addresses as that of the secondary IP address.
Automatically allocated addresses are addresses on the new network segment.

Other related questions:
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

How do I modify the address range of the address pool on the AR router
The nat address-group command can be used to configure a NAT address pool. The undo nat address-group command deletes a NAT address pool. To change the IP address range from 10.1.1.1-10.1.1.10 to 10.1.1.1-10.1.1.20, perform the following operations: 1. Delete the existing NAT address pool. [Huawei] undo nat address-group 1 2. Configure the IP address range as 10.1.1.1-10.1.1.20. [Huawei] nat address-group 1 10.1.1.1 10.1.1.20

How is the IP address of an AR queried
Use either of the following methods to view the IP address of a device: - Run the display ip interface brief command to view the IP address information of a device interface, including the IP address, subnet mask, as well as the status of physical link and protocol. - Run the display ip interface command to view detailed information about the number of sent or received packets, bytes, and multicast packets, as well as the number of sent, received, forwarded, and discarded broadcast packets. - Enter the specific interface view and run the display this command to view the IP address of the interface.

How is an IP address configured for an AR interface
You can configure one primary IP address and multiple secondary IP addresses for an interface. The IP address followed by sub is a secondary IP address. If an interface of an AR router is connected to networks in different network segments, you can configure IP addresses of the multiple network segments on the interface as secondary IP addresses. - The commands are as follows: [Huawei] interface gigabitethernet 1/0/0 [Huawei-GigabitEthernet1/0/0] ip address 1.1.1.1 255.255.255.0 //Configure a primary IP address 1.1.1.1/24. [Huawei-GigabitEthernet1/0/0] ip address 2.2.2.1 255.255.255.0 sub //Configure a secondary IP address 2.2.2.1/24. Note: You can configure IP addresses for Layer 3 interfaces only. Some Ethernet interfaces can switch between Layer 2 and Layer 3 modes. For example, Ethernet0/0/0 on AR150&AR200 works in Layer 2 mode by default. Run the undo portswitch command to switch from Layer 2 mode to Layer 3 mode. After an interface is switched to Layer 3 mode, you can configure IP addresses for the interface. The commands are as follows: [Huawei] interface ethernet 0/0/0 [Huawei-Ethernet0/0/0] undo portswitch [Huawei-Ethernet0/0/0] ip address 1.1.1.1 255.255.255.0 [Huawei-Ethernet0/0/0] ip address 1.1.2.1 255.255.255.0 sub

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