文本版|topic 高级搜索
   名人堂 帮助 论坛制度 意见反馈 | 首页 博客 周新贴 专题 求职 读书
RSS 底部
 
社区导航: 专家门诊   网络技术   操作系统   数据库   程序设计   系统应用   考试认证   CIO及信息化   站长交流   综合交流   下载基地  51CTO产品服务 设为首页 | 收藏本站
51CTO技术论坛» 网络管理 » 网络设备管理 » 三层交换机和二层交换机间数据交换问题       [ 打印]  [ 订阅]  [ 收藏]  [ 推荐给朋友]   [ 本帖文本页]

论坛跳转:
     
标题: 三层交换机和二层交换机间数据交换问题  ( 查看:387  回复:4 )   
 该主题悬赏的20无忧币已被全部领完 
 
huanjue
新新人类  点击可查看详细



帖子 2
精华 0
无忧币 10
积分 10
阅读权限 20
注册日期 2008-2-13
最后登录 2008-2-13 离线

[查看资料]  [发短消息]  [Blog
       
发表于:2008-2-13 00:36   标题:三层交换机和二层交换机间数据交换问题
上一帖 |

问题如上图所示
所有交换机间的TRUNK均采用DOT1Q封装.....允许所有VLAN通过

192.168.20.2能PING通网关:192.168.20.1(VLAN在3550上),说明数据能够通过SWB的F0/8口传输到3550上,但为什么无法PING通192.168.30.1,按理说3550具有路由功能...而且我也开启了路由,难道一定要做路由协议吗?但是只要把SWA和3550连接,整个网络就可以互通.....说明不做路由协议也可以通信,,,不知道哪里出了问题,请高手解答..谢谢啦



论坛活动:测测你对IT技术大会的了解指数(赠微软礼品、无忧币)
2008-2-13 00:361楼
[ 顶部 ]
 
ssq0911
新新人类  点击可查看详细



十二生肖之鼠   天蝎座   行业勋章   技术勋章   诚信兄弟  
帖子 212
精华 0
无忧币 205
积分 171
阅读权限 20
注册日期 2006-5-27
最后登录 2008-10-8 离线

[查看资料]  [发短消息]  [Blog
       
发表于:2008-2-13 10:04 
我第一次遇见此问题,再想想。



论坛活动:测测你对IT技术大会的了解指数(赠微软礼品、无忧币)
2008-2-13 10:042楼
[ 顶部 ]
 
freeborn
新新人类  点击可查看详细



十二生肖之蛇   魔蝎座   行业勋章   技术勋章   诚信兄弟  
帖子 163
精华 0
无忧币 918
积分 163
阅读权限 20
注册日期 2007-10-27
最后登录 2008-9-17 离线

[查看资料]  [发短消息]  [Blog
       
发表于:2008-2-13 11:05  ,被系统奖励 10 点无忧币
按你说的情况配置了一下,发现HostA、HostB、HostC、HostD可以互相Ping通,三台交换机配置如下

Switch E 3550配置
SWE#show running-config
!
Version 12.1
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname SWE
!
!
!
ip subnet-zero
ip routing
spanning-tree extend system-id
!
interface FastEthernet0/1
!
interface FastEthernet0/2
!
interface FastEthernet0/3
!
interface FastEthernet0/4
!
interface FastEthernet0/5
!
interface FastEthernet0/6
!
interface FastEthernet0/7
!
interface FastEthernet0/8
switchport mode trunk
switchport trunk allowed vlan 1-1005
!
interface FastEthernet0/9
!
interface FastEthernet0/10
!
interface FastEthernet0/11
!
interface FastEthernet0/12
!
interface GigabitEthernet0/1
!
interface GigabitEthernet0/2
!
vtp domain bigdomain
!
interface Vlan 1
ip address 192.168.50.1 255.255.255.0
no ip route-cache
!
interface Vlan0002
ip address 192.168.20.1 255.255.255.0
no ip route-cache
!
interface Vlan0003
ip address 192.168.30.1 255.255.255.0
no ip route-cache
!
vlan 2 name VLAN0002
vlan 3 name VLAN0003
vlan 1 name VLAN0001
!
ip classless
no ip http server
!
line con 0
transport input none
line aux 0
line vty 0 4
!
no scheduler allocate
end

Switch A 2900配置
SWA#show running-config
!
Version 12.1
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname SWA
!
!
!
ip subnet-zero
spanning-tree extend system-id
!
interface FastEthernet0/1
!
interface FastEthernet0/2
!
interface FastEthernet0/3
switchport access vlan 2
!
interface FastEthernet0/4
!
interface FastEthernet0/5
!
interface FastEthernet0/6
switchport access vlan 3
!
interface FastEthernet0/7
!
interface FastEthernet0/8
switchport mode trunk
switchport trunk allowed vlan 1-1005
!
interface FastEthernet0/9
!
interface FastEthernet0/10
!
interface FastEthernet0/11
!
interface FastEthernet0/12
!
vtp domain bigdomain
!
interface Vlan 1
ip address 192.168.50.3 255.255.255.0
no ip route-cache
!
vlan 1 name VLAN0001
vlan 2 name VLAN0002
vlan 3 name VLAN0003
!
ip classless
no ip http server
!
line con 0
transport input none
line aux 0
line vty 0 15
!
no scheduler allocate
end

Switch B 2900配置
SWB# show run
!
Version 12.1
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname SWB
!
!
!
ip subnet-zero
spanning-tree extend system-id
!
interface FastEthernet0/1
switchport mode trunk
switchport trunk allowed vlan 1-1005
!
interface FastEthernet0/2
!
interface FastEthernet0/3
switchport access vlan 2
!
interface FastEthernet0/4
!
interface FastEthernet0/5
!
interface FastEthernet0/6
switchport access vlan 3
!
interface FastEthernet0/7
!
interface FastEthernet0/8
switchport mode trunk
switchport trunk allowed vlan 1-1005
!
interface FastEthernet0/9
!
interface FastEthernet0/10
!
interface FastEthernet0/11
!
interface FastEthernet0/12
!
vtp domain bigdomain
!
interface Vlan 1
ip address 192.168.50.4 255.255.255.0
no ip route-cache
!
vlan 1 name VLAN0001
vlan 2 name VLAN0002
vlan 3 name VLAN0003
!
ip classless
no ip http server
!
line con 0
transport input none
line aux 0
line vty 0 15
!
no scheduler allocate
end



论坛活动:测测你对IT技术大会的了解指数(赠微软礼品、无忧币)
2008-2-13 11:053楼
[ 顶部 ]
 
gkisffjcm
新新人类  点击可查看详细



帖子 41
精华 0
无忧币 15
积分 44
阅读权限 20
注册日期 2007-5-26
最后登录 2008-10-7 离线

[查看资料]  [发短消息]  [Blog
       
发表于:2008-2-13 14:47 
没见过,不可理解,严重关注.



论坛活动:测测你对IT技术大会的了解指数(赠微软礼品、无忧币)
2008-2-13 14:474楼
[ 顶部 ]
 
worflp
新新人类  点击可查看详细



帖子 56
精华 0
无忧币 69
积分 56
阅读权限 20
注册日期 2008-2-20
最后登录 2008-9-18 离线

[查看资料]  [发短消息]  [Blog
       
发表于:2008-2-21 15:46  ,被系统奖励 10 点无忧币
还口看看,其他的没遇到过,不是很清楚,期待正确答案



论坛活动:测测你对IT技术大会的了解指数(赠微软礼品、无忧币)
2008-2-21 15:465楼
[ 顶部 ]
     
论坛跳转:  

| | |

| | |

| | |

标记已读 · 删除论坛Cookies · 文本版 · WAP
 
| 诚征版主 | 版主堂 | 意见建议 | 大史记 | 论坛地图
Copyright©2005-2008 51CTO.COM  Powered by Discuz!
本论坛言论纯属发布者个人意见,不代表51CTO网站立场!如有疑义,请与管理员联系。
京ICP备05051492号