1. Experimental topology
650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M00/78/76/wKioL1Z9B6SSEWcvAABGSl1UuwA298.png "title=" v1.png "alt=" Wkiol1z9b6ssewcvaabgsl1uuwa298.png "/>
2. Experiment Configuration
R1 Configuration
Interface fastethernet0/0
No shut
Interface fastethernet0/0.10
Encapsulation dot1q 10
IP address 192.168.10.254 255.255.255.0
Interface fastethernet0/0.20
Encapsulation dot1q 20
IP address 192.168.20.254 255.255.255.0
S2 Configuration
VLAN 10
VLAN 20
Interface FASTETHERNET0/1
Switchport Access VLAN 10
Switchport mode access
Spanning-tree Portfast
Interface FASTETHERNET0/2
Switchport Access VLAN 20
Switchport mode access
Spanning-tree Portfast
Interface FASTETHERNET0/3
Switchport mode Trunk
Switchport nonegotiate
3. Experimental test
650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M00/78/78/wKiom1Z9B__TQ-7JAAAwDyOPSaE741.png "title=" v2.png "alt=" Wkiom1z9b__tq-7jaaawdyopsae741.png "/>
This article is from the "Open Source Hall" blog, please be sure to keep this source http://kaiyuandiantang.blog.51cto.com/10699754/1728350
78. One-arm routing of the Inter-VLAN routing configuration Experiment