CCNP课程实验-07-OSPF-Trouble-Shooting

本文详细描述了在路由器R1、R2、R3和R4配置OSPF时遇到的一系列问题,包括认证不匹配、时间配置错误、区域配置不当、接口宣告错误和网络类型不一致等,并逐步解决了这些问题,最终实现了邻居关系的正常建立。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

实验条件

网络拓朴

在这里插入图片描述

环境配置

R1

router ospf 89
 router-id 1.1.1.1

interface Loopback0
 ip address 1.1.1.1 255.255.255.255
 ip ospf 89 area 1
interface Ethernet0/0
 ip address 12.1.1.1 255.255.255.0
 ip ospf authentication message-digest
 ip ospf message-digest-key 1 md5 SPOTO
 ip ospf 89 area 0
interface Ethernet0/1
 ip address 13.1.1.1 255.255.255.0
 ip ospf 89 area 0

R2

router ospf 89
 router-id 2.2.2.2
 area 1 range 4.4.4.0 255.255.255.0
router ospf 1

interface Loopback0
 ip address 2.2.2.2 255.255.255.255
 ip ospf 89 area 0
interface Ethernet0/0
 ip address 12.1.1.2 255.255.255.0
 ip ospf 89 area 0
interface Ethernet0/1
 ip address 24.1.1.2 255.255.255.0
 ip ospf 1 area 89
 ip ospf cost 100

R3

interface Loopback0
 ip address 3.3.3.3 255.255.255.255
 ip ospf 89 area 0
interface Ethernet0/0
 ip address 34.1.1.3 255.255.255.0
 ip ospf network point-to-point
 ip ospf 89 area 1
interface Ethernet0/1
 ip address 13.1.1.3 255.255.255.0
 ip ospf hello-interval 11
 ip ospf 89 area 0


router ospf 89
 router-id 3.3.3.3

R4

router ospf 89
 router-id 4.4.4.4
 area 1 stub

interface Loopback0
 ip address 4.4.4.4 255.255.255.255
interface Ethernet0/0
 ip address 34.1.1.4 255.255.255.0
 duplex auto
interface Ethernet0/1
 ip address 24.1.1.4 255.255.255.0
 ip authentication mode eigrp 1234 md5
 ip authentication key-chain eigrp 1234 CCNP

开始排错

查询R1的邻居信息,发现邻居没有建立成功

错点1:R1-R2之间认证不匹配

为R2接口上配置上MD5认证
R2

interface 
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

烈火蜓蜻

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值