No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

S1720, S2700, S3700, S5700, S6700, S7700, and S9700 Series Switches Common Operation Guide

This document describes the CLI-based configurations of universal protocols and common features for Huawei switches on basic networks.
Rate and give feedback :
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Increasing the Address Pool Range

Increasing the Address Pool Range

You can reduce the mask length of an address pool to increase the address pool range. For example, a DHCP server can assign IP addresses (in an address pool with a mask length of 25) to 126 users. Then 120 users are added to the network and also obtain IP addresses through DHCP. In this case, you need to reduce the mask length of the address pool to 24. Before increasing the address pool range, check whether IP addresses have been assigned to clients. For details, see Checking IP Addresses Used.

NOTE:
  • After the mask length is changed from 25 to 24, 128 new users can be assigned IP addresses.

  • The increased address range cannot conflict with other address ranges on the network.

  • The ratio of the client quantity to the address pool range is planned according to the clients' online status. If all clients (for example, enterprise employees' PCs) are online concurrently, ensure that the number of addresses that can be assigned in the address pool is greater than or equal to the number of clients. If the clients (for example, PCs in public areas such as hotels and Internet cafes) are not online concurrently, the number of addresses that can be assigned in the address pool can be less than the number of clients.

  • If the addresses have not been assigned:

    Reduce the mask length of the address pool on the device functioning as the DHCP server to increase the address pool range.

    • Configuration in the global address pool:

      <HUAWEI> system-view
      [HUAWEI] ip pool pool1
      [HUAWEI-ip-pool-pool1] undo network
      [HUAWEI-ip-pool-pool1] network 10.1.1.0 mask 24  //Adjust the mask length.
    • Configuration in the interface address pool:

      <HUAWEI> system-view
      [HUAWEI] interface vlanif 100
      [HUAWEI-Vlanif100] ip address 10.1.1.1 24  //Adjust the mask length.
      [HUAWEI-Vlanif100] dhcp select interface  //Re-enable the interface address pool function.
  • If the addresses have been assigned:

    On the device functioning as the DHCP server, perform the following operations in sequence to increase the address pool range: withdraw IP addresses (only in the global address pool), configure the function to prevent repetitive IP address allocation, and adjust the mask length of the address pool.

    • Configuration in the global address pool:

      <HUAWEI> reset ip pool name pool1 all  //Withdraw all IP addresses.
      <HUAWEI> system-view
      [HUAWEI] dhcp server ping packet 3  //Enable the function of preventing repetitive IP address allocation.
      [HUAWEI] dhcp server ping timeout 100  //Enable the function of preventing repetitive IP address allocation.
      [HUAWEI] ip pool pool1
      [HUAWEI-ip-pool-pool1] undo network
      [HUAWEI-ip-pool-pool1] network 10.1.1.0 mask 24  //Adjust the mask length.
    • Configuration in the interface address pool:

      <HUAWEI> system-view
      [HUAWEI] dhcp server ping packet 3  //Enable the function of preventing repetitive IP address allocation.
      [HUAWEI] dhcp server ping timeout 100  //Enable the function of preventing repetitive IP address allocation.
      [HUAWEI] interface vlanif 100
      [HUAWEI-Vlanif100] ip address 10.1.1.1 24  //Adjust the mask length.
      [HUAWEI-Vlanif100] dhcp select interface  //Re-enable the interface address pool function.
Translation
Download
Updated: 2018-09-03

Document ID: EDOC1000057410

Views: 84560

Downloads: 12107

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next