How does an AR used as the DHCP server allocate IP addresses to many DHCP clients

22

When an AR functions as a DHCP server, you can enlarge the address pool range and shorten the lease of IP addresses to allow DHCP clients to quickly connect to and disconnect from the network.

Other related questions:
How is an AR used as the DHCP server enabled to record logs when the DHCP server allocates IP addresses
A Huawei AR records logs when IP addresses are allocated through DHCP. The logs are stored in a non-TXT file. Perform the following configurations: - Interface-based [Huawei] interface gigabitethernet 1/0/0 [Huawei-GigabitEthernet1/0/0] dhcp select interface [Huawei-GigabitEthernet1/0/0] dhcp server logging //Enable the DHCP server to record logs when the DHCP server allocates IP addresses. - Global mode [Huawei] ip pool global [Huawei-ip-pool-global] logging //Enable the DHCP server to record logs when the DHCP server allocates IP addresses.

Method used to configure DHCP relay on the AR
When the DHCP server and DHCP clients are on different network segments, the DHCP relay agent can be configured so that the DHCP server can assign IP addresses to the DHCP clients. Procedure: 1. Configure the router # sysname Router # dhcp enable //Enable the DHCP function. # ip pool ip-pool1 gateway-list 10.10.1.1 //Set the gateway IP address. network 10.10.1.0 mask 255.255.255.128 //Specify the range of IP addresses that can be dynamically allocated in the global address pool. excluded-ip-address 10.10.1.2 //Set the IP address 10.10.1.2 that is not assigned automatically in the address pool. excluded-ip-address 10.10.1.4 //Set the IP address 10.10.1.4 that is not assigned automatically in the address pool. dns-list 10.10.1.2 //Configure the IP address of the DNS server for the DHCP client. nbns-list 10.10.1.4 //Configure the IP address of the NetBIOS server for the DHCP client. lease day 10 hour 12 minute 0 //Set the IP address lease to 10 days and 12 hours. domain-name huawei.com //Set the domain name to huawei.com. static-bind ip-address 10.10.1.5 mac-address fc12-2567-ce34 //Assign a fixed IP address to the PC_AD. # ip pool ip-pool2 gateway-list 10.10.1.129 //Set the gateway IP address. network 10.10.1.128 mask 255.255.255.128 //Specify the range of IP addresses that can be dynamically allocated in the global address pool. dns-list 10.10.1.2 //Configure the IP address of the DNS server for the DHCP client. lease day 5 hour 0 minute 0 //Set the IP address lease to 5 days. domain-name huawei.com //Set the domain name to huawei.com. # interface GigabitEthernet0/0/0 ip address 10.10.1.1 255.255.255.128 dhcp select global //Configure the global address pool mode. # interface GigabitEthernet0/0/1 ip address 10.10.1.129 255.255.255.128 dhcp select global //Configure the global address pool mode. 2. Verify the configuration. Run the display ip pool command on the router to check the IP address pool configuration.

How can the device function as a DHCP server to dynamically allocate IP addresses to multiple DHCP clients
When the device functions as a DHCP server, you can enlarge the address pool range and shorten the lease of IP addresses to allow DHCP clients to quickly connect to and disconnect from the network.

DHCP clients fail to obtain IP addresses from the DHCP server on the AR
The causes that DHCP clients fail to obtain IP addresses from the DHCP server are as follows: - The configuration is incorrect. - There is no allocable IP address in the DHCP address pool. - STP is enabled on upper-level access devices of some diskless workstations. For details on troubleshooting and solutions, see AR150&AR160&AR200&AR510&AR1200&AR2200&AR3200 FAQ.
About the AR ClientExceptions occurs when the IP address is obtained. For details, see the Revelations of Troublesolving on the right page.

DHCP overview
The Dynamic Host Configuration Protocol (DHCP) dynamically configures and uniformly manages network parameters of hosts on a TCP/IP network. DHCP supports both dynamic and static IP address allocation: - Dynamic IP address allocation: allocates an IP address with a validity period (lease) to a client. This mechanism applies to hosts that temporarily connect to a network with fewer IP addresses than the total number of hosts. For example, this mechanism can be used to allocate IP addresses to laptops used by employees on business trips or mobile terminals in cafes. - Static IP address allocation: allocates fixed IP addresses to specified clients. This mechanism applies to hosts with special IP address requirements, for example, the file server of an enterprise that needs to use a fixed IP address to provide services for extranet users. Compared with manual IP address configuration, DHCP static allocation prevents manual configuration errors and helps network administrators in unified maintenance and management. In addition to IP addresses, DHCP can also allocate other network parameters to hosts, including the DNS server address, routing information, and gateway address.

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