实验5-EIGRP协议及配置.doc_第1页
实验5-EIGRP协议及配置.doc_第2页
实验5-EIGRP协议及配置.doc_第3页
实验5-EIGRP协议及配置.doc_第4页
实验5-EIGRP协议及配置.doc_第5页
已阅读5页,还剩2页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

福建师范大学软件学院 网络管理实验教案实验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-655352) 启用参与路由协议的接口,并通告网络,命令如下: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/0RTC(config-if)#ip summary-address eigrp 100 2.1.0.0 255.255.0.04 验证EIGRPRouter#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/1Router(config-if)#ip address 172.1.1.1 255.255.255.0Router(config-if)#bandwidth 256Router(config-if)#no shut Router(config)#int loo 1Router(config-if)#ip address 1.1.1.1 255.255.255.0Router(config-if)#exit2 分析路由: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/0R1(config-if)# bandwidth 256 /设置s0/0/0接口链路带宽256KR1(config-if)# int s0/0/1R1(config-if)# bandwidth 96R1(config-if)# exitR1(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.255R1(config-router)# network 172.4.1.0 0.0.0.255Router(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 masksC 1.1.1.0/24 is directly connected, Loopback1D 1.0.0.0/8 is a summary, 00:05:30, Null0D 2.0.0.0/8 90/10639872 via 172.1.1.2, 00:06:05, Serial0/0/1D 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 masksC 172.1.1.0/24 is directly connected, Serial0/0/1D 172.1.0.0/16 is a summary, 00:06:05, Null0D 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 masksD 172.4.0.0/16 is a summary, 00:06:15, Null0C 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.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 = 12/15/16 msRouter#ping 3.3.3.3Type 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 msRouter#ping 172.2.1.1Type 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 ms6 观察路由的动态过程:在路由器R2上关闭s0/0/0接口,等待一段时间后,在各路由器上查看路由表;重新在路由器R2上开启s0/0/0接口,等待一段时间后,在各路由器上查看路由表,观察路由的变化。随后R3也如此实验并观察结果。R2(config)# int s0/0/0R2(config-if)# shutdown /关闭接口R2(config-if)# endR2# show ip route /要求显示主要结果,下同R1# show ip routeR3# show ip routeR4# show ip routeR2(config)# int s0/0/0R2(config-if)# no shutdown /开启接口R2(config-if)# endR2# show ip routeR1# show ip routeR3# show ip routeR4# show ip route关闭 1.0.0.0/8 is variably subnetted, 2 subnets, 2 masksC 1.1.1.0/24 is directly connected, Loopback1D 1.0.0.0/8 is a summary, 00:03:43, Null0D 2.0.0.0/8 90/21152000 via 172.4.1.1, 00:00:08, Serial0/0/0D 3.0.0.0/8 90/10639872 via 172.4.1.1, 00:11:02, Serial0/0/0D 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 masksD 172.4.0.0/16 is a summary, 00:15:32, Null0C 172.4.1.0/24 is directly connected, Serial0/0/0开 1.0.0.0/8 is variably subnetted, 2 subnets, 2 masksC 1.1.1.0/24 is directly connected, Loopback1D 1.0.0.0/8 is a summary, 00:00:09, Null0D 2.0.0.0/8 90/10639872 via 172.1.1.2, 00:00:09, Serial0/0/1D 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 masksC 172.1.1.0/24 is directly connected, Serial0/0/1D 172.1.0.0/16 is a summary, 00:00:10, Null0D 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 masksD 172.4.0.0/16 is a summary, 00:00:09, Null0C 172.4.1.0/24 is directly connected, Serial0/0/07 使用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 100R3(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 100R1(config-router)# va

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论