设为首页收藏本站language→→ 语言切换

鸿鹄论坛

 找回密码
 论坛注册

QQ登录

先注册再绑定QQ

查看: 1062|回复: 7
收起左侧

[求助] OSPF区域间不通

[复制链接]
发表于 2017-8-14 18:18:55 | 显示全部楼层 |阅读模式
3鸿鹄币
R2#show ip ospf neighbor

Neighbor ID     Pri   State           Dead Time   Address         Interface
3.3.3.3           0   FULL/  -        00:00:32    23.1.1.3        Serial0/0/0
1.1.1.1           1   FULL/DR         00:00:35    12.1.1.1        GigabitEthernet0/0
4.4.4.4           1   FULL/BDR        00:00:31    24.1.1.4        GigabitEthernet0/1

区域内路由可以ping通
但是区域间ping不通
请大神解惑

R4配置.jpg
R3配置.png
R2配置.png
R1配置.png

拓扑

拓扑

最佳答案

查看完整内容

R4 router os 1 no network 24.1.1.0 0.0.0.0 area 0 然后 保存下 重启 write reload
发表于 2017-8-14 18:18:56 | 显示全部楼层
R4
router os 1
no network 24.1.1.0 0.0.0.0 area  0

然后 保存下 重启
write
reload
沙发 2017-8-14 18:18:56 回复 收起回复
回复

使用道具 举报

 楼主| 发表于 2017-8-14 18:20:42 | 显示全部楼层
R2#show ip route
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
       i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
       * - candidate default, U - per-user static route, o - ODR
       P - periodic downloaded static route

Gateway of last resort is not set

     1.0.0.0/32 is subnetted, 1 subnets
O       1.1.1.1/32 [110/2] via 12.1.1.1, 01:19:12, GigabitEthernet0/0
     2.0.0.0/32 is subnetted, 1 subnets
C       2.2.2.2/32 is directly connected, Loopback0
     3.0.0.0/32 is subnetted, 1 subnets
O       3.3.3.3/32 [110/65] via 23.1.1.3, 01:16:30, Serial0/0/0
     4.0.0.0/32 is subnetted, 1 subnets
O       4.4.4.4/32 [110/2] via 24.1.1.4, 01:05:02, GigabitEthernet0/1
     12.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C       12.1.1.0/24 is directly connected, GigabitEthernet0/0
L       12.1.1.2/32 is directly connected, GigabitEthernet0/0
     23.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C       23.1.1.0/24 is directly connected, Serial0/0/0
L       23.1.1.2/32 is directly connected, Serial0/0/0
     24.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C       24.1.1.0/24 is directly connected, GigabitEthernet0/1
L       24.1.1.2/32 is directly connected, GigabitEthernet0/1
板凳 2017-8-14 18:20:42 回复 收起回复
回复

使用道具 举报

 楼主| 发表于 2017-8-14 18:22:07 | 显示全部楼层
R3#show ip route
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
       i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
       * - candidate default, U - per-user static route, o - ODR
       P - periodic downloaded static route

Gateway of last resort is not set

     1.0.0.0/32 is subnetted, 1 subnets
O IA    1.1.1.1/32 [110/66] via 23.1.1.2, 01:18:01, Serial0/0/0
     2.0.0.0/32 is subnetted, 1 subnets
O       2.2.2.2/32 [110/65] via 23.1.1.2, 01:18:01, Serial0/0/0
     3.0.0.0/32 is subnetted, 1 subnets
C       3.3.3.3/32 is directly connected, Loopback0
     4.0.0.0/32 is subnetted, 1 subnets
O IA    4.4.4.4/32 [110/66] via 23.1.1.2, 01:06:28, Serial0/0/0
     12.0.0.0/24 is subnetted, 1 subnets
O IA    12.1.1.0/24 [110/65] via 23.1.1.2, 01:18:01, Serial0/0/0
     23.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C       23.1.1.0/24 is directly connected, Serial0/0/0
L       23.1.1.3/32 is directly connected, Serial0/0/0
     24.0.0.0/24 is subnetted, 1 subnets
O IA    24.1.1.0/24 [110/65] via 23.1.1.2, 01:18:01, Serial0/0/0
地板 2017-8-14 18:22:07 回复 收起回复
回复

使用道具 举报

 楼主| 发表于 2017-8-14 18:23:59 | 显示全部楼层
R4#show ip route
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
       i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
       * - candidate default, U - per-user static route, o - ODR
       P - periodic downloaded static route

Gateway of last resort is not set

     1.0.0.0/32 is subnetted, 1 subnets
O       1.1.1.1/32 [110/3] via 24.1.1.2, 01:07:53, GigabitEthernet0/1
     4.0.0.0/32 is subnetted, 1 subnets
C       4.4.4.4/32 is directly connected, Loopback0
     12.0.0.0/24 is subnetted, 1 subnets
O       12.1.1.0/24 [110/2] via 24.1.1.2, 01:07:53, GigabitEthernet0/1
     24.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C       24.1.1.0/24 is directly connected, GigabitEthernet0/1
L       24.1.1.4/32 is directly connected, GigabitEthernet0/1
5# 2017-8-14 18:23:59 回复 收起回复
回复

使用道具 举报

发表于 2017-8-15 07:14:22 | 显示全部楼层
R4的 router ospf 1 下面的 network statement 有一条是错误的,去掉 network24.1.1.0 0.0.0.0 area 0
6# 2017-8-15 07:14:22 回复 收起回复
回复

使用道具 举报

 楼主| 发表于 2017-8-15 10:58:42 | 显示全部楼层
vicky要过CCNA 发表于 2017-8-15 07:14
R4的 router ospf 1 下面的 network statement 有一条是错误的,去掉 network24.1.1.0 0.0.0.0 area 0

去掉了还是不行,
主要是R3有学习到去R4的路由,但是R4没有学习到去R3的路由
R4 show ip route 的时候没有O IA的信息
但是不知道问题出在哪里
7# 2017-8-15 10:58:42 回复 收起回复
回复

使用道具 举报

 楼主| 发表于 2017-8-15 13:38:03 | 显示全部楼层
astray0 发表于 2017-8-15 11:35
R4
router os 1
no network 24.1.1.0 0.0.0.0 area  0

重启OK....感谢
8# 2017-8-15 13:38:03 回复 收起回复
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-5-10 17:47 , Processed in 0.061191 second(s), 10 queries , Redis On.  

  Powered by Discuz!

  © 2001-2024 HH010.COM

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