天天看點

77、VLAN間路由配置實驗之SVI

1、實驗拓撲

2、實驗配置

S1配置

ip routing

vlan 10

vlan 20

interface FastEthernet0/1

 switchport trunk encapsulation dot1q

 switchport mode trunk

 switchport nonegotiate

interface Vlan10

 ip address 192.168.10.254 255.255.255.0

interface Vlan20

 ip address 192.168.20.254 255.255.255.0

S2配置

switchport access vlan 10

switchport mode access

spanning-tree portfast

interface FastEthernet0/2

switchport access vlan 20

interface FastEthernet0/3

switchport mode trunk

switchport nonegotiate

3、實驗測試

<a href="http://s1.51cto.com/wyfs02/M01/78/77/wKiom1Z9BoDhdwhGAAAwDyOPSaE974.png" target="_blank"></a>

      本文轉自開源殿堂 51CTO部落格,原文連結:http://blog.51cto.com/kaiyuandiantang/1728346,如需轉載請自行聯系原作者

繼續閱讀