




已阅读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年技术路径与市场前景分析报告
- 江西单招解剖试题及答案
- 江苏省泰州市口岸实验校2025届三月调考物理试题含解析
- 教师教育教学反思的职业认同与发展试题及答案
- 电商平台的用户价值提升策略试题及答案
- 注册土木工程师考试提升潜力试题及答案
- 汽车行业2025年新能源汽车充电桩行业发展趋势与政策影响
- 工业互联网平台RFID技术在智能工厂生产设备智能化升级中的应用报告
- 小学教师情境教学方法试题及答案
- 文化行业面试题及答案
- 《危险化学品企业安全生产标准化规范》专业深度解读与应用培训指导材料之8:5管理要求-5.8作业安全(雷泽佳编制-2025A0)
- (二模)2024~2025学年度苏锡常镇四市高三教学情况调研(二)物理试卷(含答案)
- 比亚迪充电桩转让合同协议
- 事件网络舆情传播机制的建模与仿真-全面剖析
- 初中信息技术苏科版(2023)七年级下册第七单元 跨学科主题学习-丝绸之路公开课教案及反思
- 2025年高考语文作文预测52篇(含范文)
- 山西太原事业单位考试《行测》模拟题带答案2023年
- 《昭君出塞》课本剧剧本:感受历史深处的家国情怀
- 领略文化魅力坚定文化自信(课件)(春晚、文化专题)2024-2025学年统编版道德与法治中考二轮热点专题复习
- 投融资考试笔试题及答案
- 疫苗出入库登记制度
评论
0/150
提交评论