实验64 多协议多区域的重分布.doc_第1页
实验64 多协议多区域的重分布.doc_第2页
实验64 多协议多区域的重分布.doc_第3页
实验64 多协议多区域的重分布.doc_第4页
实验64 多协议多区域的重分布.doc_第5页
已阅读5页,还剩1页未读 继续免费阅读

下载本文档

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

文档简介

实验六十四 多协议多区域的重分布一、实验目的通过本实验可以掌握多种路由重分布配置以及相应的应用。二、实验要求:1):知道什么是路由重分布2):知道配置路由重分布的作用3): 知道如何配置路由重分布三、 实验内容:1让各个协议可以相互交换路由信息四、实验步聚实验拓扑:1).配置R1 R1(config)#int s1/0 R1(config-if)#ip add 192.168.1.1 255.255.255.0 R1(config-if)#clock rate 64000 R1(config-if)#no sh R1(config)#int lo0 R1(config-if)#ip add 1.1.1.1 255.255.255.02).配置R2 R2(config)#int s1/0 R2(config-if)#ip add 192.168.1.2 255.255.255.0 R2(config-if)#no sh R2(config)#int s1/1 R2(config-if)#ip add 192.168.2.1 255.255.255.0 R2(config-if)#clock rate 64000 R2(config-if)#no shR2(config)#int lo0 R2(config-if)#ip add 2.2.2.2 255.255.255.03).配置R3 R3(config)#int s1/1 R3(config-if)#ip add 192.168.2.2 255.255.255.0 R3(config-if)#no shR3(config)#int s1/0 R3(config-if)#ip add 192.168.3.1 255.255.255.0 R3(config-if)#clock rate 64000 R3(config-if)#no sh R3(config)#int lo0 R3(config-if)#ip add 3.3.3.3 255.255.255.04).配置R4 R4(config)#int s1/0 R4(config-if)#ip add 192.168.3.2 255.255.255.0 R4(config-if)#no sh R4(config)#int s1/1 R4(config-if)#ip add 192.168.4.1 255.255.255.0 R4(config-if)#clock rate 64000R4(config-if)#no sh R4(config)#int lo0R4(config-if)#ip add 4.4.4.4 255.255.255.05).配置R5 R5(config)#int s1/1 R5(config-if)#ip add 192.168.4.2 255.255.255.0 R5(config-if)#no sh R5(config)#int s1/0 R5(config-if)#ip add 192.168.5.1 255.255.255.0 R5(config-if)#clock rate 64000R5(config-if)#no sh R5(config)#int lo0R5(config-if)#ip add 5.5.5.5 255.255.255.06).配置R6 R6(config)#int s1/0 R6(config-if)#ip add 192.168.5.2 255.255.255.0 R6(config-if)#no sh R6(config)#int lo0R6(config-if)#ip add 6.6.6.6 255.255.255.07).宣告R1路由协议R1(config)#router isisR1(config-router)#net 49.0001.1111.1111.1111.00R1(config-router)#is-type level-2R1(config)#int s1/0R1(config-if)#ip router isisR1(config)#int lo0R1(config-if)#ip router isis8).宣告R2路由协议R2(config)#router isisR2(config-router)#net 49.0002.2222.2222.2222.00R2(config-router)#is-type level-2R2(config)#int s1/0R2(config-if)#ip router isisR2(config)#router ospf 1R2(config-router)#net 192.168.2.0 0.0.0.255 area 0R2(config-router)# net 2.2.2.0 0.0.0.255 area 09).宣告R3路由协议R3(config)#router ospf 1R3(config-router)#net 192.168.2.0 0.0.0.255 area 0R3(config-router)#net 192.168.3.0 0.0.0.255 area 1R3(config-router)# net 2.2.2.0 0.0.0.255 area 110).宣告R4路由协议R4(config)#router ospf 1R4(config-router)#net 192.168.3.0 0.0.0.255 area 1R4(config)#router ripR4(config-router)#ver 2R4(config-router)#no auto-summaryR4(config-router)net 192.168.4.0R4(config-router)net 4.4.4.011).宣告R5路由协议R5(config)#router ripR5(config-router)#ver 2R5(config-router)#no auto-summaryR5(config-router)#net 192.168.4.0R5(config)#router eigrp 100R5(config-router)#no auto-summaryR5(config-router)#net 192.168.5.0R5(config-router)#net 5.5.5.012).宣告R6路由协议R6(config)#router eigrp 100R6(config-router)#no auto-summaryR6(config-router)#net 192.168.5.0R6(config-router)#net 6.6.6.013).查看路由表R6#sh ip route Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2 i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2 ia - IS-IS inter area, * - candidate default, U - per-user static route o - ODR, P - periodic downloaded static routeGateway of last resort is not set 5.0.0.0/24 is subnetted, 1 subnetsD 5.5.5.0 90/2297856 via 192.168.5.1, 00:00:20, Serial1/0 6.0.0.0/24 is subnetted, 1 subnetsC 6.6.6.0 is directly connected, Loopback0C 192.168.5.0/24 is directly connected, Serial1/0可以看出在没有做路由重分布时,路由器R6是获取不到其它路由器的路由信息的。14).配置路由重分布R2(config)#router isisR2(config-router)#redistribute ospf 1 metric 5 metric-type externalR2(config)#router ospf 1R2(config-router)#redistribute isis subnetsR4(config)#router ospf 1R4(config-router)#redistribute rip subnetsR4(config)#router ripR4(config-router)#ver 2R4(config-router)#redistribute ospf 1 metric 5R5(config)#router ripR5(config-router)#ver 2R5(config-router)#redistribute eigrp 1 metric 5R5 (config)#router eigrp 100R5(config-router)#redistribute rip metric 10000 100 255 1 150015).查看路由表R6#sh ip route Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2 i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2 ia - IS-IS inter area, * - candidate default, U - per-user static route o - ODR, P - periodic downloaded static routeGateway of last resort is not set 2.0.0.0/32 is subnetted, 1 subnetsD EX 2.2.2.2 170/2195456 via 192.168.5.1, 00:00:01, Serial1/0 3.0.0.0/32 is subnetted, 1 subnetsD EX 3.3.3.3 170/2195456 via 192.168.5.1, 00:00:01, Serial1/0 4.0.0.0/24 is subnetted, 1 subnetsD EX 4.4.4.0 170/2195456 via 192.168.5.1, 00:00:01, Serial1/0 5.0.0.0/24 is subnetted, 1 subnetsD 5.5.5.0 90/2297856 via 192.168.5.1, 00:00:01, Serial1/0 6.0.0.0/24 is subnetted, 1 subnetsC 6.6.6.0 is directly connected, Loopback0D EX 192.168.4.0/24 170/2195456 via 192.168.5.1, 00:00:01, Serial1/0C 192.168.5.0/24 is directly connected, Serial1/0D EX 192.168.2.0/24 170/2195456 via 192.168.5.1, 00:00:01, Serial1/0D EX 192.168.3.0/24 170/2195456 via 192.168.5.1, 00:00:03, Serial1/0可以看出路由器R6已经获取到其它路由器的路由信息,但是没有路由R1的,原因和上个实验一样。下面我通过这个命令来实现R6获取所有路由信息16).宣告直连路由R2(config)#router ospf 1R2(config-router)# redistribute connected subntes17).查看路由表R6#sh ip route Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2 i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2 ia - IS-IS inter area, * - candidate default, U - per-user static route o - ODR, P - periodic downloaded static routeGateway of last resort is not set 1.0.0.0/24 is subnetted, 1 subnetsD EX 1.1.1.0 170/2195456 via 192.168.5.1, 00:05:05, Serial1/0 2.0.0.0/32 is subnetted, 1 subnetsD EX 2.2.2.2 170/2195456 via 192.168.5.1, 00:05:38, Serial1/0 3.0.0.0/32 is subnetted, 1 subnetsD EX 3.3.3.3 170/2195456 via 192.168.5.1, 00:05:38, Serial1/0 4.0.0.0/24 is subnetted, 1 subnetsD EX 4.4.4.0 170/2195456 via 192.168.5.1, 00:05:38, Serial1/0 5.0.0.0/24 i

温馨提示

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

评论

0/150

提交评论