Virtual local Area network VLAN
a Experimental topologies (using the simulator GNS3 )
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/5B/41/wKiom1UC1nCwI5wgAADtERJv3wA282.jpg "title=" 1.png " alt= "Wkiom1uc1ncwi5wgaadterjv3wa282.jpg"/>
two Experimental Requirements
PC1 and the PC3 belongs to the finance Department
PC2 and the PC5 belongs to the finance Department
PC4 and the PC6 belongs to the finance Department
Guarantee Different VLAN cannot be accessed between
three Experimental Steps
IP Address Planning
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/5B/41/wKiom1UC1o-TUxdUAAIDIjPo244338.jpg "title=" 2.png " alt= "Wkiom1uc1o-tuxduaaidijpo244338.jpg"/>
Note Note that there are no errors in the interface between the host and the route when building the topology
R1 is configured as follows
R1 (config) #no IP routing \ \ shutdown routing feature
R1 (config) #vlan 2 \ \ plus VLAN
R1 (Config-vlan) #name Caiwu \ \ Modify name
R1 (Config-vlan) #vlan 3
R1 (Config-vlan) #name Xiaoshou
R1 (config) #vlan 4
R1 (Config-vlan) #name Shengchan
R1 (config) #int FA1/1
R1 (config-if) #switchport mode access
R1 (config-if) #switchport access VLAN 2 \ \ Add ports to VLAN
R1 (config) #int fa1/2
R1 (config-if) #switchport mode access
R1 (config-if) #switchport Access VLAN 3
R1#show Vlan-s Brief
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/5B/41/wKiom1UC1qTRfiHbAADF1DD2PcU507.jpg "title=" 3.png " alt= "Wkiom1uc1qtrfihbaadf1dd2pcu507.jpg"/>
R1#conf T
R1 (config) #int vlan 1
R1 (config-if) #ip add 192.168.100.1255.255.255.0
R1 (config-if) #no shut
R1 (config) #int fa1/0
R1 (config-if) #switchport mode trunk
R1 (config-if) #switchport trunkencapsulation dot1q \ \ set up a relay port
r1#show int f1/0 Switchport
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/5B/41/wKiom1UC1svzC_DcAAFXwJS5iT4026.jpg "title=" 4.png " alt= "Wkiom1uc1svzc_dcaafxwjs5it4026.jpg"/>
R2 is configured as follows
R2 (config) #vlan 2
R2 (Config-vlan) #name Caiwu
R2 (Config-vlan) #vlan 4
R2 (Config-vlan) #name Shengchan
R2 (config) #vlan 3
R2 (Config-vlan) #name Xiaoshou
R2 (config) #int fa1/2
R2 (config-if) #switchport mode access
R2 (config-if) #switchport Access VLAN 2
R2 (config-if) #exit
R2 (config) #int FA1/3
R2 (config-if) #switchport mode access
R2 (config-if) #switchport Access VLAN 4
R2#show Vlan-s Brief
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/5B/41/wKiom1UC1u3yRzesAADCBmRXDqE564.jpg "title=" 5.png " alt= "Wkiom1uc1u3yrzesaadcbmrxdqe564.jpg"/>
R2#conf T
R2 (config) #int vlan 1
R2 (config-if) #ip add 192.168.100.2255.255.255.0
R2 (config-if) #no shut
R2 (config) #int fa1/0
R2 (config-if) #switchport mode trunk
R2 (config-if) #switchport trunkencapsulation dot1q
R2 (config-if) #exit
R2 (config) #int FA1/1
R2 (config-if) #switchport mode trunk
R2 (config-if) #switchport trunkencapsulation dot1q
R2 (config-if) #do Show int FA1/1 switchport
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/5B/41/wKiom1UC1vzTq7rMAAG_Rl5S4_0162.jpg "title=" 6.png " alt= "Wkiom1uc1vztq7rmaag_rl5s4_0162.jpg"/>
R2 (config-if) #do Show int fa1/0 switchport
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/5B/3C/wKioL1UC2DDjQnBNAAFouCmOhzQ235.jpg "title=" 7.png " alt= "Wkiol1uc2ddjqnbnaafoucmohzq235.jpg"/>
R3 is configured as follows
R3 (config) #vlan 3
R3 (Config-vlan) #name Xiaoshou
R3 (Config-vlan) #vlan 4
R3 (Config-vlan) #name Shengchan
R3 (config) #vlan 2
R3 (Config-vlan) #name Caiwu
R3 (Config-vlan) #exit
R3 (config) #int fa1/2
R3 (config-if) #switchport mode access
R3 (config-if) #switchport Access VLAN 3
R3 (config-if) #exit
R3 (config) #int FA1/3
R3 (config-if) #switchport mode access
R3 (config-if) #switchport Access VLAN 4
R3#show Vlan-s Brief
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/5B/41/wKiom1UC1x3CINSQAAC9rnnYnOM789.jpg "title=" 8.png " alt= "Wkiom1uc1x3cinsqaac9rnnynom789.jpg"/>
R3#conf T
R3 (config) #int vlan 1
R3 (config-if) #ip add 192.168.100.3255.255.255.0
R3 (config-if) #no shut
R3 (config) #int FA1/1
R3 (config-if) #switchport mode trunk
R3 (config-if) #switchport trunkencapsulation dot1q
r3#show int F1/1 Switchport
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/5B/41/wKiom1UC1zTgU9LmAAHdRZkTttc383.jpg "title=" 9.png " alt= "Wkiom1uc1ztgu9lmaahdrzktttc383.jpg"/>
Four Validation Results
VLAN2 Segment Validation
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/5B/41/wKiom1UC12PDeDQrAACNNhDJiFU453.jpg "title=" 10.png "alt=" Wkiom1uc12pdedqraacnnhdjifu453.jpg "/>
of different no interoperability between VLANs
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/5B/3C/wKioL1UC2JHwudfZAAArXGfYo10006.jpg "title=" 11.png "alt=" Wkiol1uc2jhwudfzaaarxgfyo10006.jpg "/>
VLAN3 Segment Validation
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/5B/41/wKiom1UC13-SPDA8AACP79Npjyw483.jpg "title=" 12.png "alt=" Wkiom1uc13-spda8aacp79npjyw483.jpg "/>
of different no interoperability between VLANs
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/5B/41/wKiom1UC14yTBR2LAAAixVjhcII759.jpg "title=" 13.png "alt=" Wkiom1uc14ytbr2laaaixvjhcii759.jpg "/>
VLAN4 Segment Validation
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/5B/3C/wKioL1UC2LuD7cElAACixXUgIy8333.jpg "title=" 14.png "alt=" Wkiol1uc2lud7celaacixxugiy8333.jpg "/>
of different no interoperability between VLANs
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/5B/41/wKiom1UC16bwUi3kAAAo7oevUTc219.jpg "title=" 15.png "alt=" Wkiom1uc16bwui3kaaao7oevutc219.jpg "/>
Experiment completed
This article is from the "Green Space" blog, please be sure to keep this source http://9665007.blog.51cto.com/9655007/1620203
Virtual LAN VLAN