Method to extend the range of IP addresses assigned by DHCP on S series switches

7

Extending the range of IP addresses assigned by the DHCP on S series switches excluding the S1700 indicates modifying the mask of IP addresses. In addition, the extended addresses cannot conflict with other interface addresses.
For detailed on how to extend the range of IP addresses assigned by DHCP

Other related questions:
Causes for PCs obtain the same IP address through the S series switch
The S series switch is used as the DHCP server to assign IP addresses to PCs: 1. If a DHCP client connects to a network again, the DHCP client broadcasts a DHCP Request packet carrying the IP address that the client has used. The used IP address is added in the Option50 field of packets. After receiving the DHCP Request message, the DHCP server checks whether the lease record exists based on the MAC address in the message. If so, the DHCP server replies with a DHCP ACK message to notify the DHCP client that the requested IP address can be used. If not, the DHCP server waits for a new DHCP Discover message from the client.

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

Methods used to configure the excluded IP address on the AR
During network planning, some IP addresses in an address pool may be used by servers or other hosts, or some clients can be configured with specified IP addresses only because of special requirements. In this case, you need to exclude these IP addresses that cannot be automatically allocated from the address pool, preventing 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: - Interface address pool [Huawei] dhcp enable [Huawei] interface gigabitethernet 1/0/1 //Enter the view of the interface connected to the DHCP clients. [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 - Global address pool [Huawei] dhcp enable [Huawei] interface gigabitethernet 1/0/1 //Enter the view of the interface connected to the DHCP clients. [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

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