版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、实验18:路由重分发(路由注入)參««曲畑)谄賀1工作:Ktribu* BAW0fiO?jfD/O1 號 1» 丨 1/24R0m. IM 3 1/L4£0/019f 1« 3 2/ ?4I9Z. 163.2 I/Z4在犬昱的左业中 > 町® ERFAftl5 *f«S*WiSt 衍了FtW俪曲旳谒的忡制工作 > 歸由那可I快用"1IW於ga待JT学习目庄-刑SlT加:晒曲:玫另一陀谢勺农广出去 遠1st 7 通了l%r 160 1 2/Z4话擀S由ttt? IBS 4 1/2410/016S.4 2/
2、24L«. L63 S. 1/240®1041RZ1« 01% IM S 1/24£0与Bl 磴过ti加老 12与RL 曲RL p 過!QlHklft议1 重分发 flJt&IP:(e«nfif)retil«r ripW: (cwfirreat«r)*r«4illribut tlalic nitric 2IIS (c«nfi c-Tflul<r?Uibflli rmftteltd scUie 12 BX>J0£fr(-£vik£ i. ()t mt
3、1;fc Citjif 1 F1F : (C4ef3C4Tit*rIVradaxtribut* 卫接;(ciitf? r-rout*r iwi iia itrvkut* 静环:C4ii.fi-r sut*r JI±«distribut*ri> Tubfitli < 3bftttT'*T¥FU ) gwccmL*e<ti玄私堇左RIFOSFF (cnfic-rfluter Ifrediilr ibite «spf 1 netric 3首先先配置RO跑np协议、R2 B9 opt瞬议、R3的静态路由协议,緩若配宣R1路由里的童分发协
4、认 此讨脸里RL充当这粧译的工柞R0Route r*enRocterWconf tRoute r(config )#host ROROfconfig)#roLiter ripR0( config - 脸1.0网段个2.0网段活加rip协议R2Router =-enRouterconf tRouter (config)* host R2R2(config)#routcr ospf 1R2(config - a 0R2:config router)#netwcrk a 0"给3 0网段和5 0网段潘加ospf协叹R3Router j-enRouter#conf IRoute r (con
5、fig )#host R3/默认的靜态路由(因为R3是適过4.1勺外界通危通往R3的静态路由协议/rip直连网络車分发/rip静态路由垂分发ULt步驟均为rip协议重分发R1RouteoenRouter#conf tRouter(config)#host R1Rl(config)#router ripRl(configuter冲redistribute connected metric 1Rl(configrouter)#redi$tribute static metric 2Rl(config-router)#AZR1 (config-router)#network 192.168.3.0
6、0.0.0.255 a 0 Rl(configrou2r)nredisulbiHe connected Rl(configrouter)伴redistribute staticRl(config outerj# redistribute rip sub netsR l(config - router)# A Z Rl#/ospf JSil协议更分发/ospf静态路由堇分发/ospf协议rip吏分发Ot步慕均为ospf协议重分发Rl#conf tRl(config)#router ripRl(configrouler)常redistribute ospf 1 metric 3/rip协议ospf
7、車分友R1#Rl#conf tRl(config)#router ospf 1Rl(config-router)#路由当作主机来pin?其他路由的ip地址知识扩展R3 徉 pingProtocol ip: ipRepeat count :Datagram size |100):Timeout in seconds 2:Extended commands n: yType of service 0:Set DF bit in IP header? (no):Validate reply data? no:ip协议/默认默认默认扩载按Y/源地址默认/畑/默认Data pattern OxABCD:
8、/ 默认Loose, Strict, Record, Timestamp, Verbosenone: / 默认 Sweep range of sizes (n:/ 默认Type escape sequence to abort 默认iiiii Success rate is 100 percent (5/5), round-trip min/avg/max = 47/59/62 msRouter>enableRouter#configure terminalEnter configuration commands, one per line. End with CNTL/Z. Route
9、r(config)#interface FastEthernet0/0Router(config-if)#ip address Router(config-if)#no shutdownRouter(config-if)#%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up Router(config-if)#exitRouter(config)#interface FastEthernet0/1Router(config-if)#ip address Router(config-if)#no shutdown%LINK
10、-5-CHANGED: Interface FastEthernet0/1, changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up Router(config-if)#Router(config-if)#exitRouter(config)#interface FastEthernet0/0 Router(config-if)#Router(config-if)#exitRouter(config)#interface FastEthern
11、et0/1 Router(config-if)#%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to upRouter con0 is now availablePress RETURN to get started.Router>Router>Router>enRouter#conf terEnter configuration commands, one per line. End with CNTL/Z.Router(config)#Router(config)
12、#hosRouter(config)#hostna R0R0(config)#neR0(config)#rouR0(config)#router ripR0(config)#router ripR0(config-router)#neR0(config-router)#network R0(config-router)#network R0(config-router)#exiR0(config)#R0(config)#R0(config)#R0#%SYS-5-CONFIG_I: Configured from console by consoleRouter>enableRouter#
13、configure terminalEnter configuration commands, one per line. End with CNTL/Z.Router(config)#interface FastEthernet0/0Router(config-if)#no shutdown%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up Rout
14、er(config-if)#ip address Router(config-if)#Router(config-if)#exitRouter(config)#interface FastEthernet0/1Router(config-if)#no shutdown%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up Router(config-if)
15、#ip address Router(config-if)#exiRouter(config)#Router(config)#Router(config)#hoRouter(config)#hostname R2R2(config)#rouR2(config)#router osR2(config)#router ospf 1R2(config-router)#neR2(config-router)#network a 0R2(config-router)#network a 0R2(config-router)#Router>enableRouter#configure termina
16、lEnter configuration commands, one per line. End with CNTL/Z.Router(config)#interface Serial0/0/0Router(config-if)#%LINK-5-CHANGED: Interface Serial0/0/0, changed state to upno shutdown Router(config-if)#ip address Router(config-if)#clock rate 64000Router(config-if)# Router(config-if)#exitRouter(con
17、fig)#interface FastEthernet0/1 Router(config-if)#%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to upno shutdown%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up Router(conf
18、ig-if)#ip address Router(config-if)#exiRouter(config)#Router(config)#Router# %SYS-5-CONFIG_I: Configured from console by consoleRouter#Router#conf terEnter configuration commands, one per line. End with CNTL/Z. Router(config)#Router(config)#hosRouter(config)#hostname R3R3(config)#ip rouR3(config)#ip
19、 route R3(config)#Router>enableRouter#configure terminalEnter configuration commands, one per line. End with CNTL/Z.Router(config)#interface FastEthernet0/0Router(config-if)#no shutdown%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface
20、FastEthernet0/0, changed state to up Router(config-if)#ip address Router(config-if)#Router(config-if)#exitRouter(config)#interface FastEthernet0/1Router(config-if)#no shutdownRouter(config-if)#%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to upip address Router(config-if)#Router(config-i
21、f)#exitRouter(config)#interface FastEthernet0/0Router(config-if)#Router(config-if)#exitRouter(config)#interface FastEthernet0/1Router(config-if)#ip address Router(config-if)#Router(config-if)#exitRouter(config)#interface Serial0/0/0Router(config-if)#ip address Router(config-if)#no shutdownRouter(con
22、fig-if)#clock rate 64000Router(config-if)#%LINK-5-CHANGED: Interface Serial0/0/0, changed state to up%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to upRouter con0 is now availablePress
23、RETURN to get started.Router>Router>enRouter#conf terEnter configuration commands, one per line. End with CNTL/Z. Router(config)#Router(config)#Router(config)#host R1R1(config)#ip rouR1(config)#ip route R1# conf terEnter configuration commands, one per line. End with CNTL/Z.R1(config)#R1(confi
24、g)#R1(config)#ip rouR1(config)#ip route R1(config)#rouR1(config)#router ripR1(config-router)#neR1(config-router)#network R1(config-router)#reR1(config-router)#redistribute conR1(config-router)#redistribute connected meR1(config-router)#redistribute connected metric 1R1(config-router)#reR1(config-rou
25、ter)#redistribute stR1(config-router)#redistribute static meR1(config-router)#redistribute static metric 2R1(co nfig-router)#AZR1#%SYS-5-CONFIG_I: Configured from console by consoleR1#R1#R1#conf terEnter configuration commands, one per line. End with CNTL/Z.R1(config)#rouR1(config)#router osR1(confi
26、g)#router ospf 1R1(config-router)#neR1(config-router)#reR1(config-router)#redistribute conR1(config-router)#redistribute connected% Only classful networks will be redistributedR1(config-router)#R1(config-router)#reR1(config-router)#redistribute stR1(config-router)#redistribute static% Only classful
27、networks will be redistributedR1(config-router)#reR1(config-router)#redistribute riR1(config-router)#redistribute rip suR1(config-router)#redistribute rip subnets ?tag Set tag for routes redistributed into OSPF<cr>R1(config-router)#redistribute rip subnetsR1(config-router)#neR1(config-router)#
28、network arR1(config-router)#network area 0R1(config-router)#reR1(config-router)#redistribute ?connectedConnectedeigrpEnhanced Interior Gateway Routing Protocol (EIGRP)metricMetric for redistributed routesospfOpen Shortest Path First (OSPF)ripRouting Information Protocol (RIP)staticStatic routesR1(co
29、nfig-router)#redistribute conR1(config-router)#redistribute connected ?metric Metric for redistributed routesmetric-type OSPF/IS-IS exterior metric type for redistributed routes subnetsConsider subnets for redistribution into OSPFtag Set tag for routes redistributed into OSPF <cr>R1(config-router)#redistribute connected% Only classful networks will be redistributedR1(config-router)#reR1(config-router)#redistribute st R1(config-router)#redistribute static ?metric Metric for redistributed routesmetric-type OSPF/IS-IS exterior metric type for redistributed routes subnetsConsider subn
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2025年洗车店租赁与客户满意度调查合同3篇
- 二零二五版智能车辆深度清洁与保养合同2篇
- 二零二五年酒店前台服务员聘用合同3篇
- 2025年度药店营业员药品销售业绩考核聘用合同4篇
- 二零二五版白酒品牌二批经销商市场分析合同2篇
- 2025年度航空航天设备买卖合同范本4篇
- 2025年门窗工程安全风险评估与管控合同3篇
- 二零二五年度民宿特色装修设计及施工一体化合同4篇
- 二零二五年度高新技术产业研发资金借款合同样本4篇
- 二零二五版二手房买卖合同附加装修保证金协议2篇
- MT/T 199-1996煤矿用液压钻车通用技术条件
- GB/T 6144-1985合成切削液
- GB/T 10357.1-2013家具力学性能试验第1部分:桌类强度和耐久性
- 第三方在线纠纷解决机制(ODR)述评,国际商法论文
- 公寓de全人物攻略本为个人爱好而制成如需转载注明信息
- 第5章-群体-团队沟通-管理沟通
- 肾脏病饮食依从行为量表(RABQ)附有答案
- 深基坑-安全教育课件
- 园林施工管理大型园林集团南部区域养护标准图例
- 排水许可申请表
- 低血糖的观察和护理课件
评论
0/150
提交评论