DHCP excluded addresses on S series switch

14

On an S series switch except an S1700 switch, you can use either of the following methods to configure the range of IP addresses that cannot be assigned to DHCP clients from the IP address pool:
- Run the excluded-ip-address start-ip-address [ end-ip-address ] command in the IP address pool view.
- Run the dhcp server excluded-ip-address start-ip-address [ end-ip-address ] command in the interface view.
The excluded IP addresses are reserved as static IP addresses of DHCP clients.

Other related questions:
Method to lock a DHCP address on an S series switch
For S series switches excluding the S1700, when the DHCP server is deployed again, you need to migrate the address pool on the DHCP server to another DHCP server on the live network. To retain the addresses that have been assigned to clients from a global address pool, run the lock command to lock the global address pool. After the lock command is run, the specified IP address pool is locked and IP addresses in this address pool cannot be assigned to clients. When new users get online after the address pool is migrated, they apply for IP addresses from a new address pool. The configuration is as follows: [HUAWEI] ip pool global1 [HUAWEI-ip-pool-global1] lock

Configure DHCP address pools on S series switch
When functioning as DHCP servers, S series switches (except S1700 switches) support the interface and global address pool configurations. - Interface address pool: The network segment to which the primary IP address of an interface belongs is an interface address pool. The DHCP server allocates IP addresses only on this network segment to clients connected to the interface. - Global address pool: 1. If a switch functioning as the DHCP server is on the same network segment as clients (that is, no DHCP relay agent is configured), the switch allocates IP addresses on the same network segment as the primary IP address of the interface connected to clients. If no primary IP address is configured for the interface or no address pool is on the same network segment as the interface's primary IP address, the clients cannot obtain IP addresses. 2. If a switch functioning as the DHCP server is on a different network segment from a DHCP client (that is, a DHCP relay agent is configured), the DHCP server parses the IP address (primary IP address of the first DHCP relay agent's interface) specified in the giaddr field of a DHCP Request packet, and allocates an IP address on the same network segment as the parsed IP address from an address pool to the client. If no address pool matches the parsed IP addresses, the client cannot obtain an IP address. When configuring address pools, follow the preceding rules to ensure that clients can obtain IP addresses.

Solution to the problem of conflicting DHCP addresses on S series switches
For S series switches excluding the S1700, the IP address obtained by a client conflicts with that of another client. The possible cause is that the IP address of another host has been manually configured and the DHCP server does not delete the IP address from the address pool.

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