三层交换实现不同VLAN间通信_通信


更新版:http://bbs.51cto.com/thread-1039710-1.html


今天在论坛看到一午饭一问题是三层交换的问题,于是就做了一个简单的实验,2年没有玩过模拟器了,今天就小发一下,请大家给力指正,拍砖!

具体命令就不贴了,贴一些show的信息,以及需要配置的要点(看情况,如果有午饭需要,后续补上配置命令),请看图仔细看图。
Cisco2811配置信息
interface FastEthernet0/0
ip address 192.168.1.1 255.255.255.0
interface FastEthernet0/1
noip address
duplex auto
speed auto
shutdown
!
interface Vlan1
noip address
shutdown
!
ip classless
ip route 192.168.2.0255.255.255.0 FastEthernet0/0
cisco2560-24ps配置信息:
VLAN NameStatusPorts
---- ----------------------------------------- -------------------------------
1defaultactiveFa0/1, Fa0/2, Fa0/3, Fa0/4
Fa0/5, Fa0/6, Fa0/7, Fa0/8
Fa0/9, Fa0/11, Fa0/12,Fa0/13
Fa0/14, Fa0/15, Fa0/16, Fa0/17
Fa0/18, Fa0/19, Fa0/20, Fa0/21
Fa0/22, Fa0/23, Fa0/24, Gig0/1
Gig0/2
10VLAN0010activeFa0/10
1002 fddi-defaultact/unsup
1003 token-ring-defaultact/unsup
1004 fddinet-defaultact/unsup
1005 trnet-defaultact/unsup
interface Vlan1
ip address 192.168.1.2 255.255.255.0
!
interface Vlan10
ip address 192.168.2.1 255.255.255.0
ip routing!!!
终端配置信息:
PC0:192.168.1.3255.255.255.0 192.168.1.2
PC1: 192.168.2.3255.255.255.0 192.168.2.1