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).
Configuring IP Addresses Not Dynamically Assigned

Configuring IP Addresses Not Dynamically Assigned

You can configure some IP addresses that are not dynamically assigned in the following scenarios:
  • An enterprise requires that the IP addresses assigned to employees' computers should be within the range of 10.1.1.2-10.1.1.254 (gateway address 10.1.1.1). To ensure stability of the DNS server deployed in the enterprise, the server IP address should be manually configured to 10.1.1.10. Therefore, 10.1.1.10 can be configured as an IP address that is not dynamically assigned.
  • Assume that an enterprise assigns the IP addresses 10.1.1.2-10.1.1.100 (gateway address 10.1.1.1) to the clients in department A and 10.1.1.101-10.1.1.254 to those in department B based on the global mode. When the device functions as the DHCP server, create two address pools: pool1 (assigns addresses to hosts in department A) and pool2 (assigns addresses to hosts in department B). The network masks are both 24 for the address pools. Configure 10.1.1.101-10.1.1.254 in pool1 and 10.1.1.1-10.1.1.100 in pool2 as IP addresses that are not dynamically assigned.

Configure the IP addresses that are not dynamically assigned on the device functioning as the DHCP server. For example, in an address pool with a mask length of 24 on the network segment 10.1.1.0, configure 10.1.1.100-10.1.1.200 as IP addresses that are not dynamically assigned.

  • Configuration in the global address pool:

    <HUAWEI> system-view
    [HUAWEI] ip pool pool1
    [HUAWEI-ip-pool-pool1] network 10.1.1.0 mask 24
    [HUAWEI-ip-pool-pool1] gateway-list 10.1.1.1
    [HUAWEI-ip-pool-pool1] excluded-ip-address 10.1.1.100 10.1.1.200
  • Configuration in the interface address pool:

    <HUAWEI> system-view
    [HUAWEI] dhcp enable
    [HUAWEI] interface vlanif 100
    [HUAWEI-Vlanif100] ip address 10.1.1.1 24
    [HUAWEI-Vlanif100] dhcp select interface
    [HUAWEI-Vlanif100] dhcp server excluded-ip-address 10.1.1.100 10.1.1.200
Translation
Download
Updated: 2018-09-03

Document ID: EDOC1000057410

Views: 85004

Downloads: 12115

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