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

Web-based Configuration Guide

AR650, AR1600, and AR6100 V300R003

This document describes how to configure and maintain your routers using the web platform.
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).
DHCP Configuration

DHCP Configuration

Context

The Dynamic Host Configuration Protocol (DHCP) dynamically assigns IPv4 addresses to users and manages user configurations in a centralized manner.

The Dynamic Host Configuration Protocol for IPv6 (DHCPv6) assigns IPv6 addresses, prefixes, and other network configuration parameters to hosts.

An interface that is assigned an IPv4 or IPv6 address and enabled with DHCP can assign IPv4 or IPv6 addresses to its connected terminals. DHCP helps centrally manage terminals.

A device can be configured as a DHCP server based on an interface address pool to assign dynamically IPv4 or IPv6 addresses to users. The addresses are on the network segment to which user interface addresses belong. The interface can be a Layer 3 physical interface or a logical interface such as a VLANIF interface. For the interface-related operations, see Physical Interface and VLAN Interface.

Procedure

  • Creating the DHCP service (IPv4)
    1. Log in to the web platform and choose IP Service > DHCP > DHCP Configuration, as shown in Figure 13-1.

      Figure 13-1  DHCP Configuration page

    2. Set DHCP status to Enabled and click Apply. DHCP is globally enabled.
    3. Click Create in the DHCP Service Information List(IPv4) area, and set DHCP service parameters in the Create DHCP Service dialog box that is displayed. Table 13-1 describes the parameters.

    4. Click OK.

      Table 13-1  DHCP service parameters

      Parameter

      Description

      Interface name

      Name of the interface mapping the interface address pool on a DHCP server. The DHCP server can assign the IP addresses on the network segment to which the interface IP address belongs.

      DHCP mode

      DHCP mode on the interface. The options are as follows:
      • Server: The DHCP server can assign the IP addresses on the network segment to which the interface IP address belongs.

      • Relay: DHCP relay is enabled on the interface. When the interface works in DHCP relay mode, the IP address of the destination DHCP server must be specified.

      Gateway IP address

      Gateway IP address of DHCP clients. The system specifies the interface IP address as the gateway IP address.

      Subnet mask

      Subnet mask of the IP address assigned to a DHCP client. The system specifies the interface subnet mask as the subnet mask assigned to the DHCP client. The gateway IP address and subnet mask identify the range of the address pool on an interface.

      DNS service

      DNS server address assigned to DHCP clients. When DHCP clients use domain names to access network services, configure the IP address of the DNS server. Ensure that the route between the DNS server and the DHCP server is reachable. Set the IP address of the DNS server in either of the following ways:
      • Use system DNS setting: DHCP server uses the default gateway IP address as the IP address of the DNS server.
      • Specify: Directly specify the IP address of the DNS server.

      Primary DNS server

      Primary DNS server address assigned to DHCP clients. When DNS service is set to Specify, set this parameter.

      Secondary DNS server

      Secondary DNS server address assigned to DHCP clients. When the primary DNS server fails to perform domain name resolution, the DHCP client sends a domain name resolution request to the secondary DNS server.

      Lease

      IP address lease of DHCP clients, that is, duration during which IP addresses assigned to DHCP clients take effect.

      Set this parameter based on the duration during which DHCP clients of the interface address pool are connected to the network. For example, set a short lease, such as 8 hours, for wireless clients that frequently connect to and disconnect from the wireless network. Set a long lease even a permanent lease for stable clients.

      Primary WINS server

      Primary WINS server address assigned to DHCP clients. DHCP clients running the Windows operating system use the Network Basic Input Output System (NetBIOS) protocol for communication. The NetBIOS server translates host names to IP addresses for the clients. The resolution of the NetBIOS name to an IP address is done locally, by broadcasts, or by a WINS server. Ensure that the route between the primary WINS server and the DHCP server is reachable.

      Secondary WINS server

      Secondary WINS server address assigned to DHCP clients. When the primary WINS server fails to perform NetBIOS name resolution, the DHCP client sends a NetBIOS name resolution request to the secondary WINS server. Ensure that the route between the secondary WINS server and the DHCP server is reachable.

      Reserved IP

      IP address that will not be dynamically assigned. When IP addresses are assigned to other servers such as DNS servers, the IP addresses cannot be assigned to DHCP clients. Specify these IP addresses as reserved IP addresses. This operation avoids IP address conflicts and shortens the IP address detection time during IP address assignment, which improves DHCP efficiency. Perform the following operation to create or delete a reserved IP address (segment):
      • Creating a reserved IP address: Enter the start and end IP addresses and click . To create multiple reserved IP addresses or IP address segments, repeat this operation.
      • Deleting a reserved IP address: Select the check box of a reserved IP address or select the check box next to Start IP Address, and click .

      Start IP Address

      Start IP address that will not be dynamically assigned. When the start IP address is assignable, the configuration takes effect.

      End IP Address

      End IP address that will not be dynamically assigned. The end IP address must be in the same network segment with the start IP address. When the end IP address is assignable, the configuration takes effect. If no end IP address is assigned or the end IP address is the same as the start IP address, only the start IP address is reserved.

      Static IP address binding

      Binding between assignable IP addresses and MAC addresses of the clients. When receiving a request for applying for an IP address from a client matching the MAC address, the DHCP server assigns the fixed IP address bound to the client's MAC address to this client. Perform the following operation to create or delete a static IP address entry:

      • Creating a static IP address binding entry: Enter the IP address and MAC address to bind and click . To create multiple static IP address binding entries, repeat this operation.
      • Deleting a static IP address binding entry: Select the check box of a static IP address binding entry or select the check box next to Static IP address binding, and click .

      Statically Bound IP

      IP address to be bound to a MAC address. When the IP address is assignable, the configuration takes effect.

      Statically Bound MAC

      MAC address of a host.

  • Creating the DHCP service (IPv6)
    1. Log in to the web platform and choose IP Service > DHCP > DHCP Configuration.
    2. Set DHCP status to Enabled and click Apply. DHCP is globally enabled.
    3. Click Create in the DHCP Service Information List(IPv6) area, and set DHCP service parameters in the Create DHCP Service dialog box that is displayed. Table 13-2 describes the parameters.

    4. Click OK.

      Table 13-2  DHCP service parameters

      Parameter

      Description

      Interface name

      Name of the interface mapping the interface address pool on a DHCPv6 server. The DHCPv6 server can assign the IPv6 addresses on the network segment to which the interface IP address belongs.

      DHCP mode

      DHCP mode on the interface. The options are as follows:
      • Server: The DHCPv6 server can assign the IPv6 addresses on the network segment to which the interface IP address belongs.

      • Relay: DHCPv6 relay is enabled on the interface. When the interface works in DHCPv6 relay mode, the IPv6 address of the destination DHCPv6 server must be specified.

      Address prefix

      Network prefix of the interface IPv6 address, which identifies a network segment. The clients can obtain IPv6 addresses on this network segment. The value is in the X:X::X:X/M format, for example, 2001::1/64. You must specify this parameter when clients need to obtain IPv6 addresses from the DHCPv6 server.

      Address prefix lease

      Lease of the IP addresses assigned to DHCPv6 clients. You must specify this parameter when clients need to obtain IPv6 addresses from the DHCPv6 server.

      Set this parameter based on the duration during which DHCPv6 clients are connected to the network. For example, set a short lease, such as 8 hours, for wireless clients that frequently connect to and disconnect from the wireless network. Set a long lease for stable clients.

      PD prefix

      Address prefix (network segment) assigned to a DHCPv6 client. The value is in the X:X::X:X/M format, for example, 2001::/62. You must specify this parameter when clients need to obtain IPv6 address prefixes from the DHCPv6 server.

      Allocable prefix length

      Length of the address prefix assigned to a DHCPv6 client. The value of this parameter must be greater than or equal to the value of PD prefix, and the difference between them must be smaller than or equal to 16. You must specify this parameter when clients need to obtain IPv6 address prefixes from the DHCPv6 server.

      PD prefix lease

      Lease of the IP address prefixes assigned to DHCPv6 clients.

      Primary DNS server

      Primary DNS server IPv6 address assigned to DHCPv6 clients.

      Secondary DNS server

      Secondary DNS server IPv6 address assigned to DHCPv6 clients. When the primary DNS server fails to perform domain name resolution, the DHCPv6 client sends a domain name resolution request to the secondary DNS server.

      DNS server domain name

      Domain name suffix assigned to a DHCPv6 client.

      SIP server

      Session Initiation Protocol (SIP) server IPv6 address assigned to DHCPv6 clients.

      SNTP server

      Simple Network Time Protocol (SNTP) server IPv6 address assigned to DHCPv6 clients.

  • Modifying the DHCP service
    1. Log in to the web platform and choose IP Service > DHCP > DHCP Configuration.
    2. Select the DHCP configuration in the DHCP Service Information List(IPv4) or DHCP Service Information List(IPv6) area, and click .
    3. In the Change DHCP Service dialog box that is displayed, modify parameters listed in Table 13-1 for IPv4 or Table 13-2 for IPv6.
    4. Click OK.
  • Deleting the DHCP service
    1. Log in to the web platform and choose IP Service > DHCP > DHCP Configuration.
    2. Select the check box of the DHCP configuration in the DHCP Service Information List(IPv4) or DHCP Service Information List(IPv6) area and click Delete.
    3. In the dialog box that is displayed, click OK.
Download
Updated: 2019-04-12

Document ID: EDOC1100041803

Views: 31295

Downloads: 71

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