Eigrp-ospf重分布抽空做了一个关于CCNPeigrp-ospf重分布(redistribute)的实验个别翻译仅按照作者自身习惯,以下内容均属原创,有不当之处欢迎大家指正,欢迎交流,同时CCNP后续实验教程会陆续放出,敬请关注。转载请标明出处:Miss的痕迹的百度空间。关于eigrp-ospf的重分布实验,有两个变化,第一个是冗余链路(redundantlink),第二个是最优路径选择(thegreatestbandwidth)。下面是英文模拟题该文件来源于鸿鹄论坛CCNP题库,加中文翻译,该翻译为本人即兴翻译粗糙难懂之处希望大家见谅1.EIGRPOSPFRedistributionSim1.EigrpOspf重分布模拟实验(应该是Simulation的缩写我这是闲得有多无聊)Question:(Hopesomeonewillcontributethedetailedrequirementofthissim!)问题:(希望有人能都贡献更加详尽的题目要求(老外好诙谐,呵呵))SomeinformationIhavegatheredsofar:目前为止我们获得的信息有:R2isanASBRforEIGRP100andOSPFAREA24R2是Eigrp100和OspfArea24的ASBR(感觉跟没翻译似的,不过没办法,没相关的中文词汇)R3isanASBRforEIGRP100andOSPFAREA34R3是Eigrp100和OspfArea34的ASBR[note:sothereareTWOseparateareasonTWOseparateASBRS[注意:两个独立的ASBR上面都有独立的区域thusyouneedtodoredistributiononR2andR3因此你需要在R2和R3上做充分发R1isONLYinEIGRP100,andisTHEONLYrouteryoucanpingfrom.R4hasaloopbackinterfacethatmustbepingedfromR1.R1只在Eigrp100区域,并且你只能从R1上往外ping。R4有一个必须能被R1ping通的loopback端口R4isrunningOSPFandhasredundantlinktoEIGRPnetworkoverR3router.R4上启用Ospf协议并且有一条通过R3的冗余链路到Eigrp区域。Notice:YoushouldmakeapingfromR1to172.16.100.1networktomakesureeverythingisworkingcorrectly.注意:你应该能从R1ping通72,16.100.1,确保所有的链路都能正常工作。上面那段感觉跟绕口令似的我们先介绍第一种情况即冗余链路的情况,冗余链路的拓扑和最优路径的拓扑是有区别的(废话没区别哪来的两种情况。)区别呢就是R2和R3之间的链路,先说冗余,有图分析(作者未按照原题库搭建拓扑)如果同时在R2和R3之间做重分布:R1到1.1.1.0的路径必定是R1--R2--R4--1.1.1.01.1.1.0到R1的路径必定是1.1.1.0--R4--R3--R2--R1满足题目能互通并且冗余的要求不要问为什么,探究者请自行输入showipeigrptopology命令计算。命令如下:R1#enableR1#configureterminalEnterconfigurationcommands,oneperline.EndwithCNTL/Z.R1(config)#interfaceserial1/0R1(config-if)#ipaddress192.168.12.1255.255.255.0R1(config-if)#noshutdownR1(config-if)#exitR1(config)#routereigrp1R1(config-router)#network192.168.12.0R1(config-router)#exitR2#enableR2#configureterminalEnterconfigurationcommands,oneperline.EndwithCNTL/Z.R2(config)#interfaceserial1/0R2(config-if)#ipaddress192.168.12.2255.255.255.0R2(config-if)#noshutdownR2(config-if)#exitR2(config)#interfaceserial1/1R2(config-if)#ipaddress192.168.23.1255.255.255.0R2(config-if)#noshutdownR2(config-if)#exitR2(config)#interfaceserial1/2R2(config-if)#ipaddress192.168.24.1255.255.255.0R2(config-if)#noshutdownR2(config-if)#exitR2(config)#routereigrp1R2(config-router)#network192.168.12.0R2(config-router)#network192.168.23.0R2(config-router)#exitR2#showinterfaceserial1/2Serial1/2isup,lineprotocolisupHardwareisM4TInternetaddressis192.168.24.1/24MTU1500bytes,BW1544Kbit/sec,DLY20000usec,reliability255/255,txload1/255,rxload1/255EncapsulationHDLC,crc16,loopbacknotsetKeepaliveset(10sec)Restart-Delayis0secsLastinput00:00:03,output00:00:04,outputhangneverLastclearingofshowinterfacecountersneverInputqueue:0/75/0/0(size/max/drops/flushes);Totaloutputdrops:0Queueingstrategy:weightedfairOutputqueue:0/1000/64/0(size/maxtotal/threshold/drops)Conversations0/1/256(active/maxactive/maxtotal)ReservedConversations0/0(allocated/maxallocated)AvailableBandwidth1158kilobits/sec5minuteinputrate0bits/sec,0packets/sec5minuteoutputrate0bits/sec,0packets/sec37packetsinput,3435bytes,0nobufferReceived18broadcasts,0runts,0giants,0throttles0inputerrors,0CRC,0frame,0overrun,0ignored,0abort71packetsoutput,4993bytes,0underruns0outputerrors,0collisions,2interfaceresets0unknownprotocoldrops0outputbufferfailures,0outputbuffersswappedout3carriertransitionsDCD=upDSR=upDTR=upRTS=upCTS=up查看端口的Metric:BW1544Kbit/sec,DLY20000usec,reliability255/255,txload1/255,rxload1/255MTU1500bytes特别说明一句Delaymetric的单位是10ms,感觉这是个坑记得要除以10.只有这一句有用剩下的都是废话R2(config)#routereigrp1R2(config-router)#redistributeospf1metric1544200025511500R2(config-router)#exitR2(config)#routerospf1R2(config-router)#redistributeeigrp1subnets(PS:有人建议metric的类型设置为1测试时默认并不影响选择路径,在最后会贴上metric的类型为2时的数据有兴趣可以自行分析)。R3#enableR3#configureterminalEnterconfigurationcommands,oneperline.EndwithCNTL/Z.R3(config)#interfaceserial1/1R3(config-if)#ipaddress192.168.23.2255.255.255.0R3(config-if)#noshutdownR3(config-if)#exitR3(config)#interfaceethernet0/0R3(config-if)#ipaddress192.168.34.1255.255.255.0R3(config-if)#noshutdownR3(config-if)#exitR3(config)#routereigrp1R3(config-router)#network192.168.23.0R3(config-router)#exitR3(config)#routerospf1R3(config-router)#network192.168.34.00.0.0.255area3R3(config-router)#exitR3(config)#doshowinte0/0Ethernet0/0isup,lineprotocolisupHardwareisAmdP2,addressiscc02.0ffc.0000(biacc02.0ffc.0000)Internetaddressis192.168.34.1/24MTU1500bytes,BW10000Kbit/sec,DLY1000usec,reliability255/255,txload1/255,rxload1/255EncapsulationARPA,loopbacknotsetKeepaliveset(10sec)ARPtype:ARPA,ARPTimeout04:00:00Lastinput00:00:02,output00:00:03,outputhangneverLastclearingofshowinterfacecountersneverInputqueue:0/75/0/0(size/max/drops/flushes);Totaloutputdrops:0Queueingstrategy:fifoOutputqueue:0/40(size/max)5minuteinputrate0bits/sec,0packets/sec5minuteoutputrate0bits/sec,0packets/sec42packetsinput,5503bytes,0nobufferReceived34broadcasts,0runts,0giants,0throttles0inputerrors,0CRC,0frame,0overrun,0ignored0inputpacketswithdribbleconditiondetected86packetsoutput,8711bytes,0underruns0outputerrors,0collisions,1interfaceresets0unknownprotocoldrops0