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

S1720GFR, S2700, S5700, and S6720 V200R010C00 Web-based Configuration Guide

This document describes the configuration and maintenance of device through the web network management system. The web network management system provides the functions of viewing device information and managing the entire system, interfaces, services, ACL, QoS, routes, security, and tools.
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 VLANIF Interfaces to Implement Inter-VLAN Communication

Example for Configuring VLANIF Interfaces to Implement Inter-VLAN Communication

Networking Requirements

User hosts of an enterprise use the same services, and are located on different network segments. These user hosts belong to different VLANs and need to communicate with each other.

As shown in Figure 1-277, user 1 and user 2 using the same service belong to different VLANs and different network segments. User 1 and user 2 can communicate through a VLANIF interface.
Figure 1-277  Configuring VLANIF interfaces to implement inter-VLAN communication

Configuration Roadmap

The following configurations are performed on SwitchA. The configuration roadmap is as follows:

  1. Select the routing mode.
  2. Configure the port connected to terminals on internal network.
  3. Configure the port connected to the switch on external network.

Procedure

  1. Choose Configuration > Quick Config. Select Routing for Step 1: Select a mode to open the quick switching mode configuration page, as shown in Figure 1-278.

    Figure 1-278  Configuring quick routing mode

  2. Click Add below Step 2: Configure the port connected to internal network devices, as shown in Figure 1-279.

    Figure 1-279  Configuring the port connected to internal network devices

    Set all configuration items as follows. Then click to finish the configuration. Figure 1-280 displays the configuration result.

    Configure GE0/0/2:

    • Interface Name: GigabitEthernet0/0/2
    • Port Status: ON
    • Allowed VLAN: 2
    • VLAN Gateway Address: 192.168.20.1/255.255.255.0
    • Device Type: PC
    • Address Allocation to Terminals: Click Configuration to choose static allocation.

    Configure GE0/0/3:

    • Interface Name: GigabitEthernet0/0/3
    • Port Status: ON
    • Allowed VLAN: 3
    • VLAN Gateway Address: 192.168.30.1/255.255.255.0
    • Device Type: PC
    • Address Allocation to Terminals: Click Configuration to choose static allocation.
    Figure 1-280  Configuration result for the port connected to internal network devices

  3. Choose GE0/0/4 below Step 3: Configure the port connected to the switch on external network. Set all configuration items, as shown in Figure 1-281.

    • Port Status: ON
    • Link aggregation: OFF
    • Allowed VLAN: 4
    • Connected IP address/mask: 192.168.40.1/255.255.255.0
    • Next hop: 192.168.40.4
    Figure 1-281  Configuring the port connected to the switch on external network

  4. Click Apply. In the dialog box that is displayed, click OK to finish configuration.

    NOTE:

    If router A is connected to public networks, you need to configure a NAT policy on router A to implement translation between public and private IP addresses.

    You also need to configure a subinterface for the inbound interface of router A to remove tags from VLAN packets.

Result

Choose Configuration > Basic Services > VLAN to check the VLAN information, as shown in Figure 1-282.

Figure 1-282  Checking VLAN information

  • Click View Interface next to VLAN ID 2, 3 and 4 to view the interfaces added to each VLAN and their status, as shown in Figure 1-283, Figure 1-284, and Figure 1-285.

    Figure 1-283  Checking the interfaces in VLAN 2

    Figure 1-284  Checking the interfaces in VLAN 3

    Figure 1-285  Checking the interfaces in VLAN 4

Translation
Download
Updated: 2019-04-18

Document ID: EDOC1000114003

Views: 36831

Downloads: 990

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