版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、1天津理工大学实验报告学院(系)名称:计算机与通信工程学院姓名学号土 “计算机科学与技术(中专业t加)班级教学2班实验项目实验四:路由器的配置课程名称计算机网络课程代码0662016实验时间2015年6月25日第7、8节实验地点7-219批改意见成绩教师签字:(一)实验目的:掌握利用超级终端配置路由器时的连接和参数设置;掌握路由器的常见模式及其转换命令;掌握用配 置向导配置路由器的步骤和方法;掌握检查路由器配置和状态的路由器命令。掌握路由器配置文件管理方 法,掌握静态路由和动态路由的配置方法。(二) 实验环境:软件环境:Win dows 2000 / XP硬件环境:IBM PC或兼容机局域网、
2、PC机连入In ternet(三) 实验学时:2学时,必做.(四) 实验要求:利用超级终端进行路由器的配置,记录配置过程,在实验报告中注明各种命令的功能。进行网络地址 规划,配置路由器;检查路由器配置。掌握路由协议的种类和特点。掌握静态路由、默认路由的配置方法。 掌握查看路由条目的方法,并验证路由的作用。(六)实验步骤:1.设计并连接网络。2. 连接主机与路由器。3. 配置各个接口。4. 最后配置路由表。配置RIP:#2rip 1version 2n etwork#路由表:redisplay ip routi ng-tableRout ing Tables: PublicDesti natio
3、 ns : 10 Routes : 10Desti natio n/Mask Proto Pre Cost NextHop In terface/24Direct 0 0Eth0/0/32Direct 0 0In Loop0/24Direct 0 0S2/0/32Direct 0 0In Loop0/32Direct 0 0S2/0/24RIP 100 1S2/0/24RIP 100 1S2/0/24RIP 100 2S2/0/8Direct 0 0InLoop0/32Direct 0 0In Loop0接口信息:redisplay ip int b*dow n: admi nistrativ
4、ely dow n(s): spoofi ngIn terfacePhysical Protocol IP AddressDescripti onAux0dow ndow nun assig ned Aux0 In te.Cellular0/0downi dow nun assig nedCellular0.Eth0/0upupEthernet。.Eth0/1dow ndow nun assig nedEthernet0.S1/0dow ndow nun assig nedSerial1/0.S2/0upupSerial2/0.测试连通性:C:Docume nts and Sett in gs
5、studp ingPinging with 32 bytes of data:Reply from : bytes=32 time=36ms TTL=253Reply from : bytes=32 time=36ms TTL=253Reply from : bytes=32 time=36ms TTL=253Reply from : bytes=32 time=36ms TTL=253Ping statistics for :Packets: Sent = 4, Received = 4, Lost = 0(0% loss),Approximate round trip times in m
6、illi-sec on ds:Mi nimum = 36ms, Maximum = 36ms, Average = 36ms配置IP:#3in terface EthernetO/Oport lin k-mode routeip address#in terface Ethernet0/1port lin k-mode route#in terface Serial1/0lin k-protocol ppp#in terface Serial2/0lin k-protocol pppip address#配置OSPF:#ospf 1arean etwork#路由表:display ip rou
7、ti ng-tableRouti ng Tables: PublicDest in ati ons : 10Routes : 10Desti natio n/Mask Proto Pre Cost NextHop/24Direct 00Eth0/0/32Direct 00In Loop0/24Direct 00S2/0/32Direct 00In Loop0/32Direct 00S2/0/24OSPF101572S2/0/24OSPF10 3124S2/0/24OSPF10 3125S2/0/8Direct 00In Loop0/32Direct 00In Loop0接口信息:redispl
8、ay ip int b*dow n: admi nistratively dow n(s): spoofi ngIn terfacePhysical Protocol IP AddressDescripti onIn terface4Aux0dow ndow nun assig ned Aux0 In te.Cellular0/0downi dow nun assig nedCellular0.Eth0/0upupEthernet。.Eth0/1dow ndow nun assig nedEthernet0.S1/0dow ndow nun assig nedSerial1/0.S2/0upu
9、pSerial2/0.测试连通性:C:Docume nts and Sett in gsstudp ingPinging with 32 bytes of data:Reply from : bytes=32 time=36ms TTL=253Reply from : bytes=32 time=36ms TTL=253Reply from : bytes=32 time=36ms TTL=253Reply from : bytes=32 time=36ms TTL=253Ping statistics for :Packets: Sent = 4, Received = 4, Lost =
10、0(0% loss),Approximate round trip times in milli-sec on ds:Mi nimum = 36ms, Maximum = 36ms, Average = 36ms配置静态路由:R1ip routR1ip route-staticR1ip routR1ip route-staticR1ip routR1ip route-static .0测试连通性:R1p ingPING : 56 data bytes, press CTRL_C to breakReply from : bytes=56 Seque nce=1 ttl=255 time=25
11、msReply from : bytes=56 Seque nce=2 ttl=255 time=24 msReply from : bytes=56 Seque nce=3 ttl=255 time=25 msReply from : bytes=56 Seque nce=4 ttl=255 time=25 msReply from : bytes=56 Seque nce=5 ttl=255 time=24 ms -ping statistics -5 packet(s) tran smitted5 packet(s) received% packet lossroun d-trip mi
12、n /avg/max = 24/24/25 ms5R2 配置RIP: #rip 1vers ion 2 n etwork#路由表:H3C-rip-1display ip rout in g-table Routi ng Tables: PublicDesti nati ons:12Routes : 12Dest in atio n/MaskProto Pre CostNextHopIn terface/24RIP 100 1S2/0/24Direct 00S2/0/32Direct 00S2/0/32Direct 00In Loop0/24Direct 00Eth0/0/32Direct 00
13、In Loop0/24Direct 00S1/0/32Direct 00In Loop0/32Direct 00S1/0/24RIP 100 1S1/0/8Direct 00In Loop0/32Direct 00In Loop0接口信息:H3C-rip-1display ip int b *dow n: adm ini stratively dow n (s): spoofi ngIn terfacePhysical Protocol IP AddressDescriptio nAux0dow ndow nun assig nedAux0 In te.Cellular0/0dow n dow
14、 nun assig nedCellular0.Eth0/0upupEthernet。.Eth0/1dow ndow nun assig nedEthernet0.S1/0upupSerial1/0S2/0upupSerial2/0测试连通性:C:Docume nts and Sett in gsstudp ing Pinging with 32 bytes of data:Reply from : bytes=32 time=36ms TTL=253Reply from : bytes=32 time=36ms TTL=253Reply from : bytes=32 time=36ms T
15、TL=253Reply from : bytes=32 time=36ms TTL=253Ping statistics for :Packets: Sent = 4, Received = 4, Lost = 0 (0% loss), Approximate round trip times in milli-secon ds: Minimum = 36ms, Maximum = 36ms, Average = 36ms配置IP :#6in terface Ether netO/Oport lin k-mode routeip address#in terface Ether netO/1p
16、ort lin k-mode route#in terface Serial1/0lin k-protocol pppip address#in terface Serial2/0lin k-protocol pppip address#配置OSPF:#ospf 1arean etwork#路由表:H3Cdisplay ip routing-tableRouti ng Tables: PublicDest in ati ons : 12Routes : 12Dest in atio n/Mask Proto Pre CostNextHopIn terface/24OSPF10 1563S2/0
17、/24Direct 00S2/0/32Direct 00S2/0/32Direct 00In Loop0/24Direct 00Eth0/0/24Direct 00S1/0/32Direct 00In Loop0/32Direct 00S1/0/24OSPF10 1563S1/0/8Direct 00In Loop0/32Direct 00In Loop0接口信息:H3Cdisplay ip int b*dow n: adm ini stratively dow n(s): spoofi ngIn terfacePhysical Protocol IP AddressDescriptio nA
18、uxOdow ndow nun assig ned AuxO In te.CellularO/Odow n dow nun assig nedCellularO.7EthO/OupupEthernetO.EthO/1dow ndow nun assig nedEthernetO.S1/0upupSerial1/0S2/0upupSerial2/0测试连通性:C:Docume nts and Sett in gsstudp ingPinging with 32 bytes of data:Reply from : bytes=32 time=36ms TTL=253Reply from : by
19、tes=32 time=36ms TTL=253Reply from : bytes=32 time=36ms TTL=253Reply from : bytes=32 time=36ms TTL=253Ping statistics for :Packets: Sent = 4, Received = 4, Lost = 0 (0% loss), Approximate round trip times in milli-sec on ds: Minimum = 36ms, Maximum = 36ms, Average = 36ms配置静态路由:R2ip routR2ip route-st
20、aticR2ip routR2ip route-static .0测试连通性:R2p ingPING : 56 data bytes, press CTRL_C to breakReply from : bytes=56 Seque nce=1 ttl=127 time=25 msReply from : bytes=56 Seque nce=2 ttl=127 time=25 msReply from : bytes=56 Seque nce=3 ttl=127 time=24 msReply from : bytes=56 Seque nce=4 ttl=127 time=25 msRep
21、ly from : bytes=56 Seque nce=5 ttl=127 time=25 ms -pi ng statistics -5 packet(s) tran smitted85 packet(s) received % packet lossroun d-trip min /avg/max = 24/24/25 msR3: 配置RIP:#rip 1vers ion 2n etwork# 路由表H3Cdisplay ip rout in g-table Routi ng Tables: Public接口信息:H3Cdisplay ip int b*dow n: adm ini st
22、ratively dow n测试连通性:C:Docume nts and Sett in gsstudp ingPinging with 32 bytes of data:Reply from : bytes=32 time=36ms TTL=253Reply from : bytes=32 time=36ms TTL=253Reply from : bytes=32 time=36ms TTL=253Reply from : bytes=32 time=36ms TTL=253Ping statistics for :Packets: Sent = 4, Received = 4, Lost
23、 = 0 (0% loss), Destinations : 10Routes : 10Desti natio n/Mask Proto PreCostNextHop/24OSPF10 3125S1/0/24OSPF103124S1/0/24OSPF10 1572S1/0/24Direct 00S1/0/32Direct 00S1/0/32Direct 00In LoopO/24Direct 00EthO/O/32Direct 00In LoopO/8Direct 00In LoopO/32Direct 00In LoopOIn terface(s): spoofi ng In terface
24、 Aux0 CellularO/O EthO/O EthO/1S1/0S2/0Physical Protocol IP Address Descriptio ndow n dow n dow n dow nup up dow n dow nun assig ned AuxO In te. un assig nedCellularO.EthernetO.EthernetO.up upSerial1/0.dow ndow nSerial2/0.9Approximate round trip times in milli-secon ds: Minimum = 36ms, Maximum = 36m
25、s, Average = 36ms配置IP:#in terface Ether netO/Oport lin k-mode routeip address#in terface Ether netO/1port lin k-mode route#in terface Serial1/0lin k-protocol pppip address# in terface Serial2/0 lin k-protocol ppp#配置OSPF:ospf 1arean etwork#路由表:r3display ip routi ng-tableRouti ng Tables: PublicDest in ati ons : 10Routes : 10Dest in atio n/Mask Proto Pre Cost NextHopIn terface/24OSPF 10 1572S2/0/32Direct 00In Loop0/24OSPF 10 3124S2/0/32Direct 00In Loop0/32Direct 00S2/0/24OSPF 10 3125S2/0/2
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 【八年级下册历史】单元测试 第四、五、六单元综合测试卷
- 2024消防培训的心得体会(32篇)
- 农村自建房合同(2篇)
- 初级会计劳动合同(2篇)
- 湖北省宜昌市外国语初级中学2025届中考生物五模试卷含解析
- 建设紧固件电商孵化基地项目建议书立项备案审批
- 2025旺铺租约转让合同模板
- 2025关于公司的借款合同
- 2024年度天津市公共营养师之二级营养师题库附答案(典型题)
- 2025土地承包合同案例
- 医院门诊医疗费用管理制度
- 2024年回迁房买卖合同样本(5篇)
- 《大数据技术原理与应用(第3版)》期末复习题库(含答案)
- 项目15-1 蛋黄中免疫球蛋白的提取
- MOOC 中国哲学经典著作导读-西安交通大学 中国大学慕课答案
- 医院培训课件:《痞满(少阳太阴合病)患者中医个案护理》
- 泌尿外科抗菌药物临床应用规范
- JJG 633-2024 气体容积式流量计
- 2023年河北中烟工业有限责任公司笔试试题及答案
- 物质与意识的辩证关系
- 小学英语考试教师总结反思8篇
评论
0/150
提交评论