收藏 分销(赏)

实验5-EIGRP协议及配置.doc

上传人:xrp****65 文档编号:7034022 上传时间:2024-12-25 格式:DOC 页数:7 大小:90KB
下载 相关 举报
实验5-EIGRP协议及配置.doc_第1页
第1页 / 共7页
实验5-EIGRP协议及配置.doc_第2页
第2页 / 共7页
点击查看更多>>
资源描述
福建师范大学软件学院 网络管理实验教案 实验5 EIGRP协议及配置 一.实验目的 1 理解EIGRP协议的主要特征 2 理解EIGRP协议的工作原理 3 熟练掌握EIGRP协议的配置方法和调试方法 二.实验要求 要求每位学生单独配置自己的路由器,完成EIGRP协议的基本配置后,要求各路由器能够自动建立路由表,要能够ping通拓扑图中的所有网段的IP地址,能够实现并理解实验内容中的所有项目。 三.实验项目性质 验证性 四.实验要点和难点 本实验的要点和难点是:掌握EIGRP协议的工作原理和配置方法。 五.实验环境 1 四人一组,每人负责配置一台1841路由器 2 四台路由器 3 四台计算机 六.连接方式/网络拓扑 相关知识: 1 配置EIGRP协议 在路由器上配置EIGRP基本命令如下: 1) 启动EIGRP路由协议,命令如下: R (config)#router eigrp automomous-system AS范围1-65535 2) 启用参与路由协议的接口,并通告网络,命令如下: R (config-router)#network network [wildcard-mask] 与RIP不同,如果是主网络地址,则只要输入网络地址;如果是子网的话,则必须在网段后写入通配符掩码。通配符掩码地址是用广播地址(255.255.255.255)-该网段子网掩码地址所得到的地址。 2 配置EIGRP自动汇总 不连续网络使用router(config-router)# no auto-summary 关闭自动汇总 3 配置EIGRP手工汇总 EIGRP基于接口来用“summary address”命令手工配置汇总 RTC(config)#interface serial 0/0/0 RTC(config-if)#ip summary-address eigrp 100 2.1.0.0 255.255.0.0 4 验证EIGRP Router#show ip eigrp neighbors //显示所有EIGRP邻居 Router#show ip eigrp topology //显示EIGRP拓扑表中的项目 Router#show ip route //显示整个路由表 Router#show ip protocols //查看配置的路由协议 Router#show ip eigrp interface //查看启用IP EIGRP接口 七.实验内容 1 在各自路由器上进行基本配置,包括路由器名称、接口IP地址等,并测试直连链路连通性。(请指名各自配置的路由器名称) Router(config)#interface s0/0/0 Router(config-if)#ip address 172.4.1.2 255.255.255.0 Router(config-if)#bandwidth 256 Router(config-if)#no shut Router(config)#interface s0/0/1 Router(config-if)#ip address 172.1.1.1 255.255.255.0 Router(config-if)#bandwidth 256 Router(config-if)#no shut Router(config)#int loo 1 Router(config-if)#ip address 1.1.1.1 255.255.255.0 Router(config-if)#exit 2 分析路由:R1上需要配置哪些EIGRP路由?1.1.1.0/24、172.1.1.0/24和172.4.1.0/24 R2、R3和R4呢?注意:EIGRP协议为无类路由协议,支持VLSM。 3 在各路由器上进行EIGRP基本配置: R1的配置方式为: R1(config)# int s0/0/0 R1(config-if)# bandwidth 256 //设置s0/0/0接口链路带宽256K R1(config-if)# int s0/0/1 R1(config-if)# bandwidth 96 R1(config-if)# exit R1(config)# router eigrp 100 //同一个AS中,AS号100必须相同 R1(config-router)# network 1.1.1.0 0.0.0.255 //注意是通配符掩码 R1(config-router)# network 172.1.1.0 0.0.0.255 R1(config-router)# network 172.4.1.0 0.0.0.255 Router(config-router)#network 172.4.1.0 0.0.0.255 Router(config-router)#network 172.1.1.0 0.0.0.255 Router(config-router)# network 1.1.1.0 0.0.0.255 R2、R3、R4的配置呢? 4等待一段时间后,在各路由器上查看路由表,观察AD、metric值、下一跳地址、自动路由汇总等信息。并回答下面2个问题。 R1#show ip route //显示主要结果 1.0.0.0/8 is variably subnetted, 2 subnets, 2 masks C 1.1.1.0/24 is directly connected, Loopback1 D 1.0.0.0/8 is a summary, 00:05:30, Null0 D 2.0.0.0/8 [90/10639872] via 172.1.1.2, 00:06:05, Serial0/0/1 D 3.0.0.0/8 [90/10639872] via 172.4.1.1, 00:01:44, Serial0/0/0 172.1.0.0/16 is variably subnetted, 2 subnets, 2 masks C 172.1.1.0/24 is directly connected, Serial0/0/1 D 172.1.0.0/16 is a summary, 00:06:05, Null0 D 172.2.0.0/16 [90/21024000] via 172.4.1.1, 00:06:05, Serial0/0/0 [90/21024000] via 172.1.1.2, 00:06:05, Serial0/0/1 172.4.0.0/16 is variably subnetted, 2 subnets, 2 masks D 172.4.0.0/16 is a summary, 00:06:15, Null0 C 172.4.1.0/24 is directly connected, Serial0/0/0 问题1:路由器R1到达网络3.3.3.0/24分别有哪几条路由? 问题2:路由器R3到达网络1.1.1.0/24分别有哪几条路由? 5 测试连通性。配置好EIGRP协议后,看各自路由器是否能够ping通其它网段的IP地址。 Router#ping 2.2.2.2 Type 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 = 12/15/16 ms Router#ping 3.3.3.3 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 3.3.3.3, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 12/15/16 ms Router#ping 172.2.1.1 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 172.2.1.1, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 12/15/16 ms 6 观察路由的动态过程:在路由器R2上关闭s0/0/0接口,等待一段时间后,在各路由器上查看路由表;重新在路由器R2上开启s0/0/0接口,等待一段时间后,在各路由器上查看路由表,观察路由的变化。随后R3也如此实验并观察结果。 R2(config)# int s0/0/0 R2(config-if)# shutdown //关闭接口 R2(config-if)# end R2# show ip route //要求显示主要结果,下同 R1# show ip route R3# show ip route R4# show ip route R2(config)# int s0/0/0 R2(config-if)# no shutdown //开启接口 R2(config-if)# end R2# show ip route R1# show ip route R3# show ip route R4# show ip route 关闭 1.0.0.0/8 is variably subnetted, 2 subnets, 2 masks C 1.1.1.0/24 is directly connected, Loopback1 D 1.0.0.0/8 is a summary, 00:03:43, Null0 D 2.0.0.0/8 [90/21152000] via 172.4.1.1, 00:00:08, Serial0/0/0 D 3.0.0.0/8 [90/10639872] via 172.4.1.1, 00:11:02, Serial0/0/0 D 172.2.0.0/16 [90/21024000] via 172.4.1.1, 00:00:08, Serial0/0/0 172.4.0.0/16 is variably subnetted, 2 subnets, 2 masks D 172.4.0.0/16 is a summary, 00:15:32, Null0 C 172.4.1.0/24 is directly connected, Serial0/0/0 开 1.0.0.0/8 is variably subnetted, 2 subnets, 2 masks C 1.1.1.0/24 is directly connected, Loopback1 D 1.0.0.0/8 is a summary, 00:00:09, Null0 D 2.0.0.0/8 [90/10639872] via 172.1.1.2, 00:00:09, Serial0/0/1 D 3.0.0.0/8 [90/10639872] via 172.4.1.1, 00:00:09, Serial0/0/0 172.1.0.0/16 is variably subnetted, 2 subnets, 2 masks C 172.1.1.0/24 is directly connected, Serial0/0/1 D 172.1.0.0/16 is a summary, 00:00:10, Null0 D 172.2.0.0/16 [90/21024000] via 172.4.1.1, 00:00:09, Serial0/0/0 [90/21024000] via 172.1.1.2, 00:00:09, Serial0/0/1 172.4.0.0/16 is variably subnetted, 2 subnets, 2 masks D 172.4.0.0/16 is a summary, 00:00:09, Null0 C 172.4.1.0/24 is directly connected, Serial0/0/0 7 使用R1#show ip eigrp topology,R1#show ip eigrp neighbor查看RIGRP的拓扑数据和邻居信息。 以下内容选做: 8 使用R2(config-router)#no auto-summary在R2上关闭自动汇总,在R1、R2、R3、R4上再次查看路由表的变化。 9 在R3上再创建3个环回口地址:3.3.4.3/24,3.3.5.3/24,3.3.6.3/24,配置好EIGRP,关闭自动汇总,并在R3的s0/0/0接口上进行手工汇总: R3(config)#router eigrp 100 R3(config-router)#no auto-summary //关闭自动汇总 R3(config-router)#exit R3(config)#interface serial 0/0/0 R3(config-if)#ip summary-address eigrp 100 3.3.0.0 255.255.0.0 在R1上查看路由的变化。完成后,在R2上同样方法创建环回口地址,手工汇总后在R4上查看路由的变化。 10 实现负载均衡: R1(config)# router eigrp 100 R1(config-router)# variance 10 R1(config-router)# traffic-share balance //配置负载均衡 R1(config-router)# end R1# show ip route 问题3:路由器R1到达网络3.3.3.0/24分别有哪几条路由?说明理由并观察路由开销。 八.实验作业 1 完成以上7个实验内容,要求指明你所使用的路由器,并且使用主要命令和主要结果体现各实验内容,并对每步测试结果进行简要分析。 2 实验内容完成后,要求完整回答实验内容中的2个问题。选做实验内容可以不写入实验报告。 3 提交打印版实验报告,并填写好同组姓名。 请预习“实验6 OSPF协议及配置” 7
展开阅读全文

开通  VIP会员、SVIP会员  优惠大
下载10份以上建议开通VIP会员
下载20份以上建议开通SVIP会员


开通VIP      成为共赢上传
相似文档                                   自信AI助手自信AI助手

当前位置:首页 > 百科休闲 > 其他

移动网页_全站_页脚广告1

关于我们      便捷服务       自信AI       AI导航        抽奖活动

©2010-2025 宁波自信网络信息技术有限公司  版权所有

客服电话:4009-655-100  投诉/维权电话:18658249818

gongan.png浙公网安备33021202000488号   

icp.png浙ICP备2021020529号-1  |  浙B2-20240490  

关注我们 :微信公众号    抖音    微博    LOFTER 

客服