|
思科Eigrp路由协议跨路由器建立邻居前言 通常IGP协议(内部网关路由协议)只能在直连路由器之间建立邻居关系,传递路由协议信息。但是有一种路由协议,思科私有路由协议Eigrp可以在跨路由器的情况下建立Eigrp邻居。
Eigrp路由协议报文TTL值 Eigrp路由协议报文中TTL等于2,不是等于1;所以报文可以传递2跳,所以可以在跨路由器的情况下建立Eigrp邻居。但是Eigrp报文默认是组播报文,路由器默认是不能转发组播报文,所以需要将组播报文调整为单播报文。
网络拓扑图如下:
思科Eigrp路由协议跨路由器建立邻居
需求:R1与R3之间建立Eigrp邻居
场景配置如下第一步:规划IP地址信息,如上图。 注意:需要保证R1与R3的接口在同一个网段。 第二步:配置接口IP地址 R1(config)#int e0/0 R1(config-if)#no shut R1(config-if)#ip add192.168.1.1 255.255.255.0 R1(config-if)#exit R1(config)#int loopback 0 R1(config-if)#ip add 1.1.1.1255.255.255.255 R1(config-if)#exit
R2(config)#int e0/0 R2(config-if)#no shut R2(config-if)#ip add192.168.1.2 255.255.255.252 R2(config-if)#int e0/1 R2(config-if)#no shut R2(config-if)#ip add192.168.1.12 255.255.255.248 R2(config-if)#exit
R3(config)#int e0/1 R3(config-if)#no shut R3(config-if)#ip add192.168.1.13 255.255.255.0 R3(config-if)#exit R3(config)#int loopback 0 R3(config-if)#ip address3.3.3.3 255.255.255.255 R3(config-if)#exit
第三步:在R1和R3配置Eigrp,配置如下 注意:R2不配置Eigrp R1(config)#router eigrp 88 R1(config-router)#noauto-summary R1(config-router)#network192.168.1.0 0.0.0.255 R1(config-router)#network1.1.1.1 0.0.0.0
R3(config)#router eigrp 88 R3(config-router)#noauto-summary R3(config-router)#network192.168.1.0 0.0.0.255 R3(config-router)#network3.3.3.3 0.0.0.0
查询R1与R3之间的邻居关系
思科Eigrp路由协议跨路由器建立邻居
现象:
更多资讯,请关注微信公众号“广州华尔思网络实验室”动态信息。
|