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 NAT Server to Enable an Internal Server to Provide WWW Services to External Users

Example for Configuring NAT Server to Enable an Internal Server to Provide WWW Services to External Users

Applicability

This example applies to all AR routers of all versions.

Networking Requirements

As shown in Figure 2-27, an enterprise's internal server provides www services to external users. The server's private IP address is 192.168.1.2/24 and public IP address is 1.1.1.3/24. You can configure NAT server on the router to implement the conversion between private and public IP addresses so that external users can access the www server using the server's public IP address. The IP addresses of GE0/0/1 and GE0/0/2 are 192.168.1.1/24 and 1.1.1.2/24, respectively. GE0/0/2 connects to a remote carrier-side interface with the IP address 1.1.1.1/24.

Figure 2-27  Networking diagram for configuring NAT 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 2-28.

      Figure 2-28  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 2-29.

      Figure 2-29  Modify Ethernet Interface

    3. Click OK.

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

  2. Configure NAT server on the router to implement the conversion between private and public IP addresses so that external users can access the www server using the server's public IP address.
    1. Choose IP Service > NAT > Internal Server. The Internal Server page is displayed, as shown in Figure 2-30.

      Figure 2-30  Internal Server

    2. Click Create, and configure NAT server in the Create Internal Server dialog box that is displayed, as shown in Figure 2-31.

      Figure 2-31  Create Internal Server

    3. Click OK.
  3. Configure a default route to ensure that the outbound interface has a reachable route to the remote interface.
    1. Choose IP Service > Route > Static Route Configuration. The Static Route Configuration page is displayed, as shown in Figure 2-32.

      Figure 2-32  Static Route Configuration

    2. In the IPv4 Static Route Configuration Table area, click Create, and configure a default route in the Create IPv4 Static Route Service dialog box that is displayed, as shown in Figure 2-33.

      Figure 2-33  Create IPv4 Static Route Service

    3. Click OK.
  4. Verify the configuration.

    # After the configuration is complete, a configuration list is displayed, as shown in Figure 2-34. External users can access the www server using the server's public IP address.

    Figure 2-34  Internal Server

Translation
Download
Updated: 2019-05-20

Document ID: EDOC1000079722

Views: 54947

Downloads: 7597

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