计算机网络实验四:路由器的配置

上传人:鲁** 文档编号:497830920 上传时间:2023-12-25 格式:DOC 页数:10 大小:79.42KB
返回 下载 相关 举报
计算机网络实验四:路由器的配置_第1页
第1页 / 共10页
计算机网络实验四:路由器的配置_第2页
第2页 / 共10页
计算机网络实验四:路由器的配置_第3页
第3页 / 共10页
计算机网络实验四:路由器的配置_第4页
第4页 / 共10页
计算机网络实验四:路由器的配置_第5页
第5页 / 共10页
点击查看更多>>
资源描述

《计算机网络实验四:路由器的配置》由会员分享,可在线阅读,更多相关《计算机网络实验四:路由器的配置(10页珍藏版)》请在金锄头文库上搜索。

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

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

3、 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 RI

4、P 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 d

5、own 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=253R

6、eply 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,

7、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.

8、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.

9、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): spoofingInterfac

10、e 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

11、.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

展开阅读全文
相关资源
相关搜索

当前位置:首页 > 中学教育 > 试题/考题 > 初中试题/考题

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号