设为首页收藏本站language 语言切换
查看: 2115|回复: 10
收起左侧

[已解决] 请看附件

[复制链接]
发表于 2012-3-9 15:46:35 | 显示全部楼层 |阅读模式

SW1#show run
Building configuration...
Current configuration : 2191 bytes
!
version 12.2
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname SW1
!
enable password cisco
!
!
!
interface FastEthernet0/1
switchport access vlan 10
spanning-tree portfast
!
interface FastEthernet0/2
switchport access vlan 10
spanning-tree portfast
!
interface FastEthernet0/3
switchport access vlan 10
spanning-tree portfast
!
interface FastEthernet0/4
switchport access vlan 10
spanning-tree portfast
!
interface FastEthernet0/5
switchport access vlan 10
spanning-tree portfast
!
interface FastEthernet0/6
switchport access vlan 10
spanning-tree portfast
!
interface FastEthernet0/7
switchport access vlan 10
spanning-tree portfast
!
interface FastEthernet0/8
switchport access vlan 20
spanning-tree portfast
!
interface FastEthernet0/9
switchport access vlan 20
spanning-tree portfast
!
interface FastEthernet0/10
switchport access vlan 20
spanning-tree portfast
!
interface FastEthernet0/11
switchport access vlan 20
spanning-tree portfast
!
interface FastEthernet0/12
switchport access vlan 20
spanning-tree portfast
!
interface FastEthernet0/13
switchport access vlan 20
spanning-tree portfast
!
interface FastEthernet0/14
switchport access vlan 20
spanning-tree portfast
!
interface FastEthernet0/15
switchport access vlan 30
spanning-tree portfast
!
interface FastEthernet0/16
switchport access vlan 30
spanning-tree portfast
!
interface FastEthernet0/17
switchport access vlan 30
spanning-tree portfast
!
interface FastEthernet0/18
switchport access vlan 30
spanning-tree portfast
!
interface FastEthernet0/19
switchport access vlan 30
spanning-tree portfast
!
interface FastEthernet0/20
switchport access vlan 30
spanning-tree portfast
!
interface FastEthernet0/21
switchport access vlan 30
spanning-tree portfast
!
interface FastEthernet0/22
!
interface FastEthernet0/23
switchport mode trunk
!
interface FastEthernet0/24
switchport mode trunk
!
interface GigabitEthernet1/1
!
interface GigabitEthernet1/2
!
interface Vlan1
ip address 172.16.1.2 255.255.255.0
!
ip default-gateway 172.16.1.1
!
!
line con 0
!
line vty 0 4
login
line vty 5 15
login
!
!
end
***********************************************************************
SW2#show run
Building configuration...
Current configuration : 1201 bytes
!
version 12.1
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname SW2
!
enable password cisco
!
!
!
interface FastEthernet0/1
!
interface FastEthernet0/2
!
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
!
interface FastEthernet0/12
!
interface FastEthernet0/13
!
interface FastEthernet0/14
!
interface FastEthernet0/15
!
interface FastEthernet0/16
!
interface FastEthernet0/17
!
interface FastEthernet0/18
!
interface FastEthernet0/19
!
interface FastEthernet0/20
!
interface FastEthernet0/21
!
interface FastEthernet0/22
!
interface FastEthernet0/23
switchport mode trunk
!
interface FastEthernet0/24
switchport mode trunk
!
interface GigabitEthernet1/1
!
interface GigabitEthernet1/2
!
interface Vlan1
ip address 172.16.1.3 255.255.255.0
!
ip default-gateway 172.16.1.1
!
!
access-list 11 permit 172.16.0.0 0.0.255.255
line con 0
!
line vty 0 4
access-class 11 in
password cisco
login
line vty 5 15
login
!
!
end
**************************************
CS#show run
Building configuration...
Current configuration : 1313 bytes
!
version 12.4
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname CS
!
!
!
enable password cisco
!
!
!
!
!
!
username NC password 0 cisco
!
!
!
!
!
!
!
!
!
!
!
interface FastEthernet0/0
ip address 172.16.1.1 255.255.255.0
duplex auto
speed auto
!
interface FastEthernet0/0.10
encapsulation dot1Q 10
ip address 172.16.10.1 255.255.255.0
!
interface FastEthernet0/0.20
encapsulation dot1Q 20
ip address 172.16.20.1 255.255.255.0
!
interface FastEthernet0/0.30
encapsulation dot1Q 30
ip address 172.16.30.1 255.255.255.0
!
interface FastEthernet0/1
no ip address
duplex auto
speed auto
shutdown
!
interface Serial0/0/0
ip address 172.31.31.2 255.255.255.252
encapsulation ppp
ppp authentication chap
clock rate 64000
!
interface Serial0/0/1
no ip address
shutdown
!
interface Vlan1
no ip address
shutdown
!
router ospf 100
router-id 172.31.31.2
log-adjacency-changes
passive-interface default
no passive-interface Serial0/0/0
network 172.31.31.0 0.0.0.3 area 0
network 172.16.1.0 0.0.0.255 area 0
!
ip classless
ip route 0.0.0.0 0.0.0.0 172.31.31.1
!
!
access-list 11 permit 172.16.0.0 0.0.255.255
!
no cdp run
!
!
!
!
!
line con 0
password cisco
line vty 0 4
access-class 11 in
password cisco
login
!
!
!
end
**********************************
NC#show run
Building configuration...
Current configuration : 1465 bytes
!
version 12.4
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname NC
!
!
!
enable password cisco
!
!
!
!
!
!
username CS password 0 cisco
!
!
!
!
!
!
!
!
!
!
!
interface FastEthernet0/0
no ip address
duplex auto
speed auto
shutdown
!
interface FastEthernet0/1
no ip address
duplex auto
speed auto
shutdown
!
interface Serial0/0/0
ip address 172.31.31.1 255.255.255.252
encapsulation ppp
ppp authentication chap
ip nat inside
!
interface Serial0/0/1
ip address 10.1.1.2 255.255.255.0
ip nat outside
clock rate 64000
!
interface Vlan1
no ip address
shutdown
!
router ospf 100
router-id 172.31.31.1
log-adjacency-changes
network 172.31.31.0 0.0.0.3 area 0
network 10.1.1.0 0.0.0.255 area 0
default-information originate
!
ip nat pool app 10.1.1.7 10.1.1.8 netmask 255.255.255.0
ip nat pool hw 10.1.1.3 10.1.1.4 netmask 255.255.255.0
ip nat pool sw 10.1.1.5 10.1.1.6 netmask 255.255.255.0
ip nat inside source list 10 pool hw overload
ip nat inside source list 20 pool sw overload
ip nat inside source list 30 pool app overload
ip classless
ip route 0.0.0.0 0.0.0.0 10.1.1.1
!
!
access-list 11 permit 172.16.0.0 0.0.255.255
access-list 10 permit 172.16.10.0 0.0.0.255
access-list 20 permit 172.16.20.0 0.0.0.255
access-list 30 permit 172.16.30.0 0.0.0.255
!
no cdp run
!
!
!
!
!
line con 0
password cisco
line vty 0 4
access-class 11 in
password cisco
login
!
!
!
end
**************************
ISP#show run
Building configuration...
Current configuration : 682 bytes
!
version 12.4
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname ISP
!
!
!
enable password cisco
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface Loopback0
ip address 3.3.3.3 255.255.255.255
!
interface FastEthernet0/0
no ip address
duplex auto
speed auto
shutdown
!
interface FastEthernet0/1
no ip address
duplex auto
speed auto
shutdown
!
interface Serial0/0/0
ip address 10.1.1.1 255.255.255.0
!
interface Serial0/0/1
no ip address
shutdown
!
interface Vlan1
no ip address
shutdown
!
ip classless
!
!
!
no cdp run
!
!
!
!
!
line con 0
password cisco
line vty 0 4
password cisco
login
!
!
!
end
**********
所有配置如上,问题是,以NC为分界点,路由器CS及SW1、SW2都无法ping通NC右侧的网络(s0/0/1、s0/0/0、loopback),请问是哪里出问题了?



本帖子中包含更多资源

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

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

使用道具 举报

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

使用道具 举报

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

使用道具 举报

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

使用道具 举报

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

使用道具 举报

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

使用道具 举报

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

使用道具 举报

 楼主| 发表于 2012-3-9 17:01:44 | 显示全部楼层
游客,如果您要查看本帖隐藏内容请登录

本帖子中包含更多资源

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

x
回复 支持 反对

使用道具 举报

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

使用道具 举报

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

使用道具 举报

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

本版积分规则

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

GMT+8, 2026-9-3 17:10 , Processed in 0.056431 second(s), 9 queries , Redis On.  

  Powered by Discuz!

  © 2001-2025 HH010.COM

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