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

[求助] ospf 路由协议 多区域 虚拟链接的问题,怎么解决

[复制链接]
发表于 2016-11-10 08:42:45 | 显示全部楼层 |阅读模式
3鸿鹄币
本帖最后由 草原土狼 于 2016-11-10 09:48 编辑





pc1  ping不通  192.168.6.2、192.168.6.1。提示 :Reply from 192.168.5.1: Destination host unreachable.而能ping通其他的ip地址。


pc0能ping通所有的地址


请问怎么配置才能使pc1ping通192.168.6.0段的地址????

r2的配置
interface FastEthernet0/0
ip address 192.168.2.1 255.255.255.0
duplex auto
speed auto
!
interface FastEthernet0/1
no ip address
duplex auto
speed auto
shutdown
!
interface Serial0/1/0
ip address 192.168.3.1 255.255.255.0
clock rate 64000
!
interface Serial0/1/1
no ip address
shutdown
!
interface Vlan1
no ip address
shutdown
!
router ospf 100
log-adjacency-changes
network 192.168.2.0 0.0.0.255 area 0
network 192.168.3.0 0.0.0.255 area 0
!
ip classless!
!
line con 0
!
line aux 0
!
line vty 0 4
login
!
!
!
end


r0的配置:
interface Loopback1
ip address 2.2.2.2 255.255.255.0
!
interface FastEthernet0/0
no ip address
duplex auto
speed auto
shutdown
!
interface FastEthernet0/1
no ip address
duplex auto
speed auto
shutdown
!
interface Serial0/1/0
ip address 192.168.3.2 255.255.255.0
!
interface Serial0/1/1
ip address 192.168.6.1 255.255.255.0
clock rate 64000
!
interface Vlan1
no ip address
shutdown
!
router ospf 200
log-adjacency-changes
network 192.168.3.0 0.0.0.255 area 0
network 192.168.6.0 0.0.0.255 area 1
!
ip classless
!
!
!
!
!
!
!
line con 0
line aux 0
!
line vty 0 4
login
!
!
!
end


r1:
interface Loopback1
ip address 3.3.3.3 255.255.255.0
!
interface FastEthernet0/0
no ip address
duplex auto
speed auto
shutdown
!
interface FastEthernet0/1
no ip address
duplex auto
speed auto
shutdown
!
interface Serial0/1/0
ip address 192.168.4.1 255.255.255.0
clock rate 64000
!
interface Serial0/1/1
ip address 192.168.6.2 255.255.255.0
!
interface Vlan1
no ip address
shutdown
!
router ospf 200
log-adjacency-changes
area 1 virtual-link 2.2.2.2
network 192.168.6.0 0.0.0.255 area 1
network 192.168.4.0 0.0.0.255 area 2
!
ip classless
!
!
!
!
!
!
!
line con 0
!
line aux 0
!
line vty 0 4
login
!
!
!
end


r3:
spanning-tree mode pvst
!
!
!
!
interface Loopback1
ip address 4.4.4.4 255.255.255.0
!
interface FastEthernet0/0
ip address 192.168.5.1 255.255.255.0
duplex auto
speed auto
!
interface FastEthernet0/1
no ip address
duplex auto
speed auto
shutdown
!
interface Serial0/1/0
ip address 192.168.4.2 255.255.255.0
!
interface Serial0/1/1
no ip address
shutdown
!
interface Vlan1
no ip address
shutdown
!
router ospf 400
log-adjacency-changes
network 192.168.4.0 0.0.0.255 area 2
network 192.168.5.0 0.0.0.255 area 2
!
ip classless
!
!
!
!
!
!
!
line con 0
!
line aux 0
!
line vty 0 4
login
!
!
!
end


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

最佳答案

查看完整内容

需要在router0和router1上做虚链路,使arer2能够连接到骨干区域上来。   router ospf 1   area 1 virtual-link a.a.a.a      router ospf 1   area 1 virtual-link b.b.b.b
发表于 2016-11-10 08:42:46 | 显示全部楼层
游客,如果您要查看本帖隐藏内容请登录
回复

使用道具 举报

 楼主| 发表于 2016-11-10 09:04:16 | 显示全部楼层
游客,如果您要查看本帖隐藏内容请登录
回复

使用道具 举报

 楼主| 发表于 2016-11-10 09:04:27 | 显示全部楼层
游客,如果您要查看本帖隐藏内容请登录
回复

使用道具 举报

发表于 2016-11-10 09:21:24 | 显示全部楼层
游客,如果您要查看本帖隐藏内容请登录
回复

使用道具 举报

发表于 2016-11-10 09:24:28 | 显示全部楼层
游客,如果您要查看本帖隐藏内容请登录
回复

使用道具 举报

发表于 2016-11-10 09:28:40 | 显示全部楼层
游客,如果您要查看本帖隐藏内容请登录
回复

使用道具 举报

 楼主| 发表于 2016-11-10 09:54:19 | 显示全部楼层
游客,如果您要查看本帖隐藏内容请登录
回复

使用道具 举报

发表于 2016-11-10 10:14:27 | 显示全部楼层
游客,如果您要查看本帖隐藏内容请登录
回复

使用道具 举报

发表于 2016-11-10 10:17:00 | 显示全部楼层
游客,如果您要查看本帖隐藏内容请登录
回复

使用道具 举报

发表于 2016-11-10 10:17:13 | 显示全部楼层
游客,如果您要查看本帖隐藏内容请登录
回复

使用道具 举报

发表于 2016-11-10 10:38:25 | 显示全部楼层
游客,如果您要查看本帖隐藏内容请登录
回复

使用道具 举报

发表于 2016-11-14 14:38:23 | 显示全部楼层
游客,如果您要查看本帖隐藏内容请登录
回复

使用道具 举报

发表于 2016-11-14 16:57:04 | 显示全部楼层
游客,如果您要查看本帖隐藏内容请登录
回复

使用道具 举报

发表于 2016-11-14 16:58:23 | 显示全部楼层
游客,如果您要查看本帖隐藏内容请登录
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2026-8-9 00:49 , Processed in 0.053349 second(s), 10 queries , Redis On.  

  Powered by Discuz!

  © 2001-2025 HH010.COM

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