Can addresses that cannot be allocated dynamically be used by clients

27

Run the excluded-ip-address start-ip-address [ end-ip-address ] or dhcp server excluded-ip-address start-ip-address [ end-ip-address ] command to configure the IP addresses that cannot be automatically allocated in the DHCP address pool. The IP addresses are used as reserved addresses and can be used when clients use static addresses.

Other related questions:
Check IP addresses dynamically allocated to clients
On S series switches except S1700 switches, you can view IP addresses that have been dynamically assigned to users as follows: - If an interface address pool is used, run the display ip pool interface interface-pool-name used command. - If a global address pool is used, run the display ip pool name ip-pool-name used command. You can obtain the IP address used by each user according to the mapping between IP addresses and MAC addresses in the command output.

How are IP addresses that cannot be dynamically allocated configured on an AR
During network planning, some IP addresses in the address pool may be used by servers or other hosts, or some clients can be configured with specified IP addresses only. In this case, IP addresses cannot be dynamically allocated in the address pool to prevent IP address conflicts. Assume that IP addresses in the range of 10.10.10.11 to 10.10.10.20 cannot be dynamically allocated. The configuration on the AR is as follows: - Based on the interface address pool: [Huawei] dhcp enable [Huawei] interface gigabitethernet 1/0/1 //Enter the view of the AR interface connected to the DHCP client. [Huawei-GigabitEthernet1/0/1] undo portswitch [Huawei-GigabitEthernet1/0/1] ip address 10.10.10.10 24 [Huawei-GigabitEthernet1/0/1] dhcp select interface [Huawei-GigabitEthernet1/0/1] dhcp server excluded-ip-address 10.10.10.11 10.10.10.20 - Based on the global address pool: [Huawei] dhcp enable [Huawei] interface gigabitethernet 1/0/1 ///Enter the view of the AR interface connected to the DHCP client. [Huawei-GigabitEthernet1/0/1] undo portswitch [Huawei-GigabitEthernet1/0/1] ip address 10.10.10.10 24 [Huawei-GigabitEthernet1/0/1] dhcp select global [Huawei-GigabitEthernet1/0/1] quit [Huawei] ip pool global1 [Huawei-ip-pool-global1] network 10.10.10.0 mask 24 [Huawei-ip-pool-global1] excluded-ip-address 10.10.10.11 10.10.10.20

USG6000 LNS allocating a DNS address to the client
The specific content of the DNS address allocated by the USG6000 LNS to the client is as follows: HRP_Asys HRP_A[USG6600]interface Virtual-Template 1 HRP_A[USG6600-Virtual-Template1]ppp ipcp dns 8.8.8.8 HRP_A[USG6600-Virtual-Template1]qu HRP_A[USG6600] Command introduction: ppp ipcp dns Command function: The ppp ipcp dns command is used to configure the DNS server address. The undo ppp ipcp dns command is used to restore the default configuration. Command format: ppp ipcp dns { primary-dns-address [ secondary-dns-address ] | admit-any | request } undo ppp ipcp dns { primary-dns-address [ secondary-dns-address ] | admit-any | request } Parameter description: primary-dns-address specifies the address of the primary DNS server provided for the peer end. The value is in dotted decimal notation. secondary-dns-address specifies the address of the secondary DNS server provided for the peer end. The value is in dotted decimal notation. admit-any specifies any DNS server address provided for the peer end. - request specifies the request sent to the peer end for the DNS server address - View Interface view Default level: 2: Configuration level Use guide: By default, the DNS server address is not configured. Example: #Set the IP address of the primary DNS server obtained from the peer end to 10.2.0.70, and the IP address of the secondary DNS server to 10.2.0.71. system-view [sysname] interface Dialer 0 [sysname-Dialer0] ppp ipcp dns 10.2.0.70 10.2.0.71

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.

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.

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