Skip to content




EIGRP 邻居建立条件

学习CCNP中EIGRP遇到的一个问题,关于EIGRP 邻居建立条件,先来一段《routing and switch》的KEY POINT

■ Must pass the authentication process
■ Must use the same configured AS number
■ Must believe that the source IP address of a received Hello is in that router’s primary connected
subnet on that interface
■ K values must match

1、2、4不做解释,很简单也很好理解。关键就是第三条理解很麻烦~

第三条我是这么翻译:接受到HELLO包的源IP必须要和接受路由的接受端口IP在同一网段。

由于路由端口可以配置2个IP,一个primary  ip 一个second ip

给个拓扑:R1 (S2/1)——————-(S2/1)R2

基本配置1:

R1 (s2/1):ip add 12.0.0.1 255.255.255.0

R1 (s2/1):ip add 21.0.0.1 255.255.255.0  sec

R2 (s2/1):ip add 21.0.0.2 255.255.255.0

R2 (s2/1):ip add 12.0.0.2 255.255.255.0  sec

如此在 sh ip eigrp nei 后可得R1的邻居是21.0.0.2    R2邻居表是12.0.0.1

当 在R1 上 no ip add 21.0.0.1 255.255.255.0  sec后

R1无邻居,R2邻居表是12.0.0.1

并在R1上提示:Neighbor 21.0.0.2 not on common subnet for Serial2/1

R2上提示Neighbor 12.0.0.1 (Serial2/1) is down: Interface Goodbye received

Neighbor 12.0.0.1 (Serial2/1) is up: new adjacency

当 在R1 上 no ip add 12.0.0.1 255.255.255.0  后

R1和R2都没有邻居表

可以看出,只有primary发送hello包,当对方路由接受到后用hello包源IP与自己的直连端口匹配,有同一网段,则建立邻居,否则不建立邻居。

其他文章参考:《EIGRP邻居建立解析》

转载文章请注明,原文链接: http://eisen.me/archives/970.html
Posted in 学习笔记.
Tagged with , .

相关文章


0 Responses

Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.



Some HTML is OK

or, reply to this post via trackback.