different switches but belonging to the same VLAN can intercommunicate with
each other.
Work station A can intercommunicate with work station D, and work station B
■
can intercommunicate with work station C, that is, devices connected to
different switches and belonging to different VLANs can intercommunicate
with each other.
Network diagram
Figure 148 Network diagram for Ethernet sub-interface configuration
Internet
Router
Eth3/0.10
Eth3/0.20
1.0.0.1/8
2.0.0.1/8
VLAN 10
VLAN 20
Switch A
Host B
Host A
2.2.2.2/8
1.1.1.1/8
VLAN 20
VLAN 10
Configuration procedure
1 Configure Router:
# Create Ethernet sub-interfaces (Ethernet 3/0.10, Ethernet 3/0.20, Ethernet
4/0.10, and Ethernet 4/0.20) and configure IP addresses for them. Set the
encapsulation type and the related VLAN ID for each sub-interface. Note that the
encapsulation type of an Ethernet sub-interface must be consistent with that of
switch ports.
<Router> system-view
[Router] interface ethernet 3/0.10
[Router-Ethernet3/0.10] ip address 1.0.0.1 255.0.0.0
[Router-Ethernet3/0.10] quit
[Router] interface ethernet 3/0.20
[Router-Ethernet3/0.20] ip address 2.0.0.1 255.0.0.0
[Router-Ethernet3/0.20] quit
[Router] interface ethernet 4/0.10
[Router-Ethernet4/0.10] ip address 3.0.0.1 255.0.0.0
[Router-Ethernet4/0.10] quit
[Router] interface ethernet 4/0.20
[Router-Ethernet4/0.20] ip address 4.0.0.1 255.0.0.0
[Router-Ethernet4/0.20] quit
Eth4/0.20
4.0.0.1/8
Switch B
VLAN 20
Eth4/0.10
3.0.0.1/8
VLAN 10
Host C
3.3.3.3/8
VLAN 10
Sub-interface
Host D
4.4.4.4/8
VLAN 20
531
Need help?
Do you have a question about the MSR 50 Series and is the answer not in the manual?
Questions and answers