查看: 4016|回复: 21
收起左侧

[已解决] ccna vlan间路由 疑问

  [复制链接]
发表于 2011-10-9 11:28:26 | 显示全部楼层 |阅读模式


R1配置
R1#show run
Building configuration...

!
Version 12.1
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname R1
!
!
!
ip subnet-zero
!
!
!
!
!
!
!
!
!
interface Serial0
no ip address
no ip directed-broadcast
shutdown
!
interface FastEthernet0/0
no ip address
no ip directed-broadcast
bandwidth 100000
shutdown
!
interface FastEthernet0/0.1
encapsulation dot1q 2
ip address 192.168.1.1 255.255.255.0
!
!
interface FastEthernet0/0.2
encapsulation dot1q 3
ip address 192.168.2.1 255.255.255.0
!
!
interface FastEthernet0/1
no ip address
no ip directed-broadcast
bandwidth 100000
shutdown
!
interface Bri0
no ip address
no ip directed-broadcast
shutdown
!
!
!
ip classless
no ip http server
!
!
!
!
!
line con 0
transport input none
line aux 0
line vty 0 4
!
no scheduler allocate
end


SW1配置
SW1#show run
!
Version 12.1
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname SW1
!
!
!
ip subnet-zero
spanning-tree extend system-id
!
!
!
!
!
!
!
!
!
interface FastEthernet0/1
switchport mode access
switchport access vlan 2
!
interface FastEthernet0/2
switchport mode access
switchport access vlan 3
!
interface FastEthernet0/3
!
interface FastEthernet0/4
!
interface FastEthernet0/5
!
interface FastEthernet0/6
!
interface FastEthernet0/7
!
interface FastEthernet0/8
!
interface FastEthernet0/9
!
interface FastEthernet0/10
!
interface FastEthernet0/11
switchport mode trunk
switchport trunk encapsulation dot1q
!
interface FastEthernet0/12
switchport mode trunk
switchport trunk encapsulation dot1q
!
interface GigabitEthernet0/1
!
interface GigabitEthernet0/2
vtp Server
vtp domain cisco
vtp password cisco
!
interface Vlan 1
no ip address
no ip route-cache
!
vlan 2 name cisco
vlan 3 name huawei
!
!
!
ip classless
no ip http server
!
!
!
!
!
line con 0
transport input none
exec-timeout 0 0
logging synchronous
line aux 0
line vty 0 4
!
no scheduler allocate
end

SW2配置
SW2# show run
!
Version 12.1
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname SW2
!
!
!
ip subnet-zero
spanning-tree extend system-id
!
!
!
!
!
!
!
!
!
interface FastEthernet0/1
!
interface FastEthernet0/2
!
interface FastEthernet0/3
switchport mode access
switchport access vlan 2
!
interface FastEthernet0/4
!
interface FastEthernet0/5
!
interface FastEthernet0/6
!
interface FastEthernet0/7
!
interface FastEthernet0/8
!
interface FastEthernet0/9
!
interface FastEthernet0/10
!
interface FastEthernet0/11
!
interface FastEthernet0/12
switchport mode trunk
switchport trunk encapsulation dot1q
!
interface GigabitEthernet0/1
!
interface GigabitEthernet0/2
vtp Client
vtp domain cisco
vtp password cisco
!
interface Vlan 1
no ip address
no ip route-cache
!
vlan 2 name cisco
vlan 3 name huawei
!
!
!
ip classless
no ip http server
!
!
!
!
!
line con 0
transport input none
exec-timeout 0 0
logging synchronous
line aux 0
line vty 0 4
!
no scheduler allocate
end

R1 ping pc1(vlan2) 不通  为什么
R1 ping pc2 (vlan3) 不通 为什么

vlan2 与vlan3之间不能通信 为什么
boson netsim 7.02








本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?论坛注册

x
发表于 2011-10-9 11:44:02 | 显示全部楼层
游客,如果您要查看本帖隐藏内容请登录
回复 支持 反对

使用道具 举报

 楼主| 发表于 2011-10-9 12:23:36 | 显示全部楼层
游客,如果您要查看本帖隐藏内容请登录
回复 支持 反对

使用道具 举报

发表于 2011-10-9 13:19:03 | 显示全部楼层
游客,如果您要查看本帖隐藏内容请登录
回复 支持 反对

使用道具 举报

发表于 2011-10-9 13:29:04 | 显示全部楼层
游客,如果您要查看本帖隐藏内容请登录
回复 支持 反对

使用道具 举报

发表于 2011-10-9 14:12:41 | 显示全部楼层
游客,如果您要查看本帖隐藏内容请登录
回复 支持 反对

使用道具 举报

发表于 2011-10-9 14:17:10 | 显示全部楼层
游客,如果您要查看本帖隐藏内容请登录
回复 支持 反对

使用道具 举报

 楼主| 发表于 2011-10-9 14:55:59 | 显示全部楼层
游客,如果您要查看本帖隐藏内容请登录
回复 支持 反对

使用道具 举报

 楼主| 发表于 2011-10-9 14:59:01 | 显示全部楼层
游客,如果您要查看本帖隐藏内容请登录
回复 支持 反对

使用道具 举报

发表于 2011-10-9 15:11:37 | 显示全部楼层
游客,如果您要查看本帖隐藏内容请登录
回复 支持 反对

使用道具 举报

发表于 2011-10-9 16:51:06 | 显示全部楼层
游客,如果您要查看本帖隐藏内容请登录
回复 支持 反对

使用道具 举报

发表于 2011-10-13 20:30:23 | 显示全部楼层
游客,如果您要查看本帖隐藏内容请登录
回复 支持 反对

使用道具 举报

发表于 2011-10-22 10:13:06 | 显示全部楼层
游客,如果您要查看本帖隐藏内容请登录
回复 支持 反对

使用道具 举报

发表于 2011-10-23 01:56:31 | 显示全部楼层
游客,如果您要查看本帖隐藏内容请登录
回复 支持 反对

使用道具 举报

发表于 2011-10-23 10:43:28 | 显示全部楼层
游客,如果您要查看本帖隐藏内容请登录
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 论坛注册

本版积分规则

QQ|Archiver|手机版|小黑屋|sitemap|鸿鹄论坛 ( 京ICP备14027439号 )  

GMT+8, 2026-11-10 08:01 , Processed in 0.059836 second(s), 12 queries , Redis On.  

  Powered by Discuz!

  © 2001-2025 HH010.COM

快速回复 返回顶部 返回列表