目录
实验条件
网络拓朴

环境配置
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

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

被折叠的 条评论
为什么被折叠?



