#
return
3.12.7 Example for Implementing Communication Between VLANs
Through Sub-interfaces
Configuring sub-interfaces enables users in different VLANs and network segments to
communicate with each other.
Networking Requirements
Departments of an enterprise are located on different network segments and use same services
such as Internet access and VoIP. Departments in different VLANs need to use the same service,
so communication between VLANs must be implemented.
As shown in Figure 3-16, department 1 and department 2 use the same service but belong to
different VLANs and are located on different network segments. Users in department 1 and
department 2 need to communicate with each other.
Figure 3-16 Networking diagram for implementing communication between VLANs through
sub-interfaces
Switch
GE1/0/1.1
10.10.10.1/24
GE1/0/2.1
20.20.20.1/24
SwitchA
SwitchB
PC1
VLAN 20
20.20.20.2/24
PC2
Department2
VLAN 10
Department1
10.10.10.2/24
Configuration Roadmap
The configuration roadmap is as follows:
1. Set the encapsulation mode of GE interfaces to 802.1Q.
2. Specify the VLANs that the GE interfaces belong to.
3. Set the IP addresses of the GE interfaces.
Data Preparation
To complete the configuration, you need the following data:
Quidway S7700 Smart Routing Switch
Configuration Guide - Ethernet 3 VLAN Configuration
Issue 01 (2011-07-15) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
135