As shown in Figure 3-16, User A is initially connected to RouterA. Now, it is required that User
A be connected to RouterB. To ensure that User A can still communicate with User C, configure
the assignment of VLANs based on MAC addresses on RouterC. As long as the MAC address
of User A remains unchanged, no configuration needs to be changed for User A to communicate
with User C.
3.3.2 Inter-VLAN Communication
Inter-VLAN communication ensures that different companies can communicate with each other.
The inter-VLAN communication can be classified into two types, as shown as follows:
Multiple VLANs belong to the same Layer 3 device
Figure 3-17 Networking diagram of communications between multiple VLANs on the same
Layer 3 device
L2 Switch
Trunk Link
Router A
CompanyA
VLAN 2
VLAN 3
VLAN 4
CompanyB CompanyC
As shown in Figure 3-17, if VLAN 2, VLAN 3, and VLAN 4 only belong to RouterA, these
VLANs are not VLANs across different switches. In such a situation, you can configure a
VLANIF interface for each VLAN on RouterA to implement the communications between these
VLANs.
The Layer 3 device shown in Figure 3-17 can be a router or a Layer 3 switch.
Huawei AR530&AR550 Series Industrial Switch Routers
Configuration Guide - Ethernet Switching 3 VLAN Configuration
Issue 01 (2014-11-30) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
90