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 Typical Configuration Examples

AR100, AR120, AR150, AR160, AR200, AR1200, AR2200, AR3200, and AR3600

This document provides examples for configuring AR router features in typical usage scenarios.
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).
Example for Configuring the Device as the DHCP Server to Dynamically Assign IP Addresses to Users

Example for Configuring the Device as the DHCP Server to Dynamically Assign IP Addresses to Users

Applicability

This example applies to all AR routers of all versions.

Networking Requirements

As shown in Figure 5-1, the router functions as the DHCP server to dynamically assign IP addresses to clients on the network segment 10.10.1.0/24. This network segment consists of two subnet segments: 10.10.1.0/25 and 10.10.1.128/25. The IP addresses of GE0/0/1 and GE0/0/2 on the router are 10.10.1.1/25 and 10.10.1.129/25, respectively. On the network segment 10.10.1.0/25, the IP address lease is 10 days and 12 hours, the DNS server address is 10.10.1.2, the NetBIOS server address is 10.10.1.4, and the egress gateway address is 10.10.1.1. On the network segment 10.10.1.128/25, the IP address lease is 5 days, the DNS server address is 10.10.1.2, no NetBIOS server address is configured, and the egress gateway address is 10.10.1.129.

Figure 5-1  Networking diagram for configuring the DHCP server

Procedure

  1. Configure IP addresses for interfaces.
    1. Log in to the web platform and choose WAN Access > Ethernet Interface. The Ethernet Interface page is displayed, as shown in Figure 5-2.

      Figure 5-2  Ethernet Interface

    2. In the Ethernet Interface List area, click next to GigabitEthernet0/0/1 and configure an IP address for the interface, as shown in Figure 5-3.

      Figure 5-3  Modify Ethernet Interface

    3. Click OK.

      Configure the IP address 10.10.1.129 and subnet mask 255.255.255.128 for GE0/0/2 in the same way.

  2. Configure the device as the DHCP server to dynamically assign IP addresses to users on the network segment 10.10.1.0/24.
    1. Choose IP Service > DHCP. The DHCP Configuration page is displayed, as shown in Figure 5-4. In the Global Settings area, select Start and click Apply to enable DHCP globally.

      Figure 5-4  DHCP Configuration

    2. In the DHCP Service Information List(IPv4) area, click Create. In the Create DHCP Service dialog box that is displayed, configure GE0/0/1 to dynamically assign IP addresses to PCs on the network segment 10.10.1.1/25, as shown in Figure 5-5.

      Figure 5-5  Create DHCP Service

    3. Click OK.
    4. In the DHCP Service Information List(IPv4) area, click Create. In the Create DHCP Service dialog box that is displayed, configure GE0/0/2 to dynamically assign IP addresses to PCs on the network segment 10.10.1.129/25, as shown in Figure 5-6.

      Figure 5-6  Create DHCP Service

    5. Click OK.
  3. Verify the configuration.

    # After the configuration is complete, a list is displayed in the DHCP Service Information List(IPv4) area, as shown in Figure 5-7.

    Figure 5-7  DHCP Service Information List(IPv4)

    # In the IPv4 Online User Information page, you can view IP addresses assigned to interfaces, as shown in Figure 5-8.

    Figure 5-8  IPv4 Online User Information

Translation
Download
Updated: 2019-05-20

Document ID: EDOC1000079722

Views: 51587

Downloads: 7481

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