How is global address pool modified on an AR

0

A Huawei AR allows the global address pool to be changed using command lines. Assume that the global address pool is on the network segment 10.1.1.0/24 and the network segment needs to be changed to 10.1.2.0/24. Perform the following configurations:
[Huawei] ip pool pool1
[Huawei-ip-pool-pool1] undo network //Delete the original network segment.
[Huawei-ip-pool-pool1] network 10.1.2.0 mask 255.255.255.0 //Configure the current network segment.

Other related questions:
Number of global address pools supported by the AR
Hi, I cannot answer this question. For details about product specifications, dial 4008229999.

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

Configure a DHCP global address pool
Configure a DHCP global address pool on a CE series switch as follows:
<HUAWEI> system-view
[~Huawei] dhcp enable //Enable DHCP globally.
[*Huawei] commit
[~Huawei] ip pool pool1 //Create a global address pool and enter its view.
[*Huawei-ip-pool-pool1] gateway-list 10.1.1.1 //Configure the egress gateway address for the global address pool of a DHCP server.
[*Huawei-ip-pool-pool1] network 10.1.1.0 mask 255.255.255.128 //Configure the range of IP addresses that can be allocated dynamically from a global address pool.
[*Huawei-ip-pool-pool1] dns-list 10.1.1.2 //Configure an IP address for the DNS server used by DHCP clients.
[*Huawei-ip-pool-pool1] excluded-ip-address 10.1.1.2 //Configure an IP address that cannot be automatically allocated from the global address pool.
[*Huawei-ip-pool-pool1] lease day 10 //Configure a lease for the IP address.
[*Huawei-ip-pool-pool1] commit
[~Huawei-ip-pool-pool1] quit

Configure the DHCP server based on the global address pool on the AR
An IP address pool is created in the system view on a DHCP server. In the interface view, the server is configured to allocate IP addresses, gateway addresses, and DNS server addresses to clients based on the global address pool. This mode applies to the scenario where the DHCP server and clients are on different network segments (a DHCP relay agent exists), or the DHCP server and clients are on the same subnet but the server needs to assign IP addresses to the clients connected to multiple interfaces. Perform the following configuration: [Huawei] dhcp enable //Enable the DHCP function. [Huawei] ip pool pool1 //Configure a global address pool. [Huawei-ip-pool-pool1] network 10.1.1.0 mask 255.255.255.0 //Specify the range of IP addresses that can be dynamically allocated. [Huawei-ip-pool-pool1] gateway-list 10.1.1.1 // Set the gateway IP address. [Huawei-ip-pool-pool1] quit [Huawei] interface ethernet 1/0/0 //Enter the view of the interface of the DHCP server connected to the client. [Huawei-Ethernet1/0/0] undo portswitch //Switch the interface to Layer 3 mode. [Huawei-Ethernet1/0/0] ip address 10.1.1.1 255.255.255.0 //Configure the same subnet as the address pool. [HUAWEI-Vlanif100] dhcp select global // Enable the DHCP server to assign IP addresses to clients from the global address pool.

Check address allocation on S series switch
On S series switches except S1700 switches, you can view information about IP addresses in an address pool as follows: - If an interface address pool is used, run the display ip pool [ interface interface-pool-name [ start-ip-address [ end-ip-address ] | all | conflict | expired | used ] ] command. - If a global address pool is used, run the display ip pool [ name ip-pool-name [ start-ip-address [ end-ip-address ] | all | conflict | expired | used ] ] command. You can configure fields in the command as required: - To view information about all IP addresses in an address pool, specify all. - To view information about conflicting IP addresses in an address pool, specify conflict. - To view information about expired and idle IP addresses in an address pool, specify expired. - To view information about used IP addresses in an address pool, specify used. - To view information about a specific IP address or an IP address range in an address pool, specify start-ip-address [ end-ip-address ].

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