版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
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. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2025年物业与业主社区养老服务体系合同3篇
- 二零二五版高速公路监控系统集成采购与安装合同2篇
- 2025版定制化铁艺工程劳务分包服务合同3篇
- 安徽省高三上学期校联考化学试卷及答案(含答案解析)
- 二零二五年度木地板产品回收与再利用合同3篇
- 动漫产业法律法规与版权保护考核试卷
- 城市规划与城市能源结构调整考核试卷
- 塑料加工过程中的物料管理与优化考核试卷
- 二零二五版养老设施建设项目合伙承包合同样本3篇
- 2025年度某某酒店电梯设施维护保养合同2篇
- 劳务协议范本模板
- 2025大巴车租车合同范文
- 老年上消化道出血急诊诊疗专家共识2024
- 人教版(2024)数学七年级上册期末测试卷(含答案)
- 2025届抚州市高一上数学期末综合测试试题含解析
- 公司印章管理登记使用台账表
- 砖厂承包合同签订转让合同
- 思政课国内外研究现状分析
- 2023年公务员多省联考《申论》题(广西B卷)
- EPC总承包项目中的质量管理体系
- 高中物理考试成绩分析报告
评论
0/150
提交评论