路由重发布的配置_第1页
路由重发布的配置_第2页
路由重发布的配置_第3页
路由重发布的配置_第4页
路由重发布的配置_第5页
已阅读5页,还剩5页未读 继续免费阅读

下载本文档

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

文档简介

1、.创建高级路由型互联网实验报告时间:2010-09-10实验名称:路由重发布班 级姓名实验内容1、拓扑图:2、实验步骤:1 在R1,R2,R3,R4上配置IP地址R1(config-line)*exitR1(config)*int s1/0R1(config-if)*ip address 12.1.1.1 255.255.255.0R1(config-if)*no shutdownR1(config)*int loopback 0R1(config-if)*ip address 1.1.1.1 255.255.255.0R1(config-if)*no shutdown R1(config-i

2、f)*exitR1(config)*int loopback 1R1(config-if)*ip address 2.2.2.2 255.255.255.0R1(config-if)*no shutdown R1(config-if)*exitR1(config)*int loopback 2R1(config-if)*ip address 3.3.3.3 255.255.255.0R1(config-if)*no shutdownR2(config)*int s1/1R2(config-if)*ip address 12.1.1.2 255.255.255.0R2(config-if)*no

3、 shutdown R2(config-if)*int s1/0R2(config-if)*ip address 23.1.1.1 255.255.255.0R2(config-if)*no shutdownR3(config)*int s1/0R3(config-if)*ip address 34.1.1.1 255.255.255.0R3(config-if)*no shutdownR3(config-if)*int s1/1R3(config-if)*ip address 23.1.1.2 255.255.255.0R3(config-if)*no shutdown R3(config-

4、if)*exitR3(config)*int loopback 0R3(config-if)*ip address 4.4.4.4 255.255.255.0R3(config-if)*no shutdown R3(config-if)*exitR3(config)*int loopback 1 R3(config-if)*ip address 5.5.5.5 255.255.255.0R3(config-if)*no shutdown R3(config-if)*exitR3(config)*int loopback 3 R3(config-if)*ip address 6.6.6.6 25

5、5.255.255.0R3(config-if)*no shutdown R3(config-if)*ZR4(config-line)*exitR4(config)*int s1/1R4(config-if)*ip address 34.1.1.2 255.255.255.0R4(config-if)*no shutdown R4(config)*int loopback 0R4(config-if)*ip address 7.7.7.7 255.255.255.0R4(config-if)*no shutdown R4(config-if)*exit2配置RIP和ospf。R1(config

6、)*router rip R1(config-router)*network 12.1.1.0R1(config-router)*network 1.1.1.0 R1(config-router)*network 2.2.2.0R1(config-router)*network 3.3.3.0R1(config-router)*version 2R1(config-router)*no auto-summaryR2(config)*router ripR2(config-router)*network 12.1.1.0R2(config-router)*version 2R2(config-r

7、outer)*no auto-summary R2(config-router)*exitR2(config)*router ospf 110R2(config-router)*network 23.1.1.0 0.0.0.255 area 0R3(config)*router ospf 110 R3(config-router)*net R3(config-router)*network 23.1.1.0 0.0.0.255 area 0R3(config-router)*network 4.4.4.0 0.0.0.255 area 0 R3(config-router)*network 5

8、.5.5.0 0.0.0.255 area 0R3(config-router)*network 6.6.6.0 0.0.0.255 area 0R3(config-router)*network 34.1.1.0 0.0.0.255 area 1R4(config)*router ospf 110R4(config-router)*network 34.1.1.0 0.0.0.255 area 1 R4(config-router)*network 7.7.7.0 0.0.0.255 area 1 3查看路由表R1*show ip route Codes: C - connected, S

9、- 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 i

10、nter 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 subnetsC 1.1.1.0 is directly connected, Loopback0 2.0.0.0/24 is subnetted, 1 subnetsC 2.2.2.0 is directly connected, Loopback1 3.0.0.0

11、/24 is subnetted, 1 subnetsC 3.3.3.0 is directly connected, Loopback2 12.0.0.0/24 is subnetted, 1 subnetsC 12.1.1.0 is directly connected, Serial1/0R2*show 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

12、 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 routeGatewa

13、y of last resort is not set 34.0.0.0/24 is subnetted, 1 subnetsO IA 34.1.1.0 110/128 via 23.1.1.2, 00:01:06, Serial1/0 1.0.0.0/24 is subnetted, 1 subnetsR 1.1.1.0 120/1 via 12.1.1.1, 00:00:07, Serial1/1 2.0.0.0/24 is subnetted, 1 subnetsR 2.2.2.0 120/1 via 12.1.1.1, 00:00:07, Serial1/1 3.0.0.0/24 is

14、 subnetted, 1 subnetsR 3.3.3.0 120/1 via 12.1.1.1, 00:00:07, Serial1/1 4.0.0.0/32 is subnetted, 1 subnetsO 4.4.4.4 110/65 via 23.1.1.2, 00:01:06, Serial1/0 5.0.0.0/32 is subnetted, 1 subnetsO 5.5.5.5 110/65 via 23.1.1.2, 00:01:06, Serial1/0 6.0.0.0/32 is subnetted, 1 subnetsO 6.6.6.6 110/65 via 23.1

15、.1.2, 00:01:06, Serial1/0 23.0.0.0/24 is subnetted, 1 subnetsC 23.1.1.0 is directly connected, Serial1/0 7.0.0.0/32 is subnetted, 1 subnetsO IA 7.7.7.7 110/129 via 23.1.1.2, 00:01:07, Serial1/0 12.0.0.0/24 is subnetted, 1 subnetsC 12.1.1.0 is directly connected, Serial1/1R3*show ip route Codes: C -

16、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

17、 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 34.0.0.0/24 is subnetted, 1 subnetsC 34.1.1.0 is directly connected, Serial1/0 4.0.0.0/24 is subnetted, 1 subnetsC 4.4.4.0 is directly connected, Lo

18、opback0 5.0.0.0/24 is subnetted, 1 subnetsC 5.5.5.0 is directly connected, Loopback1 6.0.0.0/24 is subnetted, 1 subnetsC 6.6.6.0 is directly connected, Loopback3 23.0.0.0/24 is subnetted, 1 subnetsC 23.1.1.0 is directly connected, Serial1/1 7.0.0.0/32 is subnetted, 1 subnetsO 7.7.7.7 110/65 via 34.1

19、.1.2, 00:03:12, Serial1/0R4*show 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 -

20、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 34.0.0.0/24 is subnetted, 1 subnetsC 34.1.1.0 is directly connected, Serial1/1 4.0.0.0/32 is su

21、bnetted, 1 subnetsO IA 4.4.4.4 110/65 via 34.1.1.1, 00:18:18, Serial1/1 5.0.0.0/32 is subnetted, 1 subnetsO IA 5.5.5.5 110/65 via 34.1.1.1, 00:18:08, Serial1/1 6.0.0.0/32 is subnetted, 1 subnetsO IA 6.6.6.6 110/65 via 34.1.1.1, 00:17:52, Serial1/1 23.0.0.0/24 is subnetted, 1 subnetsO IA 23.1.1.0 110

22、/128 via 34.1.1.1, 00:18:46, Serial1/1 7.0.0.0/24 is subnetted, 1 subnetsC 7.7.7.0 is directly connected, Loopback04 R2上配置路由重发布R2(config)*router rip R2(config-router)*redistribute ospf 110 metric 2R2(config-router)*exitR2(config)*router ospf 110 R2(config-router)*redistribute rip subnets5配置完后查看路由表R1

23、*show 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 l

24、evel-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 34.0.0.0/24 is subnetted, 1 subnetsR 34.1.1.0 120/2 via 12.1.1.2, 00:00:20, Serial1/0 1.0.0.0/24 is subnetted, 1 subnetsC

25、1.1.1.0 is directly connected, Loopback0 2.0.0.0/24 is subnetted, 1 subnetsC 2.2.2.0 is directly connected, Loopback1 3.0.0.0/24 is subnetted, 1 subnetsC 3.3.3.0 is directly connected, Loopback2 4.0.0.0/32 is subnetted, 1 subnetsR 4.4.4.4 120/2 via 12.1.1.2, 00:00:20, Serial1/0 5.0.0.0/32 is subnett

26、ed, 1 subnetsR 5.5.5.5 120/2 via 12.1.1.2, 00:00:20, Serial1/0 6.0.0.0/32 is subnetted, 1 subnetsR 6.6.6.6 120/2 via 12.1.1.2, 00:00:21, Serial1/0 23.0.0.0/24 is subnetted, 1 subnetsR 23.1.1.0 120/2 via 12.1.1.2, 00:00:21, Serial1/0 7.0.0.0/32 is subnetted, 1 subnetsR 7.7.7.7 120/2 via 12.1.1.2, 00:

27、00:22, Serial1/0 12.0.0.0/24 is subnetted, 1 subnetsC 12.1.1.0 is directly connected, Serial1/0R2*show 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

28、 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 34.0.0.0/24 is subnetted,

29、 1 subnetsO IA 34.1.1.0 110/128 via 23.1.1.2, 00:31:25, Serial1/0 1.0.0.0/24 is subnetted, 1 subnetsR 1.1.1.0 120/1 via 12.1.1.1, 00:00:07, Serial1/1 2.0.0.0/24 is subnetted, 1 subnetsR 2.2.2.0 120/1 via 12.1.1.1, 00:00:07, Serial1/1 3.0.0.0/24 is subnetted, 1 subnetsR 3.3.3.0 120/1 via 12.1.1.1, 00

30、:00:07, Serial1/1 4.0.0.0/32 is subnetted, 1 subnetsO 4.4.4.4 110/65 via 23.1.1.2, 00:31:25, Serial1/0 5.0.0.0/32 is subnetted, 1 subnetsO 5.5.5.5 110/65 via 23.1.1.2, 00:31:25, Serial1/0 6.0.0.0/32 is subnetted, 1 subnetsO 6.6.6.6 110/65 via 23.1.1.2, 00:31:27, Serial1/0 23.0.0.0/24 is subnetted, 1

31、 subnetsC 23.1.1.0 is directly connected, Serial1/0 7.0.0.0/32 is subnetted, 1 subnetsO IA 7.7.7.7 110/129 via 23.1.1.2, 00:31:27, Serial1/0 12.0.0.0/24 is subnetted, 1 subnetsC 12.1.1.0 is directly connected, Serial1/1R3*show ip route Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP D

32、 - 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 - pe

33、r-user static route o - ODR, P - periodic downloaded static routeGateway of last resort is not set 34.0.0.0/24 is subnetted, 1 subnetsC 34.1.1.0 is directly connected, Serial1/0 1.0.0.0/24 is subnetted, 1 subnetsO E2 1.1.1.0 110/20 via 23.1.1.1, 00:04:00, Serial1/1 2.0.0.0/24 is subnetted, 1 subnets

34、O E2 2.2.2.0 110/20 via 23.1.1.1, 00:04:00, Serial1/1 3.0.0.0/24 is subnetted, 1 subnetsO E2 3.3.3.0 110/20 via 23.1.1.1, 00:04:00, Serial1/1 4.0.0.0/24 is subnetted, 1 subnetsC 4.4.4.0 is directly connected, Loopback0 5.0.0.0/24 is subnetted, 1 subnetsC 5.5.5.0 is directly connected, Loopback1 6.0.

35、0.0/24 is subnetted, 1 subnetsC 6.6.6.0 is directly connected, Loopback3 23.0.0.0/24 is subnetted, 1 subnetsC 23.1.1.0 is directly connected, Serial1/1 7.0.0.0/32 is subnetted, 1 subnetsO 7.7.7.7 110/65 via 34.1.1.2, 00:33:14, Serial1/0 12.0.0.0/24 is subnetted, 1 subnetsO E2 12.1.1.0 110/20 via 23.

36、1.1.1, 00:04:01, Serial1/1R4*show 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 -

37、 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 34.0.0.0/24 is subnetted, 1 subnetsC 34.1.1.0 is directly connected, Serial1/1 1.0.0.0/24 is s

38、ubnetted, 1 subnetsO E2 1.1.1.0 110/20 via 34.1.1.1, 00:04:18, Serial1/1 2.0.0.0/24 is subnetted, 1 subnetsO E2 2.2.2.0 110/20 via 34.1.1.1, 00:04:18, Serial1/1 3.0.0.0/24 is subnetted, 1 subnetsO E2 3.3.3.0 110/20 via 34.1.1.1, 00:04:18, Serial1/1 4.0.0.0/32 is subnetted, 1 subnetsO IA 4.4.4.4 110/

39、65 via 34.1.1.1, 00:33:02, Serial1/1 5.0.0.0/32 is subnetted, 1 subnetsO IA 5.5.5.5 110/65 via 34.1.1.1, 00:32:52, Serial1/1 6.0.0.0/32 is subnetted, 1 subnetsO IA 6.6.6.6 110/65 via 34.1.1.1, 00:32:37, Serial1/1 23.0.0.0/24 is subnetted, 1 subnetsO IA 23.1.1.0 110/128 via 34.1.1.1, 00:33:31, Serial

40、1/1 7.0.0.0/24 is subnetted, 1 subnetsC 7.7.7.0 is directly connected, Loopback0 12.0.0.0/24 is subnetted, 1 subnetsO E2 12.1.1.0 110/20 via 34.1.1.1, 00:04:19, Serial1/15 Ping通R1*ping 7.7.7.7 source 1.1.1.1Type escape sequence to abort.Sending 5, 100-byte ICMP Echos to 7.7.7.7, timeout is 2 seconds

41、:Packet sent with a source address of 1.1.1.1 !Success rate is 100 percent (5/5), round-trip min/avg/max = 72/116/148 msR1*ping 34.1.1.2 sou R1*ping 34.1.1.2 source 1.1.1.1Type escape sequence to abort.Sending 5, 100-byte ICMP Echos to 34.1.1.2, timeout is 2 seconds:Packet sent with a source address

42、 of 1.1.1.1 !Success rate is 100 percent (5/5), round-trip min/avg/max = 24/92/156 ms6在R2和R4上查看LSAR2*SHOW ip ospf database OSPF Router with ID (23.1.1.1) (Process ID 110) Router Link States (Area 0)Link ID ADV Router Age Seq* Checksum Link count6.6.6.6 6.6.6.6 1732 0x80000006 0x0006AA 523.1.1.1 23.1

43、.1.1 1527 0x80000003 0x00E739 2 Summary Net Link States (Area 0)Link ID ADV Router Age Seq* Checksum7.7.7.7 6.6.6.6 1732 0x80000002 0x001CAA34.1.1.0 6.6.6.6 1732 0x80000002 0x00823D Type-5 AS External Link StatesLink ID ADV Router Age Seq* Checksum Tag1.1.1.0 23.1.1.1 36 0x80000002 0x00DCA5 02.2.2.0 23.1.1.1 36 0x80000002 0x00B8C6 03.3.3.0 23.1.1.1 36 0x80000002 0x0094E7 012.1.1.0 23.1.1.1 36 0x8000000

温馨提示

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

评论

0/150

提交评论