《路由器 关于 eigrp实验与协议》

2023-12-02 09:40
文章标签 路由器 协议 实验 eigrp

本文主要是介绍《路由器 关于 eigrp实验与协议》,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!

<pre class="html" name="code">EIGRP
EIGRP:Enhanced Interior Gateway Routing Protocol 即 增强内部网关路由线路协议。也翻译为 加强型内部网关路由协议。 EIGRP是Cisco公司的私有协议。Cisco公司是该协议的发明者和唯一具备该协议解释和修改权的厂商。 EIGRP结合了链路状态和距离矢量型路由选择协议的Cisco专用协议,采用弥散修正算法(DUAL)来实现快速收敛,可以不发送定期的路由更新信息以减少带宽的占用,支持Appletalk、IP、Novell和NetWare等多种网络层协议。
1.支持多种网络层协议
EIGRP使用协议无关模块来支持IPv4、IPv6、Apple Talk和IPX,以满足特定网络层需求。
2. 使用多播和单播
EIGRP在路由器之间通信时使用多播和单播而不是广播,因此终端站不受路由更新和查询的影响。EIGRP使用的多播地址是224.0.0.10
3. 支持变长子网掩码(VLSM)
EIGRP是一种无类路由协议,它将通告每个目标网络的子网掩码,支持不连续子网和VLSM

R1:R1#conf tR1(config)#int f0/0R1(config-if)#ip add 13.1.1.1 255.255.255.0R1(config-if)#no shutR1(config-if)#exitR1(config)#int l 0R1(config-if)#ip add 1.1.1.1 255.255.255.0R1(config-if)#no shutR1(config-if)#exitR1(config)#router eigrp 100R1(config-router)#no auto-summaryR1(config-router)#network 1.1.1.0 0.0.0.255R1(config-router)#network 13.1.1.0 0.0.0.255R1(config-router)#endR1#R1#show ip int b //查看路由接口Interface IP-Address OK? Method Status ProtocolFastEthernet0/0 13.1.1.1 YES manual up upLoopback0 1.1.1.1 YES manual up upR1#show ip route //查看路由表Codes: 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 i - IS-IS, su - IS-IS summary, 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 routeGateway of last resort is not set 1.0.0.0/24 is subnetted, 1 subnetsC 1.1.1.0 is directly connected, Loopback0 13.0.0.0/24 is subnetted, 1 subnetsC 13.1.1.0 is directly connected, FastEthernet0/0R1#R2:R2#conf tR2(config)#int f0/0R2(config-if)#ip add 23.1.1.2 255.255.255.0R2(config-if)#no shutR2(config-if)#exitR2(config)#int l 0R2(config-if)#ip aR2(config-if)#ip add 2.2.2.2 255.255.255.0R2(config-if)#no shutR2(config-if)#exitR2(config)#router eigrp 100R2(config-router)#no auto-summaryR2(config-router)#network 2.2.2.0 0.0.0.255R2(config-router)#network 23.1.1.0 0.0.0.255R2(config-router)#exitR2(config)#R2(config)#do show ip int b //查看路由接口Interface IP-Address OK? Method Status ProtocolFastEthernet0/0 23.1.1.2 YES manual up upLoopback0 2.2.2.2 YES manual up upR2(config)#do show ip rout //查看路由表Codes: 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 i - IS-IS, su - IS-IS summary, 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 routeGateway of last resort is not set 2.0.0.0/24 is subnetted, 1 subnetsC 2.2.2.0 is directly connected, Loopback0 23.0.0.0/24 is subnetted, 1 subnetsC 23.1.1.0 is directly connected, FastEthernet0/0R2(config)#R2(config)#R3:R3#conf tR3(config)#int f0/0R3(config-if)#ip add 13.1.1.3 255.255.255.0R3(config-if)#no shutR3(config-if)#exitR3(config)#int f1/0R3(config-if)#ip add 23.1.1.3 255.255.255.0R3(config-if)#no shutR3(config-if)#exitR3(config)#int f2/0R3(config-if)#ip add 34.1.1.3 255.255.255.0R3(config-if)#no shutR3(config-if)#exitR3(config)#int f3/0R3(config-if)#ip add 35.1.1.3 255.255.255.0R3(config-if)#exitR3(config)#router eigrp 100R3(config-router)#no auto-summaryR3(config-router)#network 13.1.1.0 0.0.0.255R3(config-router)#network 13.1.1.0 0.0.0.255R3(config-router)#network 23.1.1.0 0.0.0.255R3(config-router)#network 34.1.1.0 0.0.0.255R3(config-router)#network 35.1.1.0 0.0.0.255R3(config-router)#exitR3(config)#do show ip int b //查看路由接口Interface IP-Address OK? Method Status ProtocolFastEthernet0/0 13.1.1.3 YES manual up upFastEthernet1/0 23.1.1.3 YES manual up upFastEthernet2/0 34.1.1.3 YES manual up upFastEthernet3/0 35.1.1.3 YES manual up upR3(config)#R3(config)#do show ip rout //查看路由表Codes: 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 i - IS-IS, su - IS-IS summary, 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 routeGateway of last resort is not set 34.0.0.0/24 is subnetted, 1 subnetsC 34.1.1.0 is directly connected, FastEthernet2/0 1.0.0.0/24 is subnetted, 1 subnetsD 1.1.1.0 [90/156160] via 13.1.1.1, 00:01:07, FastEthernet0/0 35.0.0.0/24 is subnetted, 1 subnetsC 35.1.1.0 is directly connected, FastEthernet3/0 2.0.0.0/24 is subnetted, 1 subnetsD 2.2.2.0 [90/156160] via 23.1.1.2, 00:00:51, FastEthernet1/0 4.0.0.0/24 is subnetted, 1 subnetsD 4.4.4.0 [90/156160] via 34.1.1.4, 00:00:37, FastEthernet2/0 5.0.0.0/24 is subnetted, 1 subnetsD 5.5.5.0 [90/156160] via 35.1.1.5, 00:00:25, FastEthernet3/0 23.0.0.0/24 is subnetted, 1 subnetsC 23.1.1.0 is directly connected, FastEthernet1/0 13.0.0.0/24 is subnetted, 1 subnetsC 13.1.1.0 is directly connected, FastEthernet0/0R3(config)#exitR3#ping 1.1.1.1 //ping通1.1.1.1Type escape sequence to abort.Sending 5, 100-byte ICMP Echos to 1.1.1.1, timeout is 2 seconds:!!!!!Success rate is 100 percent (5/5), round-trip min/avg/max = 20/39/56 msR3#ping 2.2.2.2 //ping通2.2.2.2Type escape sequence to abort.Sending 5, 100-byte ICMP Echos to 2.2.2.2, timeout is 2 seconds:!!!!!Success rate is 100 percent (5/5), round-trip min/avg/max = 20/45/76 msR3#ping 4.4.4.4 //ping通4.4.4.4Type escape sequence to abort.Sending 5, 100-byte ICMP Echos to 4.4.4.4, timeout is 2 seconds:!!!!!Success rate is 100 percent (5/5), round-trip min/avg/max = 20/39/56 msR3#ping 5.5.5.5 //ping通5.5.5.5Type escape sequence to abort.Sending 5, 100-byte ICMP Echos to 5.5.5.5, timeout is 2 seconds:!!!!!Success rate is 100 percent (5/5), round-trip min/avg/max = 20/31/52 msR3#R4:R4#conf tR4(config)#int f0/0R4(config-if)#ip add 34.1.1.4 255.255.255.0R4(config-if)#no shutR4(config-if)#exitR4(config)#int l 0R4(config-if)#ip add 4.4.4.4 255.255.255.0R4(config-if)#no shutR4(config-if)#R4(config-if)#exitR4(config)#R4(config)#router eigrp 100R4(config-router)#no auto-summaryR4(config-router)#network 4.4.4.0 0.0.0.255R4(config-router)#network 34.1.1.0 0.0.0.255R4(config-router)#exitR4(config)#do show ip int b //查看路由接口Interface IP-Address OK? Method Status ProtocolFastEthernet0/0 34.1.1.4 YES manual up upLoopback0 4.4.4.4 YES manual up upR4(config)#do show ip rout //查看路由表Codes: 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 i - IS-IS, su - IS-IS summary, 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 routeGateway of last resort is not set 34.0.0.0/24 is subnetted, 1 subnetsC 34.1.1.0 is directly connected, FastEthernet0/0 4.0.0.0/24 is subnetted, 1 subnetsC 4.4.4.0 is directly connected, Loopback0R4(config)#R5:R5#conf tR5(config)#int f0/0R5(config-if)#ip add 35.1.1.5 255.255.255.0R5(config-if)#no shutR5(config-if)#exiR5(config)#int l 0R5(config-if)#ip addR5(config-if)#ip add 5.5.5.5 255.255.255.0R5(config-if)#no shutR5(config-if)#exitR5(config)#router eigrp 100R5(config-router)#no auto-summaryR5(config-router)#netR5(config-router)#network 5.5.5.0 0.0.0.255R5(config-router)#network 35.1.1.0 0.0.0.255R5(config-router)#exitR5(config)#do show ip int b //查看路由接口Interface IP-Address OK? Method Status ProtocolFastEthernet0/0 35.1.1.5 YES manual up upLoopback0 5.5.5.5 YES manual up upR5(config)#R5(config)#do show ip rout //查看路由表Codes: 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 i - IS-IS, su - IS-IS summary, 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 routeGateway of last resort is not set 35.0.0.0/24 is subnetted, 1 subnetsC 35.1.1.0 is directly connected, FastEthernet0/0 5.0.0.0/24 is subnetted, 1 subnetsC 5.5.5.0 is directly connected, Loopback0R5(config)#
 

这篇关于《路由器 关于 eigrp实验与协议》的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!



http://www.chinasem.cn/article/444827

相关文章

售价599元起! 华为路由器X1/Pro发布 配置与区别一览

《售价599元起!华为路由器X1/Pro发布配置与区别一览》华为路由器X1/Pro发布,有朋友留言问华为路由X1和X1Pro怎么选择,关于这个问题,本期图文将对这二款路由器做了期参数对比,大家看... 华为路由 X1 系列已经正式发布并开启预售,将在 4 月 25 日 10:08 正式开售,两款产品分别为华

Nginx中配置HTTP/2协议的详细指南

《Nginx中配置HTTP/2协议的详细指南》HTTP/2是HTTP协议的下一代版本,旨在提高性能、减少延迟并优化现代网络环境中的通信效率,本文将为大家介绍Nginx配置HTTP/2协议想详细步骤,需... 目录一、HTTP/2 协议概述1.HTTP/22. HTTP/2 的核心特性3. HTTP/2 的优

关于WebSocket协议状态码解析

《关于WebSocket协议状态码解析》:本文主要介绍关于WebSocket协议状态码的使用方式,具有很好的参考价值,希望对大家有所帮助,如有错误或未考虑完全的地方,望不吝赐教... 目录WebSocket协议状态码解析1. 引言2. WebSocket协议状态码概述3. WebSocket协议状态码详解3

WiFi6时代来临! 华三H3C NX54路由器还值得购买吗?

《WiFi6时代来临!华三H3CNX54路由器还值得购买吗?》WiFi6时代已经来临,众多路由器厂商也纷纷推出了兼容WiFi6协议的路由器,今天我们将深入体验H3CNX54路由器,这款由知名企业... 随着科技的发展,WiFi6逐渐走进了我们的日常生活之中,相比WiFi5来说,WiFi6拥有更高的带宽、更高

4G/5G全网通! FiberHome烽火5G CPE Air路由器拆机评测

《4G/5G全网通!FiberHome烽火5GCPEAir路由器拆机评测》烽火5GCPE已经使用一段时间了,很多朋友想要知道这款路由器怎么样?今天我们就来看看拆机测评... 我想大家都听说过、了解过5G。 5G是具有高速率、低时延和大连接特点的新一代宽带移动通信技术,5G通讯设施是实现人机物互联的网络基础设

Qt 中集成mqtt协议的使用方法

《Qt中集成mqtt协议的使用方法》文章介绍了如何在工程中引入qmqtt库,并通过声明一个单例类来暴露订阅到的主题数据,本文通过实例代码给大家介绍的非常详细,感兴趣的朋友一起看看吧... 目录一,引入qmqtt 库二,使用一,引入qmqtt 库我是将整个头文件/源文件都添加到了工程中进行编译,这样 跨平台

定价129元!支持双频 Wi-Fi 5的华为AX1路由器发布

《定价129元!支持双频Wi-Fi5的华为AX1路由器发布》华为上周推出了其最新的入门级Wi-Fi5路由器——华为路由AX1,建议零售价129元,这款路由器配置如何?详细请看下文介... 华为 Wi-Fi 5 路由 AX1 已正式开售,新品支持双频 1200 兆、配有四个千兆网口、提供可视化智能诊断功能,建

锐捷和腾达哪个好? 两个品牌路由器对比分析

《锐捷和腾达哪个好?两个品牌路由器对比分析》在选择路由器时,Tenda和锐捷都是备受关注的品牌,各自有独特的产品特点和市场定位,选择哪个品牌的路由器更合适,实际上取决于你的具体需求和使用场景,我们从... 在选购路由器时,锐捷和腾达都是市场上备受关注的品牌,但它们的定位和特点却有所不同。锐捷更偏向企业级和专

无线路由器哪个品牌好用信号强? 口碑最好的三个路由器大比拼

《无线路由器哪个品牌好用信号强?口碑最好的三个路由器大比拼》不同品牌在信号覆盖、稳定性和易用性等方面各有特色,如何在众多选择中找到最适合自己的那款无线路由器呢?今天推荐三款路由器让你的网速起飞... 今天我们来聊聊那些让网速飞起来的路由器。在这个信息爆炸的时代,一个好路由器简直就是家庭网编程络的心脏。无论你

Java如何接收并解析HL7协议数据

《Java如何接收并解析HL7协议数据》文章主要介绍了HL7协议及其在医疗行业中的应用,详细描述了如何配置环境、接收和解析数据,以及与前端进行交互的实现方法,文章还分享了使用7Edit工具进行调试的经... 目录一、前言二、正文1、环境配置2、数据接收:HL7Monitor3、数据解析:HL7Busines