《路由器 关于 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

相关文章

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

【Linux】应用层http协议

一、HTTP协议 1.1 简要介绍一下HTTP        我们在网络的应用层中可以自己定义协议,但是,已经有大佬定义了一些现成的,非常好用的应用层协议,供我们直接使用,HTTP(超文本传输协议)就是其中之一。        在互联网世界中,HTTP(超文本传输协议)是一个至关重要的协议,他定义了客户端(如浏览器)与服务器之间如何进行通信,以交换或者传输超文本(比如HTML文档)。

STM32(十一):ADC数模转换器实验

AD单通道: 1.RCC开启GPIO和ADC时钟。配置ADCCLK分频器。 2.配置GPIO,把GPIO配置成模拟输入的模式。 3.配置多路开关,把左面通道接入到右面规则组列表里。 4.配置ADC转换器, 包括AD转换器和AD数据寄存器。单次转换,连续转换;扫描、非扫描;有几个通道,触发源是什么,数据对齐是左对齐还是右对齐。 5.ADC_CMD 开启ADC。 void RCC_AD

【Go】go连接clickhouse使用TCP协议

离开你是傻是对是错 是看破是软弱 这结果是爱是恨或者是什么 如果是种解脱 怎么会还有眷恋在我心窝 那么爱你为什么                      🎵 黄品源/莫文蔚《那么爱你为什么》 package mainimport ("context""fmt""log""time""github.com/ClickHouse/clickhouse-go/v2")func main(

2024.9.8 TCP/IP协议学习笔记

1.所谓的层就是数据交换的深度,电脑点对点就是单层,物理层,加上集线器还是物理层,加上交换机就变成链路层了,有地址表,路由器就到了第三层网络层,每个端口都有一个mac地址 2.A 给 C 发数据包,怎么知道是否要通过路由器转发呢?答案:子网 3.将源 IP 与目的 IP 分别同这个子网掩码进行与运算****,相等则是在一个子网,不相等就是在不同子网 4.A 如何知道,哪个设备是路由器?答案:在 A

Modbus-RTU协议

一、协议概述 Modbus-RTU(Remote Terminal Unit)是一种基于主从架构的通信协议,采用二进制数据表示,消息中的每个8位字节含有两个4位十六进制字符。它主要通过RS-485、RS-232、RS-422等物理接口实现数据的传输,传输距离远、抗干扰能力强、通信效率高。 二、报文结构 一个标准的Modbus-RTU报文通常包含以下部分: 地址域:单个字节,表示从站设备