已阅读5页,还剩10页未读, 继续免费阅读
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
RIPV1与RIPV2,IGRP与EIGRP和单区域OSPF使用和配置实验目的:熟练掌握RIP,IGRP,EIGRP和OSPF四种路由协议的原理和配置实验内容:RIP的配置 IGRP的配置 EIGRP的配置 单区域OSPF的配置 实验条件:2600系列路由器两台,做测试用的PC机两台一 RIPV1和RIPV2的配置本实验需要2600系列路由器两台,交换机一台,PC机两台,console线两条Step 1 配置路由器GAD的主机名和密码RouterenableRouter#configure terminalRouter(config)#hostname GADGAD(config)#enable secret classGAD(config)#line console 0GAD(config-line)#password ciscoGAD(config-line)#loginGAD(config-line)#line vty 0 4GAD(config-line)#password ciscoGAD(config-line)#loginGAD(config-line)#exitGAD(config)#Step 2 配置路由器GAD的Serial 0/0 GAD(config)#interface serial 0/0GAD(config-if)#ip address GAD(config-if)#clock rate 64000GAD(config-if)#no shutdownGAD(config-if)#exitStep 3 配置路由器GAD的fastethernet 0/0GAD(config)#interface fastethernet 0/0GAD(config-if)#ip address GAD(config-if)#no shutdownGAD(config-if)#exitStep 4 配置路由器GAD的主机名列表GAD(config)#ip host BHM Step 5 在GAD路由器上启动RIPGAD(config)#router ripGAD(config-router)#network GAD(config-router)#network GAD(config-router)#exitGAD(config)#exitStep 6 保存路由器GAD上的配置文件GAD#copy running-config startup-configDestination filename startup-config?EnterStep 7 配置路由器BHM的主机名和密码RouterenableRouter#configure terminalRouter(config)#hostname BHMBHM(config)#enable secret classBHM(config)#line console 0BHM(config-line)#password ciscoBHM(config-line)#loginBHM(config-line)#line vty 0 4BHM(config-line)#password ciscoBHM(config-line)#loginBHM(config-line)#exitBHM(config)#Step 8 配置路由器BHM的Serial 0/0BHM(config)#interface serial 0/0BHM(config-if)#ip address BHM(config-if)#no shutdownBHM(config-if)#exitStep 9 配置路由器BHM的fastethernet 0/0BHM(config)#interface fastethernet 0/0BHM(config-if)#ip address BHM(config-if)#no shutdownBHM(config-if)#exitStep 10 配置路由器BHM的主机名列表BHM(config)#ip host GAD Step 11 在BHM路由器上启动RIP BHM(config)#router ripBHM(config-router)#network BHM(config-router)#network BHM(config-router)#exitBHM(config)#exitStep 12 保存路由器BHM上的配置文件BHM#copy running-config startup-configDestination filename startup-config?EnterStep 13 为PC配置正确的IP地址,子网掩码和缺省网关a. 连接到GAD的PCIP Address: Subnet mask: Default gateway: b. 连接到BHM的PCIP Address: Subnet mask: Default gateway: Step 14 检查路由器GAD和BHW的路由表GAD#show ip routeCodes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B BGPD - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter areaN1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGPi - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * - candidatedefaultU - per-user static route, o - ODR, P - periodic downloadedstatic routeT - traffic engineered routeGateway of last resort is not setC /16 is directly connected, Serial0/0C /16 is directly connected, FastEthernet0/0R /16 120/1 via , Serial0/0BHM#show ip routeCodes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B BGPD - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter areaN1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGPi - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-ISinter area* - candidate default, U - per-user static route, o - ODRP - periodic downloaded static routeGateway of last resort is not setC /16 is directly connected, Serial0/0R /16 120/1 via , 00:00:27, Serial0/0C /16 is directly connected, FastEthernet0/0Step 15 在路由器GAD和BHW上启动RIPV2GAD(config)#router ripGAD(config-router)#version 2GAD(config-router)#exitGAD(config)#exitBHM(config)#router ripBHM(config-router)#version 2BHM(config-router)#exitBHM(config)#exit二 IGRP的配置本实验需要2600系列路由器两台,交换机一台,PC机两台,console线两条Step 1 配置路由器GAD和BHM的基本参数同RIP实验Step 2 在路由器GAD上启动IGRPGAD(config)#router igrp 101GAD(config-router)#network GAD(config-router)#network Step 3 保存路由器GAD上的配置文件GAD#copy running-config startup-configStep 4 在路由器BHM上启动IGRP BHM(config)#router igrp 101BHM(config-router)#network BHM(config-router)#network Step 5 保存路由器BHM上的配置文件BHM#copy running-config startup-configStep 6 为PC配置正确的IP地址,子网掩码和缺省网关连接到GAD的PCIP Address: Subnet mask: Default gateway: 连接到BHM的PCIP Address: Subnet mask: Default gateway: Step 7 查看路由器GAD和BHW的基本配置GAD#show running-config!version 12.0service timestamps debug uptimeservice timestamps log uptimeno service password-encryption!hostname GAD!enable secret 5 $1$HCww$MPv2SeZSoulZbI2ULmwBN.!ip subnet-zero!interface FastEthernet0/0ip address no ip directed-broadcast!interface Serial0/0ip address no ip directed-broadcastno ip mroute-cacheno fair-queueclockrate 56000!interface Serial0/1no ip addressno ip directed-broadcastshutdown!router igrp 101network network !no ip classlessip http server!line con 0exec-timeout 0 0password ciscologintransport input noneline aux 0password ciscologinline vty 0 4password ciscologin!endBHM#show running!version 12.0service timestamps debug uptimeservice timestamps log uptimeno service password-encryption!hostname BHM!enable secret 5 $1$IzR.$HkRSV8TmMTDuAWcw/QbVl0!ip subnet-zeroip host GAD !interface FastEthernet0/0ip address no ip directed-broadcast!interface Serial0/0ip address no ip directed-broadcastno ip mroute-cacheno fair-queue!interface Serial0/1no ip addressno ip directed-broadcastshutdownno fair-queue!router igrp 101network network !no ip classlessno ip http server!line con 0exec-timeout 0 0password ciscologintransport input noneline aux 0line vty 0 4password ciscologin!endBHM#show ip routeCodes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGPD - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter areaN1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGPi - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area* - candidate default, U - per-user static route, o - ODRP - periodic downloaded static routeGateway of last resort is not setC /24 is directly connected, FastEthernet0/0I /24 100/8576 via , 00:00:14, Serial0/0C /24 is directly connected, Serial0/0BHM#show ip protocolsRouting Protocol is igrp 101Sending updates every 90 seconds, next due in 44 secondsInvalid after 270 seconds, hold down 280, flushed after 630Outgoing update filter list for all interfaces isIncoming update filter list for all interfaces isDefault networks flagged in outgoing updatesDefault networks accepted from incoming updatesIGRP metric weight K1=1, K2=0, K3=1, K4=0, K5=0IGRP maximum hopcount 100IGRP maximum metric variance 1Redistributing: igrp 101Routing for Networks:Routing Information Sources:Gateway Distance Last Update 100 00:00:22Distance: (default is 100)GAD#debug ip igrp eventsIGRP event debugging is onGAD#00:17:43: IGRP: received update from on Serial0/000:17:43: IGRP: Update contains 0 interior, 1 system, and 0 exterior routes.00:17:43: IGRP: Total routes in update: 100:18:04: IGRP: sending update to 55 via FastEthernet0/0()00:18:04: IGRP: Update contains 0 interior, 2 system, and 0 exterior routes.00:18:04: IGRP: Total routes in update: 200:18:04: IGRP: sending update to 55 via Serial0/0 ()00:18:04: IGRP: Update contains 0 interior, 1 system, and 0 exterior routes.00:18:04: IGRP: Total routes in update: 1GAD#debug ip igrp transactionsIGRP protocol debugging is on00:24:53: IGRP: sending update to 55 via Ethernet0/0 ()00:24:53: network , metric=857600:24:53: network , metric=847600:24:53: IGRP: sending update to 55 via Serial0/0 ()00:24:53: network , metric=11000:26:07: IGRP: received update from on Serial0/000:26:07: network , metric 8576 (neighbor 110)GAD#show ip route Routing entry for /24Known via igrp 101, distance 100, metric 8576Redistributing via igrp 101Advertised by igrp 101 (self originated)Last update from on Serial0/0, 00:00:30 agoRouting Descriptor Blocks:* , from , 00:00:30 ago, via Serial0/0Route metric is 8576, traffic share count is 1Total delay is 21000 microseconds, minimum bandwidth is 1544 KbitReliability 179/255, minimum MTU 1500 bytesLoading 1/255, Hops 0三 EIGRP的配置本实验需要2600系列路由器两台,交换机一台,PC机两台,console线两条Step 1 配置路由器Router1RouterenableRouter#configure terminalRouter(config)#hostname PARISPARIS(config)#enable secret classPARIS(config)#line console 0PARIS(config-line)#password ciscoPARIS(config-line)#loginPARIS(config-line)#line vty 0 4PARIS(config-line)#password ciscoPARIS(config-line)#loginPARIS(config-line)#exitPARIS(config)#interface serial 0/0PARIS(config-if)#ip address 52PARIS(config-if)#clock rate 64000PARIS(config-if)#no shutdownPARIS(config-if)#exitPARIS(config-if)#interface loopback 0PARIS(config-if)#ip address PARIS(config-if)#exitPARIS(config)#interface fastethernet 0/0PARIS(config-if)#ip address PARIS(config-if)#no shutdownPARIS(config-if)#exitPARIS(config)#ip host WARSAW Router2RouterenableRouter#configure terminalRouter(config)#hostname WARSAWWARSAW(config)#enable secret classWARSAW(config)#line console 0WARSAW(config-line)#password ciscoWARSAW(config-line)#loginWARSAW(config-line)#line vty 0 4WARSAW(config-line)#password ciscoWARSAW(config-line)#loginWARSAW(config-line)#exitWARSAW(config)#interface serial 0/0WARSAW(config-if)#ip address 52WARSAW(config-if)#no shutdownWARSAW(config-if)#exitWARSAW(config)#interface fastethernet 0/0WARSAW(config-if)#ip address WARSAW(config-if)#no shutdownWARSAW(config-if)#exitWARSAW(config)#ip host PARIS Step 2 保存路由器上的配置文件Paris#copy running-config startup-configDestination filename startup-config? EnterWARSAW#copy running-config startup-configDestination filename startup-config? EnterStep 3 为PC配置正确的IP地址,子网掩码和缺省网关连接到巴黎的PCIP Address: Subnet mask: Default gateway: 连接到华沙的PCIP Address: Subnet mask: Default gateway: Step 4 在路由器Paris上启动EIGRPParis(config)#router eigrp 101Paris(config-router)#network Paris(config-router)#network Paris(config-router)#network Paris(config-router)#endStep 5 在路由器Warsaw上启动EIGRPWarsaw(config)#router eigrp 101Warsaw(config-router)#network Warsaw(config-router)#network Warsaw(config-router)#end四 OSPF的配置本实验需要2600系列路由器两台,交换机一台,PC机两台,console线两条Step 1 配置路由器Router1RouterenableRouter#configure terminalRouter(config)#hostname BERLINBERLIN(config)#enable secret classBERLIN(config)#line console 0BERLIN(config-line)#password ciscoBERLIN(config-line)#loginBERLIN(config-line)#line vty 0 4BERLIN(config-line)#password ciscoBERLIN(config-line)#loginBERLIN(config-line)#exitBERLIN(config)#interface serial 0/0BERLIN(config-if)#ip address 52BERLIN(config-if)#clock rate 64000BERLIN(config-if)#no shutdownBERLIN(config-if)#exitBERLIN(config)#interface fastEthernet 0/0BERLIN(config-if)#ip address 29 92BERLIN(configif)#no shutdownBERLIN(config-if)#exitBERLIN(config)#ip host ROME Router2RouterenableRouter#configure terminalRouter(config)#hostname ROMEROME(config)#enable password ciscoROME(config)#enable secret
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2025福建福州市台江区社区工作服务站专职工作人员招聘62人备考题库含答案详解(达标题)
- 2025年儿科年终总结
- 火星探测器课程
- 2025-2026学年福建省福州十六中教育集团七年级(上)期中数学试卷(含答案)
- 奶茶创业目标客户
- 北京师范大学2025年未来教育试验班(教育学)教育管理与教育质量提升试题及答案
- 河南省2025年餐饮服务食品安全管理人员能力考核试题含答案
- 小班水果认知课程大纲
- 临床用药注意事项
- 校园反恐防范知识
- 全南县2025年公开选调机关事业单位工作人员历年真题库及答案解析(夺冠)
- 2026金开新能校园招聘备考题库带答案解析
- 2025年郑州水务集团有限公司招聘80人笔试模拟试卷带答案解析
- 创伤急救模拟教学的团队协作模拟演练
- 2024年厦门市住房和建设局及所属事业单位招聘辅助岗位人员笔试真题
- 慢性心衰相关认知功能障碍管理方案
- 2025 年中国互联网助贷业务发展研究报告
- 水泥墩光伏安装施工方案
- 3套2025年发展对象考试100分试题(附全答案)
- 2025年上海公务员考试(城市建设管理)历年参考题库含答案详解(5套)
- 新高考高中物理竞赛专题4光学50题竞赛真题强化训练原卷版
评论
0/150
提交评论