




已阅读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年农村饮水安全项目可行性实施报告
- 呼和浩特市人民医院感染科门急诊管理考核
- 2025年年产600吨三七王葡萄白兰地和葡萄籽油脂生产线技改扩建项目可研报告
- 天津市中医院现金流量表编制与分析试题
- 运城市人民医院联合肝脏分隔和门静脉结扎的二步肝切除术考核
- 临汾市人民医院疼痛治疗并发症处理考核
- 2025年中国齐多夫定项目商业计划书
- 通辽市中医院侧支循环评估考核
- 2025年礼盒包装项目可行性研究报告
- 鄂尔多斯市人民医院压力性尿失禁手术技术考核
- 3.1细胞膜的结构和功能说课课件-高一上学期生物人教版(2019)必修1
- 人教部编版(五四学制)中国历史第一册复习提纲填空版
- 测定某种食物中的能量说课课件人教版生物七年级下册
- 经皮肺动脉去神经术治疗肺动脉高压的中国专家建议
- 托班自主活动教案
- 视频新媒体制作服务方案
- 中华民族共同体概论课件专家版2第二讲 树立正确的中华民族历史观
- 大学生创新创业基础(创新创业课程)全套教学课件
- 初中英语短语大全to-do-结构
- 敦煌文献研究与敦煌学
- 各种膏药的配方
评论
0/150
提交评论