版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、精选优质文档-倾情为你奉上路由综合实验实验步骤:1.配置相关地址,确保直连网络的通信2.配置所有Serial接口时钟频率为64000,参考带宽为1544k3.配置EIGRP区域,AS号为100,并关闭自动汇总4.对R4的loopback接口实施手工汇总5.在R1上实施EIGRP非等价负载均衡6.根据拓扑所示,配置OSPF多区域7.在R6、R7之间配置MD5验证8.确保R5成为DR9在R4上配置静态默认路由,并配置EIGRP默认路由10.在R5上配置静态默认路由,并配置OSPF默认路由11.在R1、R2上实施HSRP,确保R2成为主路由器,虚拟地址为192.168.1.254,并对R2的Fa0/
2、0接口进行跟踪12.确保EIGRP和OSPF两个区域通信,但不允许使用路由重分发配置第一步:R1的配置:Router>enable Router#conf t Router(config)#hostname R1R1(config)#int f0/0R1(config-if)#no shutdown R1(config-if)#ip add 192.168.12.1 255.255.255.0R1(config-if)#exitR1(config)#int f1/0R1(config-if)#no shutdown R1(config-if)#ip add 192.168.14.1 25
3、5.255.255.0R1(config-if)#endR1#show interface serial2/0Serial2/0 is administratively down, line protocol is down (disabled)Hardware is HD64570MTU 1500 bytes, BW 128 Kbit, DLY 20000 usec,R1#conf t Enter configuration commands, one per line. End with CNTL/Z.R1(config)#int se2/0R1(config-if)#clock rate
4、 64000R1(config-if)#bandwidth 1544R1(config-if)#no shR1(config-if)#ip add 192.168.13.1 255.255.255.0R1(config-if)#end R2的配置:Router#conf t Router(config)#hostname R2R2(config)#int f0/0R2(config-if)#no sh R2(config-if)#ip add 192.168.12.2 255.255.255.0R2(config-if)#int f1/0R2(config-if)#no sh R2(confi
5、g-if)#ip add 192.168.1.1 255.255.255.0R2(config-if)#end R3的配置:Router>enRouter#conf t Router(config)#hostname R3R3(config)#int s2/0R3(config-if)#bandwidth 1544R3(config-if)#no shR3(config-if)#ip add 192.168.13.2 255.255.255.0R3(config-if)#int f1/0R3(config-if)#no sh R3(config-if)#ip add 192.168.1.
6、2 255.255.255.0R3(config-if)#endR4的配置:Router>enRouter#conf t Router(config)#int f1/0Router(config-if)#no sh Router(config-if)#ip add 192.168.14.2 255.255.255.0Router(config-if)#int f0/0Router(config-if)#no shRouter(config-if)#ip add 192.168.45.1 255.255.255.0Router(config-if)#exRouter(config)#int
7、 loopback 0Router(config-if)#ip add 172.16.0.1 255.255.255.0Router(config-if)#int loopback 1Router(config-if)#ip add 172.16.1.1 255.255.255.0Router(config-if)#int loopback 2Router(config-if)#ip add 172.16.2.1 255.255.255.0Router(config-if)#int loopback 3Router(config-if)#ip add 172.16.3.1 255.255.25
8、5.0Router(config-if)#endR5的配置:Router>enRouter#conf t Router(config)#int f0/0Router(config-if)#no shRouter(config-if)#ip add 192.168.45.2 255.255.255.0Router(config-if)#int f1/0Router(config-if)#no shRouter(config-if)#ip add 192.168.56.1 255.255.255.0Router(config-if)#end R6的配置:Router#conf t Route
9、r(config)#hostname R6R6(config)#int f1/0R6(config-if)#no shR6(config-if)#ip add 192.168.56.2 255.255.255.0R6(config-if)#int se3/0R6(config-if)#no shR6(config-if)#ip add 192.168.67.1 255.255.255.0R6(config-if)#clock rate 64000R6(config-if)#bandwidth 1544R6(config-if)#endR7的配置:Router>enRouter#conf
10、t Router(config)#hostname R7R7(config)#int se3/0R7(config-if)#no shutdown R7(config-if)#ip add 192.168.67.2 255.255.255.0R7(config-if)#bandwidth 1544R7(config-if)#exR7(config)#int loopback 0R7(config-if)#ip add 192.168.7.1 255.255.255.0R7(config-if)#int loopback 1R7(config-if)#ip add 192.168.8.1 255
11、.255.255.0R7(config-if)#end配置EIGRP区域,AS号为100,并关闭自动汇总R1的配置:R1#show ip int brief Interface IP-Address OK? Method Status ProtocolFastEthernet0/0 192.168.12.1 YES manual up upFastEthernet1/0 192.168.14.1 YES manual up upSerial2/0 192.168.13.1 YES manual up upSerial3/0 unassigned YES unset administrative
12、ly down downFastEthernet4/0 unassigned YES unset administratively down downFastEthernet5/0 unassigned YES unset administratively down downR1#conf t R1(config)#router eigrp 100R1(config-router)#network 192.168.12.0R1(config-router)#network 192.168.13.0R1(config-router)#network 192.168.14.0R1(config-r
13、outer)#no auto-summary R1(config-router)#end R2的配置:R2>enR2#show ip int brief Interface IP-Address OK? Method Status ProtocolFastEthernet0/0 192.168.12.2 YES manual up upFastEthernet1/0 192.168.1.1 YES manual up upSerial2/0 unassigned YES unset administratively down downSerial3/0 unassigned YES un
14、set administratively down downFastEthernet4/0 unassigned YES unset administratively down downFastEthernet5/0 unassigned YES unset administratively down downR2#conf t R2(config)#router eigrp 100R2(config-router)#network 192.168.1.0R2(config-router)#network 192.168.12.0R2(config-router)#passive-interf
15、ace f1/0R2(config-router)#endR3的配置:R3#enR3#conf t R3(config)#do show ip int briInterface IP-Address OK? Method Status ProtocolFastEthernet0/0 unassigned YES unset administratively down downFastEthernet1/0 192.168.1.2 YES manual up upSerial2/0 192.168.13.2 YES manual up upSerial3/0 unassigned YES uns
16、et administratively down downFastEthernet4/0 unassigned YES unset administratively down downFastEthernet5/0 unassigned YES unset administratively down downR3(config)#router eig 100R3(config-router)#network 192.168.1.0R3(config-router)#network 192.168.13.0R3(config-router)#no auto-summary R3(config-r
17、outer)#passive-interface fa1/0R3(config-router)#endR4的配置:Router>enRouter#conf tRouter(config)#do show ip int briInterface IP-Address OK? Method Status ProtocolFastEthernet0/0 192.168.45.1 YES manual up upFastEthernet1/0 192.168.14.2 YES manual up upSerial2/0 unassigned YES unset administratively
18、down downSerial3/0 unassigned YES unset administratively down downFastEthernet4/0 unassigned YES unset administratively down downFastEthernet5/0 unassigned YES unset administratively down downLoopback0 172.16.0.1 YES manual up upLoopback1 172.16.1.1 YES manual up upLoopback2 172.16.2.1 YES manual up
19、 upLoopback3 172.16.3.1 YES manual up upRouter(config)#router eig 100Router(config-router)#network 192.168.14.0Router(config-router)#%DUAL-5-NBRCHANGE: IP-EIGRP 100: Neighbor 192.168.14.1 (FastEthernet1/0) is up: new adjacencyRouter(config-router)#network 192.168.45.0Router(config-router)#network 17
20、2.16.0.0 0.0.3.255Router(config-router)#no auto-summary %DUAL-5-NBRCHANGE: IP-EIGRP 100: Neighbor 192.168.14.1 (FastEthernet1/0) resync: summary configuredRouter(config-router)#end在R1上实施EIGRP非等价负载均衡R1>show ip route Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGPD - EIGRP,
21、 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 -
22、 ODRP - periodic downloaded static routeGateway of last resort is not set172.16.0.0/24 is subnetted, 4 subnetsD 172.16.0.0 90/ via 192.168.14.2, 00:44:19, FastEthernet1/0D 172.16.1.0 90/ via 192.168.14.2, 00:44:19, FastEthernet1/0D 172.16.2.0 90/ via 192.168.14.2, 00:44:19, FastEthernet1/0D 172.16.3
23、.0 90/ via 192.168.14.2, 00:44:19, FastEthernet1/0D 192.168.1.0/24 90/30720 via 192.168.12.2, 00:57:18, FastEthernet0/0C 192.168.12.0/24 is directly connected, FastEthernet0/0C 192.168.13.0/24 is directly connected, Serial2/0C 192.168.14.0/24 is directly connected, FastEthernet1/0D 192.168.45.0/24 9
24、0/30720 via 192.168.14.2, 00:44:19, FastEthernet1/0按拓扑所示,R1到192.168.1.0网段,有两条线路,但路由表显示是通过R2。要实现R1到192.168.1.0网段可以经过R2和R3两条路径,故要在R1上实现非等价负载均衡。首先要算出 R1R2; R1R3这两条线路的流量比例,就是用它们的度量值相除。首先查看它们的度量值:R1>show ip eigrp topology IP-EIGRP Topology Table for AS 100/ID(192.168.14.1)Codes: P - Passive, A - Activ
25、e, U - Update, Q - Query, R - Reply,r - Reply statusP 172.16.0.0/24, 1 successors, FD is via 192.168.14.2 (/), FastEthernet1/0P 172.16.1.0/24, 1 successors, FD is via 192.168.14.2 (/), FastEthernet1/0P 172.16.2.0/24, 1 successors, FD is via 192.168.14.2 (/), FastEthernet1/0P 172.16.3.0/24, 1 success
26、ors, FD is via 192.168.14.2 (/), FastEthernet1/0P 192.168.1.0/24, 1 successors, FD is 30720 via 192.168.12.2 (30720/28160), FastEthernet0/0 via 192.168.13.2 (/28160), Serial2/0P 192.168.12.0/24, 1 successors, FD is 28160 via Connected, FastEthernet0/0P 192.168.13.0/24, 1 successors, FD is via Connec
27、ted, Serial2/0P 192.168.14.0/24, 1 successors, FD is 28160 via Connected, FastEthernet1/0P 192.168.45.0/24, 1 successors, FD is 30720 via 192.168.14.2 (30720/28160), FastEthernet1/0流量比例=÷3072070.7(取大数71)再在R1上配置:R1>enR1#conf tR1(config)#router eigrp 100R1(config-router)#variance ?R1(config-ro
28、uter)#variance 71最后查看可以看到路由表,R1到192.168.1.0网段有两条路径了R1#show ip route D 192.168.1.0/24 90/30720 via 192.168.12.2, 00:03:24, FastEthernet0/0 90/ via 192.168.13.2, 00:03:21, Serial2/0对R4的loopback接口实施手工汇总Eigrp的汇总是在接口下汇总:R1(config)#int f1/0R1(config-if)#ip summary-address eigrp 100 172.16.0.0 255.255.252.
29、0R1(config-if)#do show ip route eigrp172.16.0.0/16 is variably subnetted, 5 subnets, 2 masksD 172.16.0.0/22 is a summary, 00:04:13, Null0D 172.16.0.0/24 90/ via 192.168.14.2, 00:04:13, FastEthernet1/0D 172.16.1.0/24 90/ via 192.168.14.2, 00:04:13, FastEthernet1/0D 172.16.2.0/24 90/ via 192.168.14.2,
30、 00:04:13, FastEthernet1/0D 172.16.3.0/24 90/ via 192.168.14.2, 00:04:13, FastEthernet1/0D 192.168.1.0/24 90/30720 via 192.168.12.2, 00:04:13, FastEthernet0/0 90/ via 192.168.13.2, 00:04:13, Serial2/0D 192.168.45.0/24 90/30720 via 192.168.14.2, 00:04:13, FastEthernet1/0二、配置OSPFR5的配置:Router>enRout
31、er#conf tRouter(config)#hostname R5R5(config)#do show ip int briInterface IP-Address OK? Method Status ProtocolFastEthernet0/0 192.168.45.2 YES manual up upFastEthernet1/0 192.168.56.1 YES manual up upSerial2/0 unassigned YES unset administratively down downSerial3/0 unassigned YES unset administrat
32、ively down downFastEthernet4/0 unassigned YES unset administratively down downFastEthernet5/0 unassigned YES unset administratively down downR5(config)#router ospf 1R5(config-router)#network 192.168.45.0 0.0.0.255 area 0R5(config-router)#network 192.168.56.0 0.0.0.255 area 0R6的配置:R6(config)#router o
33、spf 1R6(config-router)#network 192.168.56.0 0.0.0.255 area 0R6(config-router)#network 192.168.67.0 0.0.0.255 area 1R7的配置:R7(config)#router ospf 1R7(config-router)#network 192.168.67.0 0.0.0.255 area 106:34:01: %OSPF-5-ADJCHG: Process 1, Nbr 192.168.67.1 on Serial3/0 from LOADING to FULL, Loading Don
34、eR7(config-router)#network 192.168.7.0 0.0.0.255 area 1R7(config-router)#network 192.168.8.0 0.0.0.255 area 1R7(config-router)#end查看ospf路由表:R5>show ip route ospf192.168.7.0/32 is subnetted, 1 subnetsO IA 192.168.7.1 110/66 via 192.168.56.2, 00:04:49, FastEthernet1/0192.168.8.0/32 is subnetted, 1
35、subnetsO IA 192.168.8.1 110/66 via 192.168.56.2, 00:04:49, FastEthernet1/0O IA 192.168.67.0 110/65 via 192.168.56.2, 00:04:49, FastEthernet1/03、 在R6、R7之间配置MD5验证,确保R5成为DRR5的配置:R5>enR5#show ip ospf int f1/0FastEthernet1/0 is up, line protocol is upInternet address is 192.168.56.1/24, Area 0Process
36、ID 1, Router ID 192.168.56.1, Network Type BROADCAST, Cost: 1Transmit Delay is 1 sec, State BDR, Priority 1Designated Router (ID) 192.168.67.1, Interface address 192.168.56.2Backup Designated Router (ID) 192.168.56.1, Interface address 192.168.56.1Timer intervals configured, Hello 10, Dead 40, Wait
37、40, Retransmit 5Hello due in 00:00:04Index 2/2, flood queue length 0Next 0x0(0)/0x0(0)Last flood scan length is 1, maximum is 1Last flood scan time is 0 msec, maximum is 0 msecNeighbor Count is 1, Adjacent neighbor count is 1Adjacent with neighbor 192.168.67.1 (Designated Router)Suppress hello for 0
38、 neighbor(s)R5#conf tR5(config)#int f1/0R5(config-if)#ip ospf priority 2R5(config-if)#endR6上配置md5验证:R6>enR6#conf tR6(config)#int se3/0R6(config-if)#ip ospf authentication message-digestR6(config-if)#ip ospf message-digest-key 1 md5 ccnaR6(config-if)#endR7上配置md5验证:R7#conf t R7(config)#int se3/0R7(
39、config-if)#ip ospf authentication message-digest R7(config-if)#ip ospf message-digest-key 1 md5 ccna R7(config-if)#end重点:如何让EIGRP和OSPF两个不同动态协议进行通信1、 在R4上配置静态默认路由,并配置EIGRP默认路由。R4>enR4#conf t R4(config)#ip route 0.0.0.0 0.0.0.0 192.168.45.2R4(config)#ip default-network 192.168.45.0R4(config)#do sho
40、w 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
41、 - 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 192.168.45.2 to network 0.0.0.0172.16.0.0/16 is variably subnetted, 5 subnets, 2 masksD 172.16.0.0/22 90/30720 via 192.168.14.1, 00:37:48, Fas
42、tEthernet1/0C 172.16.0.0/24 is directly connected, Loopback0C 172.16.1.0/24 is directly connected, Loopback1C 172.16.2.0/24 is directly connected, Loopback2C 172.16.3.0/24 is directly connected, Loopback3D 192.168.1.0/24 90/33280 via 192.168.14.1, 00:37:48, FastEthernet1/0D 192.168.12.0/24 90/30720
43、via 192.168.14.1, 00:37:48, FastEthernet1/0D 192.168.13.0/24 90/ via 192.168.14.1, 00:37:48, FastEthernet1/0C 192.168.14.0/24 is directly connected, FastEthernet1/0C* 192.168.45.0/24 is directly connected, FastEthernet0/0S* 0.0.0.0/0 1/0 via 192.168.45.22、 在R5上配置静态默认路由,并配置OSPF默认路由R5>enR5#conf tR5
44、(config)#ip route 0.0.0.0 0.0.0.0 192.168.45.1R5(config)#router ospf 1R5(config-router)#default-information ?originate Distribute a default routeR5(config-router)#default-information originate R5(config-router)#do 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,
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2025-2030全球光气行业调研及趋势分析报告
- 2025年度大棚果树种植与品牌营销承包合同样本4篇
- 二零二五版绿色能源项目投资合作服务合同规范3篇
- 2025至2030年中国炎热清片数据监测研究报告
- 2025至2030年中国智能数码多功能治疗仪数据监测研究报告
- 专项设计服务:2024商标委托合同版
- 二零二四年度信息技术行业员工派遣及挂靠合作协议3篇
- 2025年度高端茶楼全面升级改造合同4篇
- 二零二五年度厨房设备安装与智能化改造合同4篇
- 二零二五版船舶火灾保险合同编制指南3篇
- 人教版高中数学必修二《第十章 概率》单元同步练习及答案
- 智慧校园信息化建设项目组织人员安排方案
- 浙教版七年级上册数学第4章代数式单元测试卷(含答案)
- 一病一品成果护理汇报
- AQ-T 1009-2021矿山救护队标准化考核规范
- 盐酸埃克替尼临床疗效、不良反应与药代动力学的相关性分析的开题报告
- 消防设施安全检查表
- 组合结构设计原理 第2版 课件 第6、7章 钢-混凝土组合梁、钢-混凝土组合剪力墙
- 建筑公司资质常识培训课件
- GB/T 26316-2023市场、民意和社会调查(包括洞察与数据分析)术语和服务要求
- 春节值班安全教育培训
评论
0/150
提交评论