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.

Other related questions:
Configure DHCP server on S series switch based on the global address pool
If you have more questions, you can seek help from following ways:
To iKnow To Live Chat To Google
Scroll to top