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).
Assigning Fixed IP Addresses to Clients

Assigning Fixed IP Addresses to Clients

In network planning, some devices need to use fixed IP addresses to ensure stability. For example, the devices can be DNS servers in an enterprise and printers in an office building. A fixed IP address can be statically configured (using the ip address command) or obtained through DHCP. The following is an example of assigning fixed IP addresses to clients through DHCP.

Configure fixed IP addresses to clients on the device functioning as the DHCP server. For example, in an address pool with a mask length of 24 in the network segment 10.1.1.0, configure the IP address 10.1.1.100 to be assigned only to the client with the MAC address dcd2-fc96-e4c0.

  • Configuration in the global address pool:

    <HUAWEI> system-view
    [HUAWEI] ip pool pool1
    [HUAWEI-ip-pool-pool1] static-bind ip-address 10.1.1.100 mac-address dcd2-fc96-e4c0
  • Configuration in the interface address pool:

    <HUAWEI> system-view
    [HUAWEI] interface vlanif 100
    [HUAWEI-Vlanif100] dhcp server static-bind ip-address 10.1.1.100 mac-address dcd2-fc96-e4c0
Translation
Download
Updated: 2018-09-03

Document ID: EDOC1000057410

Views: 89544

Downloads: 12192

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