




已阅读5页,还剩5页未读, 继续免费阅读
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
.天津理工大学实验报告学院(系)名称:计算机与通信工程学院姓名学号专业计算机科学与技术(中加)班级教学2班实验项目实验四:路由器的配置课程名称计算机网络课程代码0662016实验时间2015年6月25日 第7、8节实验地点7-219批改意见成绩教师签字: (一) 实验目的: 掌握利用超级终端配置路由器时的连接和参数设置;掌握路由器的常见模式及其转换命令;掌握用配置向导配置路由器的步骤和方法;掌握检查路由器配置和状态的路由器命令。掌握路由器配置文件管理方法,掌握静态路由和动态路由的配置方法。(二)实验环境:软件环境:Windows 2000XP 硬件环境:IBMPC或兼容机局域网、PC机连入Internet(三)实验学时:2学时,必做.(四)实验要求:利用超级终端进行路由器的配置,记录配置过程,在实验报告中注明各种命令的功能。进行网络地址规划,配置路由器;检查路由器配置。掌握路由协议的种类和特点。掌握静态路由、默认路由的配置方法。掌握查看路由条目的方法,并验证路由的作用。(6) 实验步骤: 1.设计并连接网络。2.连接主机与路由器。3.配置各个接口。 4.最后配置路由表。配置RIP:#rip 1 version 2 network 0.0.0.0#路由表:r1display ip routing-tableRouting Tables: Public Destinations : 10 Routes : 10Destination/Mask Proto Pre Cost NextHop Interface20.0.1.0/24 Direct 0 0 20.0.1.1 Eth0/020.0.1.1/32 Direct 0 0 127.0.0.1 InLoop020.0.2.0/24 Direct 0 0 20.0.2.1 S2/020.0.2.1/32 Direct 0 0 127.0.0.1 InLoop020.0.2.2/32 Direct 0 0 20.0.2.2 S2/020.0.3.0/24 RIP 100 1 20.0.2.2 S2/020.0.4.0/24 RIP 100 1 20.0.2.2 S2/020.0.5.0/24 RIP 100 2 20.0.2.2 S2/0127.0.0.0/8 Direct 0 0 127.0.0.1 InLoop0127.0.0.1/32 Direct 0 0 127.0.0.1 InLoop0接口信息:r1display ip int b*down: administratively down(s): spoofingInterface Physical Protocol IP Address DescriptionAux0 down down unassigned Aux0 Inte.Cellular0/0 down down unassigned Cellular0.Eth0/0 up up 20.0.1.1 Ethernet0.Eth0/1 down down unassigned Ethernet0.S1/0 down down unassigned Serial1/0.S2/0 up up 20.0.2.1 Serial2/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=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 255.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 1 area 0.0.0.0 network 0.0.0.0 255.255.255.255#路由表:r1display ip routing-tableRouting Tables: Public Destinations : 10 Routes : 10Destination/Mask Proto Pre Cost NextHop Interface20.0.1.0/24 Direct 0 0 20.0.1.1 Eth0/020.0.1.1/32 Direct 0 0 127.0.0.1 InLoop020.0.2.0/24 Direct 0 0 20.0.2.1 S2/020.0.2.1/32 Direct 0 0 127.0.0.1 InLoop020.0.2.2/32 Direct 0 0 20.0.2.2 S2/020.0.3.0/24 OSPF 10 1572 20.0.2.2 S2/020.0.4.0/24 OSPF 10 3124 20.0.2.2 S2/020.0.5.0/24 OSPF 10 3125 20.0.2.2 S2/0127.0.0.0/8 Direct 0 0 127.0.0.1 InLoop0127.0.0.1/32 Direct 0 0 127.0.0.1 InLoop0接口信息:r1display ip int b*down: administratively down(s): spoofingInterface Physical Protocol IP Address DescriptionAux0 down down unassigned Aux0 Inte.Cellular0/0 down down unassigned Cellular0.Eth0/0 up up 20.0.1.1 Ethernet0.Eth0/1 down down unassigned Ethernet0.S1/0 down down unassigned Serial1/0.S2/0 up up 20.0.2.1 Serial2/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=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.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.2 PING 20.0.1.1: 56 data bytes, press CTRL_C to break Reply from 20.0.1.1: bytes=56 Sequence=1 ttl=255 time=25 ms Reply from 20.0.1.1: bytes=56 Sequence=2 ttl=255 time=24 ms Reply from 20.0.1.1: bytes=56 Sequence=3 ttl=255 time=25 ms Reply from 20.0.1.1: bytes=56 Sequence=4 ttl=255 time=25 ms Reply from 20.0.1.1: bytes=56 Sequence=5 ttl=255 time=24 ms - 20.0.1.1 ping statistics - 5 packet(s) transmitted 5 packet(s) received0.00% packet lossround-trip min/avg/max = 24/24/25 msR2:配置RIP:#rip 1 version 2 network 0.0.0.0#路由表:H3C-rip-1display ip routing-tableRouting Tables: Public Destinations : 12 Routes : 12Destination/Mask Proto Pre Cost NextHop Interface20.0.1.0/24 RIP 100 1 20.0.2.1 S2/020.0.2.0/24 Direct 0 0 20.0.2.2 S2/020.0.2.1/32 Direct 0 0 20.0.2.1 S2/020.0.2.2/32 Direct 0 0 127.0.0.1 InLoop020.0.3.0/24 Direct 0 0 20.0.3.1 Eth0/020.0.3.1/32 Direct 0 0 127.0.0.1 InLoop020.0.4.0/24 Direct 0 0 20.0.4.1 S1/020.0.4.1/32 Direct 0 0 127.0.0.1 InLoop020.0.4.2/32 Direct 0 0 20.0.4.2 S1/020.0.5.0/24 RIP 100 1 20.0.4.2 S1/0127.0.0.0/8 Direct 0 0 127.0.0.1 InLoop0127.0.0.1/32 Direct 0 0 127.0.0.1 InLoop0接口信息:H3C-rip-1display ip int b*down: administratively down(s): spoofingInterface Physical Protocol IP Address DescriptionAux0 down down unassigned Aux0 Inte.Cellular0/0 down down unassigned Cellular0.Eth0/0 up up 20.0.3.1 Ethernet0.Eth0/1 down down unassigned Ethernet0.S1/0 up up 20.0.4.1 Serial1/0.S2/0 up up 20.0.2.2 Serial2/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=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.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#interface Serial2/0 link-protocol ppp ip address 20.0.2.2 255.255.255.0#配置OSPF:#ospf 1 area 0.0.0.0 network 0.0.0.0 255.255.255.255#路由表:H3Cdisplay ip routing-tableRouting Tables: Public Destinations : 12 Routes : 12Destination/Mask Proto Pre Cost NextHop Interface20.0.1.0/24 OSPF 10 1563 20.0.2.1 S2/020.0.2.0/24 Direct 0 0 20.0.2.2 S2/020.0.2.1/32 Direct 0 0 20.0.2.1 S2/020.0.2.2/32 Direct 0 0 127.0.0.1 InLoop020.0.3.0/24 Direct 0 0 20.0.3.1 Eth0/020.0.4.0/24 Direct 0 0 20.0.4.1 S1/020.0.4.1/32 Direct 0 0 127.0.0.1 InLoop020.0.4.2/32 Direct 0 0 20.0.4.2 S1/020.0.5.0/24 OSPF 10 1563 20.0.4.2 S1/0127.0.0.0/8 Direct 0 0 127.0.0.1 InLoop0127.0.0.1/32 Direct 0 0 127.0.0.1 InLoop0接口信息:H3Cdisplay ip int b*down: administratively down(s): spoofingInterface Physical Protocol IP Address DescriptionAux0 down down unassigned Aux0 Inte.Cellular0/0 down down unassigned Cellular0.Eth0/0 up up 20.0.3.1 Ethernet0.Eth0/1 down down unassigned Ethernet0.S1/0 up up 20.0.4.1 Serial1/0.S2/0 up up 20.0.2.2 Serial2/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=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.2测试连通性:R2ping 20.0.5.2 PING 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 ms Reply from 20.0.5.2: bytes=56 Sequence=2 ttl=127 time=25 ms Reply from 20.0.5.2: bytes=56 Sequence=3 ttl=127 time=24 ms Reply from 20.0.5.2: bytes=56 Sequence=4 ttl=127 time=25 ms Reply from 20.0.5.2: bytes=56 Sequence=5 ttl=127 time=25 ms - 20.0.5.2 ping statistics - 5 packet(s) transmitted 5 packet(s) received 0.00% packet lossround-trip min/avg/max = 24/24/25 msR3:配置RIP:#rip 1 version 2 network 0.0.0.0#路由表:H3Cdisplay ip routing-tableRouting Tables: PublicDestinations : 10 Routes : 10Destination/Mask Proto Pre Cost NextHop Interface20.0.1.0/24 OSPF 10 3125 20.0.4.1 S1/020.0.2.0/24 OSPF 10 3124 20.0.4.1 S1/020.0.3.0/24 OSPF 10 1572 20.0.4.1 S1/020.0.4.0/24 Direct 0 0 20.0.4.2 S1/020.0.4.1/32 Direct 0 0 20.0.4.1 S1/020.0.4.2/32 Direct 0 0 127.0.0.1 InLoop020.0.5.0/24 Direct 0 0 20.0.5.1 Eth0/020.0.5.1/32 Direct 0 0 127.0.0.1 InLoop0127.0.0.0/8 Direct 0 0 127.0.0.1 InLoop0127.0.0.1/32 Direct 0 0 127.0.0.1 InLoop0接口信息:H3Cdisplay ip int b*down: administratively down(s): spoofingInterface Physical Protocol IP Address DescriptionAux0 down down unassigned Aux0 Inte.Cellular0/0 down down unassigned Cellular0.Eth0/0 up up 20.0.5.1 Ethernet0.Eth0/1 down down 10.0.0.9 Ethernet0.S1/0 up up 20.0.4.2 Serial1/0.S2/0 down down 2.0.0.1 Serial2/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: 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 Ethernet0/0 port link-mode route ip 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 1 area 0.0.0.0 network 0.0.0.0 255.255.255.255#路由表:r3display ip routing-tableRouting Tables: Public Destinations : 10 Routes : 10Destination/Mask Proto Pre Cost NextHop Interface20.0.1.0/24 OSPF 10 1572 20.0.1.1 S2/020.0.1.1/32 Direct 0 0 127.0.0.1 InLoop020.0.2.0/24 OSPF 10 3124 20.0.2.1 S2/020.0.2.1/32 Direct 0 0 127.0.0.1 InLoop020.0.2.2/32 Direct 0 0 20.0.2.2 S2/020.0.3.0/24 OSPF 10 3125 20.0.2.2 S2/020.0.4.0/24 Direct 0 0
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2025年量子计算在金融风险模拟中的风险管理与技术创新案例研究报告
- 煤炭场地的租赁合同协议
- 矿山转买卖中介合同范本
- 混凝土供应服务合同范本
- 锻造设备出售合同协议书
- 窑厂购买合同协议书模板
- 粤菜厨房承包合同协议书
- 由第三方履行的合同协议
- 电力安全许可转让协议书
- 舞蹈收费培训合同协议书
- 项目部后勤管理制度
- 针灸治疗脾胃病
- 兵团职工面试试题及答案
- 上海工会考试试题及答案
- 湖北随州曾都区2024-2025学年小升初数学检测卷含解析
- 全国计算机等级考试《二级MySQL数据库程序设计》专用教材【考纲分析+考点精讲+真题演练+强化习题】
- 《中国北斗卫星导航系统》白皮书
- 临床用血管理制度课件
- 低钾血症的治疗护理
- 偏瘫足内翻的治疗
- 2025届河北省石家庄市普通高中学校毕业年级教学质量摸底检测英语试卷
评论
0/150
提交评论