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 IPv4 Static Routes

Example for Configuring IPv4 Static Routes

Applicability

This example applies to all AR models of V200R002C01 and later versions.

Networking Requirements

As shown in Figure 6-1, hosts in different network segments are connected through several routers. Every two hosts in different network segments are required to communicate with each other using static routing protocols.

Figure 6-1  Networking diagram of configuring static routes

Procedure

  1. Configure IP addresses for interfaces on the routers.

    The following example describes how to configure an IP address for GE0/0/0 on Router_1. The configurations of other interfaces are similar to that of GE0/0/0 and are not mentioned here.

    1. As shown in Figure 6-2, choose WAN Access > Ethernet Interface to open the Ethernet Interface page.

      Figure 6-2  Ethernet Interface

    2. On the Ethernet Interface page, click on the same line as GigabitEthernet0/0/0 to configure an IP address for GE0/0/0, as shown in Figure 6-3.

      Figure 6-3  Configuring an IP address for GE0/0/0

    3. Click OK to complete the IP address configuration of GE0/0/0 on Router_1.

      Similarly, configure IP addresses for GE0/0/1 on Router_1 and interfaces on Router_2 and Router_3.

      Configure an IP address for GE0/0/1 on Router_1: Set IP address to 10.1.4.1 and Subnet mask to 255.255.255.252.

      Configure IP addresses for interfaces on Router_2.
      • Set Interface name to GigabitEthernet0/0/0, IP address to 10.1.2.1, and Subnet mask to 255.255.255.0.
      • Set Interface name to GigabitEthernet0/0/1, IP address to 10.1.4.2, and Subnet mask to 255.255.255.252.
      • Set Interface name to GigabitEthernet0/0/2, IP address to 10.1.4.5, and Subnet mask to 255.255.255.252.
      Configure IP addresses for interfaces on Router_3.
      • Set Interface name to GigabitEthernet0/0/0, IP address to 10.1.3.1, and Subnet mask to 255.255.255.0.
      • Set Interface name to GigabitEthernet0/0/1, IP address to 10.1.4.6, and Subnet mask to 255.255.255.252.

  2. Configure a default route on Router_1.
    1. As shown in Figure 6-4, choose IP Service > Route > Static Route Configuration.

      Figure 6-4  Static Route Configuration

    2. Click Create in the IPv4 Static Route Configuration Table area to configure a default route on Router_1, as shown in Figure 6-5.

      Figure 6-5  Configuring a default route on Router_1

    3. Click OK to complete the configuration of the default route on Router_1.

      Similarly, configure a static routes from Router_2 and Router_3 to different network segments.

      Configure static routes from Router_2 to different network segments.
      • Set Destination IP address to 10.1.1.0, Subnet mask to 255.255.255.0, and Next hop to 10.1.4.1.
      • Set Destination IP address to 10.1.3.0, Subnet mask to 255.255.255.0, and Next hop to 10.1.4.6.

      Configure a default route on Router_3: Set Destination IP address to 0.0.0.0, Subnet mask to 0.0.0.0, and Next hop to 10.1.4.5.

  3. Verify the configuration.

    # After the preceding configurations are complete, choose IP Service > Route > Routing Table to check information about the IP routing table. The following example is the IP routing table of Router_1, as shown in Figure 6-6.
    Figure 6-6  Configuration result

    PC_1 can communicate with PC_2 and PC_3.

Configuration Notes

  • Configure IP addresses on the same network segment for interfaces that connect two routers together.
  • Configure IP addresses and IPv4 default gateways for hosts.
Translation
Download
Updated: 2019-05-20

Document ID: EDOC1000079722

Views: 50852

Downloads: 7444

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