计算机网络实验四:路由器的配置_第1页
计算机网络实验四:路由器的配置_第2页
计算机网络实验四:路由器的配置_第3页
计算机网络实验四:路由器的配置_第4页
已阅读5页,还剩12页未读 继续免费阅读

下载本文档

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

文档简介

1、.天津理工大学实验报告学院(系)名称:计算机与通信工程学院学号专业计算机科学与技术(中加)班级教学 2 班实验项目实验四:路由器的配置课程名称计算机网络课程代码0662016实验时间2015 年 6 月 25 日第 7、 8 节实验地点7-219批改意见成绩教师签字:(一)实验目的:掌握利用超级终端配置路由器时的连接和参数设置;掌握路由器的常见模式及其转换命令;掌握用配置向导配置路由器的步骤和方法;掌握检查路由器配置和状态的路由器命令。掌握路由器配置文件管理方法,掌握静态路由和动态路由的配置方法。(二)实验环境:软件环境: Windows 2000 XP硬件环境: IBM PC 或兼容机局域网

2、、 PC 机连入 Internet(三)实验学时:2 学时,必做 .(四)实验要求:利用超级终端进行路由器的配置,记录配置过程,在实验报告中注明各种命令的功能。进行网络地址规划,配置路由器;检查路由器配置。掌握路由协议的种类和特点。掌握静态路由、默认路由的配置方法。掌握查看路由条目的方法,并验证路由的作用。(六)实验步骤:1.设计并连接网络。2.连接主机与路由器。3.配置各个接口。4.最后配置路由表。配置 RIP:#.rip 1version 2#路由表:r1display ip routing-tableRouting Tables: PublicDestinations : 10Route

3、s : 10Destination/MaskProtoPreCostNextHopInterface/24Direct 00Eth0/0/32Direct 00InLoop0/24Direct 00S2/0/32Direct 00InLoop0/32Direct 00S2/0/24RIP100S2/0/24RIP100S2/0/24RIP100220

4、.0.2.2S2/0/8Direct 00InLoop0/32Direct 00InLoop0接口信息:r1display ip int b*down: administratively down(s): spoofingInterfacePhysical Protocol IP AddressDescriptionAux0downdownunassignedAux0 Inte.Cellular0/0downdownunassignedCellular0.Eth0/0upupEthernet0.Eth0/1

5、downdownunassignedEthernet0.S1/0downdownunassignedSerial1/0.S2/0upupSerial2/0.测试连通性: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/0port link-mode route#interface Ether

6、net0/1port link-mode route#interface Serial1/0link-protocol ppp#interface Serial2/0link-protocol ppp#配置OSPF:#ospf 1#路由表:r1display ip routing-tableRouting Tables: PublicDestinations : 10Routes : 10Destination/MaskProtoPreCostNextHopInterface./24Direct 00Eth0/0/32Direct 00127.0

7、.0.1InLoop0/24Direct 00S2/0/32Direct 00InLoop0/32Direct 00S2/0/24OSPF10157S2/0/24OSPF103124S2/0/24OSPF103125S2/0/8Direct 00InLoop0/32Direct 00InLoop0接口信息:r1display ip

8、 int b*down: administratively down(s): spoofingInterfacePhysical Protocol IP AddressDescriptionAux0downdownunassignedAux0 Inte.Cellular0/0downdownunassignedCellular0.Eth0/0upupEthernet0.Eth0/1downdownunassignedEthernet0.S1/0downdownunassignedSerial1/0.S2/0upupSerial2/0.测试连通性:Packets:

9、 Sent = 4, Received = 4, Lost = 0 (0% loss),Approximate round trip times in milli-seconds:.Minimum = 36ms, Maximum = 36ms, Average = 36ms配置静态路由:R1ip routR1ip routR1ip rout测试连通性:data bytes, press CTRL_C to break5 packet(s) transmitted5 packet(s) received0.00% packet lossround-trip min/avg/max = 24/24

10、/25 msR2:配置 RIP:#rip 1version 2#.路由表:H3C-rip-1display ip routing-tableRouting Tables: PublicDestinations : 12Routes : 12Destination/MaskProtoPreCostNextHopInterface/24RIP100S2/0/24Direct 00S2/0/32Direct 00S2/0/32Direct 00InLoop020.0.3

11、.0/24Direct 00Eth0/0/32Direct 00InLoop0/24Direct 00S1/0/32Direct 00InLoop0/32Direct 00S1/0/24RIP100S1/0/8Direct 00InLoop0/32Direct 00InLoop0接口信息:H3C-rip-1display ip int b*do

12、wn: administratively down(s): spoofing.InterfacePhysical Protocol IP AddressDescriptionAux0downdownunassignedAux0 Inte.Cellular0/0downdownunassignedCellular0.Eth0/0upupEthernet0.Eth0/1downdownunassignedEthernet0.S1/0upupSerial1/0.S2/0upupSerial2/0.测试连通性:Packets: Sent = 4, Rec

13、eived = 4, Lost = 0 (0% loss),Approximate round trip times in milli-seconds:Minimum = 36ms, Maximum = 36ms, Average = 36ms配置 IP:#.interface Ethernet0/0port link-mode route#interface Ethernet0/1port link-mode route#interface Serial1/0link-protocol ppp#interface Serial2/0link-protocol ppp#配置 OSPF:#osp

14、f 1#路由表:.H3Cdisplay ip routing-tableRouting Tables: PublicDestinations : 12Routes : 12Destination/MaskProtoPreCostNextHopInterface/24OSPF101563S2/0/24Direct 00S2/0/32Direct 00S2/0/32Direct 00InLoop0/24Direct 00Eth0/020.

15、0.4.0/24Direct 00S1/0/32Direct 00InLoop0/32Direct 00S1/0/24OSPF101563S1/0/8Direct 00InLoop0/32Direct 00InLoop0接口信息:H3Cdisplay ip int b*down: administratively down(s): spoofingInterfacePhysical Protocol IP Ad

16、dressDescriptionAux0downdownunassignedAux0 Inte.Cellular0/0downdownunassignedCellular0.Eth0/0upupEthernet0.Eth0/1downdownunassignedEthernet0.S1/0upupSerial1/0.S2/0upupSerial2/0.测试连通性:Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),Approximate round trip times in milli-sec

17、onds:Minimum = 36ms, Maximum = 36ms, Average = 36ms配置静态路由:.R2ip routR2ip rout测试连通性:data bytes, press CTRL_C to break5 packet(s) transmitted5 packet(s) received0.00% packet lossround-trip min/avg/max = 24/24/25 msR3:配置 RIP:.#rip 1version 2#路由表:H3Cdisplayip routing-tableRouting Tables: PublicDestinati

18、ons : 10Routes : 10Destination/MaskProtoPreCostNextHopInterface/24OSPF103125S1/0/24OSPF103124S1/0/24OSPF10157S1/0/24Direct 00S1/0/32Direct 00S1/0/32Direct 00InLoop0/24Direct 00Eth0/020.0

19、.5.1/32Direct 00InLoop0/8Direct 00InLoop0/32Direct 00InLoop0接口信息:.H3Cdisplay ip int b*down: administratively down(s): spoofingInterfacePhysical Protocol IP AddressDescriptionAux0downdownunassignedAux0 Inte.Cellular0/0downdownunassignedCellular0.Eth0/0upup

20、Ethernet0.Eth0/1downdownEthernet0.S1/0upupSerial1/0.S2/0downdownSerial2/0.测试连通性: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/0port link-mode r

21、oute#interface Ethernet0/1port link-mode route#interface Serial1/0link-protocol ppp#interface Serial2/0link-protocol ppp#配置 OSPF:ospf 1.#路由表:r3display ip routing-tableRouting Tables: PublicDestinations : 10Routes : 10Destination/MaskProtoPreCostNextHopInterface/24OSPF10157S2/0/32Direct 00InLoop0/24OSPF103124S2/0/32Direct

温馨提示

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

评论

0/150

提交评论