版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、理工大学实验报告学院(系)名称: 计算机与通信工程学院学号专业计算机科学与技术(中加)班级教学2班实验项目实验四:路由器的配置课程名称计算机网络课程代码0662016实验时间2015年6月25日第7、8节实验地点7-219批改意见成绩教师签字:(一) 实验目的:掌握利用超级终端配置路由器时的连接和参数设置;掌握路由器的常见模式及其转换命令;掌握用配置向导配置路由器的步骤和方法;掌握检查路由器配置和状态的路由器命令。掌握路由器配置文件管理方 法,掌握静态路由和动态路由的配置方法。(二)实验环境:软件环境: Windows 2000 /XP硬件环境:旧M PC或兼容机局域网、PC机连入Intern
2、et(三)实验学时:2学时,必做.(四)实验要求:利用超级终端进行路由器的配置,记录配置过程,在实验报告中注明各种命令的功能。进行网络地址 规划,配置路由器;检查路由器配置。掌握路由协议的种类和特点。掌握静态路由、默认路由的配置方法。 掌握查看路由条目的方法,并验证路由的作用。(六)实验步骤:.设计法连接网络。.连接主机与路由器。.配置各个接口。.最后配置路由表。配置RIP:#rip 1version 2 network 0.0.0.0#路由表:r1display ip routing-tableRouting Tables: PublicDestinations : 10Routes : 1
3、0Destination/MaskProtoPreCostNextHopInterface20.0.1.0/24Direct 0020.0.1.1Eth0/020.0.1.1/32Direct 00127.0.0.1InLoop020.0.2.0/24Direct 0020.0.2.1S2/020.0.2.1/32Direct 00127.0.0.1InLoop020.0.2.2/32Direct 0020.0.2.2S2/020.0.3.0/24RIP100120.0.2.2S2/020.0.4.0/24RIP100120.0.2.2S2/020.0.5.0/24RIP100220.0.2.
4、2S2/0127.0.0.0/8Direct 00127.0.0.1InLoop0127.0.0.1/32Direct 00127.0.0.1InLoop0接口信息:r1display ip int b*down: administratively down(s): spoofingInterfacePhysical Protocol IP Address DescriptionAux0downdownunassignedAux0 InteCellular0/0downdownunassignedCellular0.Eth0/0upup20.0.1.1Ethernet0.Eth0/1downd
5、ownunassignedEthernet。.S1/0downdownunassignedSerial1/0.S2/0upup20.0.2.1Serial2/0.测试连通性:C:Documents and Settingsstudping 20.0.5.2Pinging 20.0.5.2 with 32 bytes of data:Reply from 20.0.5.2: bytes=32 time=36ms TTL=253Reply from 20.0.5.2: bytes=32 time=36ms TTL=253Reply from 20.0.5.2: bytes=32 time=36ms
6、 TTL=253Reply from 20.0.5.2: bytes=32 time=36ms TTL=253Ping statistics for 20.0.5.2:Packets: Sent = 4, Received = 4, Lost = 0 (0% loss), Approximate round trip times in milli-seconds: Minimum = 36ms, Maximum = 36ms, Average = 36ms配置IP:#interface Ethernet0/0 port link-mode route ip address 20.0.1.1 2
7、55.255.255.0#interface Ethernet0/1 port link-mode route#interface Serial1/0 link-protocol ppp#interface Serial2/0 link-protocol ppp ip address 20.0.2.1 255.255.255.0#配置OSPF:#ospf 1area 0.0.0.0network 0.0.0.0 255.255.255.255#路由表:r1display ip routing-tableRouting Tables: PublicDestinations : 10 Routes
8、 : 10Destination/MaskProto Pre CostNextHopInterface20.0.1.0/24Direct 0020.0.1.1Eth0/020.0.1.1/32Direct 00127.0.0.1InLoop020.0.2.0/24Direct 0020.0.2.1S2/020.0.2.1/32Direct 00127.0.0.1InLoop020.0.2.2/32Direct 0020.0.2.2S2/020.0.3.0/24OSPF 10157220.0.2.2S2/020.0.4.0/24OSPF 10312420.0.2.2S2/020.0.5.0/24
9、OSPF 10312520.0.2.2S2/0127.0.0.0/8Direct 00127.0.0.1InLoop0127.0.0.1/32Direct 00127.0.0.1InLoop0接口信息:redisplay ip int b*down: administratively down(s): spoofingInterfacePhysical Protocol IP Address DescriptionAux0downdownunassignedAux0 InteCellular0/0downdownunassignedCellular0.Eth0/0upup20.0.1.1Eth
10、ernet0.Eth0/1downdownunassignedEthernet0.S1/0downdownunassignedSerial1/0.S2/0upup20.0.2.1Serial2/0.测试连通性:C:Documents and Settingsstudping 20.0.5.2Pinging 20.0.5.2 with 32 bytes of data:Reply from 20.0.5.2: bytes=32 time=36ms TTL=253Reply from 20.0.5.2: bytes=32 time=36ms TTL=253Reply from 20.0.5.2:
11、bytes=32 time=36ms TTL=253Reply from 20.0.5.2: bytes=32 time=36ms TTL=253Ping statistics for 20.0.5.2:Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),Approximate round trip times in milli-seconds:Minimum = 36ms, Maximum = 36ms, Average = 36ms配置静态路由:R1ip routR1ip route-static 20.0.3.0 255.255.255
12、.0 20.0.2.2R1ip routR1ip route-static 20.0.4.0 255.255.255.0 20.0.2.2R1ip routR1ip route-static 20.0.5.0 255.255.255 .0 20.0.2.2测试连通性:R1ping 20.0.5.2PING 20.0.1.1: 56 data bytes, press CTRL_C to breakReply from 20.0.1.1: bytes=56 Sequence=1 ttl=255 time=25 msReply from 20.0.1.1: bytes=56 Sequence=2
13、ttl=255 time=24 msReply from 20.0.1.1: bytes=56 Sequence=3 ttl=255 time=25 msReply from 20.0.1.1: bytes=56 Sequence=4 ttl=255 time=25 msReply from 20.0.1.1: bytes=56 Sequence=5 ttl=255 time=24 ms-20.0.1.1 ping statistics -5 packet(s) transmitted5 packet(s) received0.00% packet lossround-trip min/avg
14、/max = 24/24/25 msR2:配置RIP:#rip 1version 2network 0.0.0.0 #路由表:H3C-rip-1display ip routing-table Routing Tables: PublicDestinations : 12Routes : 12Destination/MaskProto 1PreCostNextHopInterface20.0.1.0/24RIP100120.0.2.1S2/020.0.2.0/24Direct 0020.0.2.2S2/020.0.2.1/32Direct 0020.0.2.1S2/020.0.2.2/32Di
15、rect 00127.0.0.1InLoop020.0.3.0/24Direct 0020.0.3.1Eth0/020.0.3.1/32Direct 00127.0.0.1InLoop020.0.4.0/24Direct 0020.0.4.1S1/020.0.4.1/32Direct 00127.0.0.1InLoop020.0.4.2/32Direct 0020.0.4.2S1/020.0.5.0/24RIP100120.0.4.2S1/0127.0.0.0/8Direct 00127.0.0.1InLoop0127.0.0.1/32Direct 00127.0.0.1InLoop0接口信息
16、:H3C-rip-1display ip int b *down: administratively down (s): spoofingInterfacePhysical Protocol IP AddressDescriptionAux0downdownunassignedAux0 InteCellular0/0downdownunassignedCellular0.Eth0/0upup20.0.3.1Ethernet0.Eth0/1downdownunassignedEthernet。.S1/0upup20.0.4.1Serial1/0.S2/0upup20.0.2.2Serial2/0
17、.测试连通性:C:Documents and Settingsstudping 20.0.5.2Pinging 20.0.5.2 with 32 bytes of data:Reply from 20.0.5.2: bytes=32 time=36ms TTL=253Reply from 20.0.5.2: bytes=32 time=36ms TTL=253Reply from 20.0.5.2: bytes=32 time=36ms TTL=253Ping statistics for 20.0.5.2:Packets: Sent = 4, Received = 4, Lost = 0 (
18、0% loss), Approximate round trip times in milli-seconds:Minimum = 36ms, Maximum = 36ms, Average = 36ms配置IP:#interface Ethernet。/。 port link-mode route ip address 20.0.3.1 255.255.255.0#interface Ethernet0/1 port link-mode route#interface Serial1/0 link-protocol ppp ip address 20.0.4.1 255.255.255.0#
19、interface Serial2/0 link-protocol ppp ip address 20.0.2.2 255.255.255.0#酉己置OSPF:#ospf 1 area 0.0.0.0network 0.0.0.0 255.255.255.255#路由表:H3Cdisplay ip routing-tableRouting Tables: PublicDestinations : 12Routes : 12Destination/MaskProto PreCostNextHopInterface20.0.1.0/24OSPF10156320.0.2.1S2/020.0.2.0/
20、24Direct 0020.0.2.2S2/020.0.2.1/32Direct 0020.0.2.1S2/020.0.2.2/32Direct 00127.0.0.1InLoop020.0.3.0/24Direct 0020.0.3.1Eth0/020.0.4.0/24Direct 0020.0.4.1S1/020.0.4.1/32Direct 00127.0.0.1InLoop020.0.4.2/32Direct 0020.0.4.2S1/020.0.5.0/24OSPF10156320.0.4.2S1/0127.0.0.0/8Direct 00127.0.0.1InLoop0127.0.
21、0.1/32Direct 00127.0.0.1InLoop0接口信息:H3Cdisplay ip int b*down: administratively down(s): spoofingInterfacePhysical Protocol IP Address DescriptionAux0downdownunassignedAux0 InteCellular0/0downdownunassignedCellular0.Eth0/0upup20.0.3.1Ethernet0.Eth0/1downdownunassignedEthernet0.S1/0upup20.0.4.1Serial1
22、/0.S2/0upup20.0.2.2Serial2/0.测试连通性:C:Documents and Settingsstudping 20.0.5.2Pinging 20.0.5.2 with 32 bytes of data:Reply from 20.0.5.2: bytes=32 time=36ms TTL=253Reply from 20.0.5.2: bytes=32 time=36ms TTL=253Reply from 20.0.5.2: bytes=32 time=36ms TTL=253Reply from 20.0.5.2: bytes=32 time=36ms TTL=
23、253Ping statistics for 20.0.5.2:Packets: Sent = 4, Received = 4, Lost = 0 (0% loss), Approximate round trip times in milli-seconds:Minimum = 36ms, Maximum = 36ms, Average = 36ms配置静态路由:R2ip routR2ip route-static 20.0.1.0 255.255.255.0 20.0.2.2R2ip routR2ip route-static 20.0.5.0 255.255.255 .0 20.0.2.
24、2测试连通性:R2ping 20.0.5.2PING 20.0.5.2: 56 data bytes, press CTRL_C to breakReply from 20.0.5.2: bytes=56 Sequence=1 ttl=127 time=25 msReply from 20.0.5.2: bytes=56 Sequence=2 ttl=127 time=25 msReply from 20.0.5.2: bytes=56 Sequence=3 ttl=127 time=24 msReply from 20.0.5.2: bytes=56 Sequence=4 ttl=127 t
25、ime=25 msReply from 20.0.5.2: bytes=56 Sequence=5 ttl=127 time=25 ms-20.0.5.2 ping statistics -5 packet(s) transmitted5 packet(s) received0.00% packet lossround-trip min/avg/max = 24/24/25 msR3:配置RIP:#rip 1version 2network 0.0.0.0#路由表:H3Cdisplay ip routing-tableRouting Tables: PublicDestinations : 1
26、0Routes : 10Destination/MaskProto 1Pre CostNextHopInterface20.0.1.0/24OSPF10312520.0.4.1S1/020.0.2.0/24OSPF10312420.0.4.1S1/020.0.3.0/24OSPF10157220.0.4.1S1/020.0.4.0/24Direct 0020.0.4.2S1/020.0.4.1/32Direct 0020.0.4.1S1/020.0.4.2/32Direct 00127.0.0.1InLoop020.0.5.0/24Direct 0020.0.5.1Eth0/020.0.5.1
27、/32Direct 00127.0.0.1InLoop0127.0.0.0/8Direct 00127.0.0.1InLoop0127.0.0.1/32Direct 00127.0.0.1InLoop0接口信息:H3Cdisplay ip int b*down: administratively down(s): spoofingInterfacePhysical Protocol IP AddressDescriptionAux0downdownunassignedAux0 InteCellular0/0downdownunassignedCellular0.Eth0/0upup20.0.5
28、.1Ethernet0.Eth0/1downdown10.0.0.9Ethernet0.S1/0upup20.0.4.2Serial1/0.S2/0downdown2.0.0.1Serial2/0.测试连通性:C:Documents and Settingsstudping 20.0.3.2Pinging 20.0.3.2 with 32 bytes of data:Reply from 20.0.3.2: bytes=32 time=36ms TTL=253Reply from 20.0.3.2: bytes=32 time=36ms TTL=253Reply from 20.0.3.2:
29、bytes=32 time=36ms TTL=253Reply from 20.0.3.2: bytes=32 time=36ms TTL=253Ping statistics for 20.0.3.2:Packets: Sent = 4, Received = 4, Lost = 0 (0% loss), Approximate round trip times in milli-seconds:Minimum = 36ms, Maximum = 36ms, Average = 36ms配置IP: #interface Ethernet。/。 port link-mode route ip
30、address 20.0.5.1 255.255.255.0#interface Ethernet0/1 port link-mode route #interface Serial1/0 link-protocol ppp ip address 20.0.4.2 255.255.255.0#interface Serial2/0 link-protocol ppp #酉己置OSPF:ospf 1area 0.0.0.0network 0.0.0.0 255.255.255.255 #路由表:r3display ip routing-tableRouting Tables: Public De
31、stinations : 10 Routes : 10Destination/MaskProto Pre CostNextHopInterface20.0.1.0/24OSPF 10157220.0.1.1S2/020.0.1.1/32Direct 00127.0.0.1InLoop020.0.2.0/24OSPF 10312420.0.2.1S2/020.0.2.1/32Direct 00127.0.0.1InLoop020.0.2.2/32Direct 0020.0.2.2S2/020.0.3.0/24OSPF 10312520.0.2.2S2/020.0.4.0/24Direct 0020.0.2.2S2/02
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 合成膜电位器工安全生产规范知识考核试卷含答案
- 生活垃圾堆肥操作工工艺规程评优考核试卷含答案
- 科学职业生涯规划方法论
- (2026年)医院违规收费自查整改报告(2篇)
- 2026-2027学年统编版(新)小学语文四年级上册第六单元学情自测卷附答案
- (新)养老院财务管理制度2篇
- 2026年大学试题(计算机科学)-UPS理论历年参考题库含答案解析
- 2026年大学试题(艺术学)-版式设计历年参考题库含答案解析
- 2026年安徽绿海商务职业学院高职单招笔试职业适应性测验历年参考题库含答案解析
- 2026年安徽卫生健康职业学院高职单招笔试英语历年参考题库含答案解析
- 职业道德与职业素养培训课件
- 2026半导体芯片行业市场现状及技术发展趋势分析报告
- 2026汽车租赁行业市场发展分析及竞争格局与商业模式优化报告
- T/CI 605-2024固定污染源烟气氨排放连续监测技术规范
- ISO9001-2026 DIS标准条款解读-内审员培训课件
- 2026-2030中国电动摩托车行业市场发展现状及竞争格局与投资前景研究报告
- 2026陕西延长石油集团统一招聘笔试真题(完整版+手写阅卷版答案解析)
- 高中学业水平合格性考试人教版地理必修一、二必背考点复习提纲
- 2025年房地产估价师《土地估价基础与实务》真题及答案解析回忆版
- 雨课堂学堂在线学堂云《审计心理案例分析(西南政法)》单元测试考核答案
- 碳排放培训教学课件
评论
0/150
提交评论