计算机网络实验报告—网际互连及路由仿真实验

上传人:桔**** 文档编号:477070521 上传时间:2023-10-04 格式:DOC 页数:13 大小:439.50KB
返回 下载 相关 举报
计算机网络实验报告—网际互连及路由仿真实验_第1页
第1页 / 共13页
计算机网络实验报告—网际互连及路由仿真实验_第2页
第2页 / 共13页
计算机网络实验报告—网际互连及路由仿真实验_第3页
第3页 / 共13页
计算机网络实验报告—网际互连及路由仿真实验_第4页
第4页 / 共13页
计算机网络实验报告—网际互连及路由仿真实验_第5页
第5页 / 共13页
点击查看更多>>
资源描述

《计算机网络实验报告—网际互连及路由仿真实验》由会员分享,可在线阅读,更多相关《计算机网络实验报告—网际互连及路由仿真实验(13页珍藏版)》请在金锄头文库上搜索。

1、计算机网络实验报告-网际互连及路由仿真实验 网际互连及路由仿真实验一、 实验目的:掌握网际互连基本概念,使用仿真软件建立一个小型互联网,并完成路由信息的配置和测试。二、 实验要求:要求掌握实验所需知识、操作方法或步骤,记录实验中所遇到的问题,并写出详细的实验报告。三、 实验内容: 1.建立网际互连结构 用boson network designer建立一个简单的网际互连结构,包含四个路由器,见下图: 路由器R1与R2之间的网络是Ethernet网,R2与R3之间的网络是Ethernet网,R2与R4之间的网络是Serial网,分别用不同颜色的连线表示。 根据要求选择各个路由器的型号,并组成网际

2、互连。写出选择路由器型号的依据,每个路由器的型号及端口属性。 2. 路由器配置 (一)运行boson netsim 软件,导入建立好的网际互连拓扑结构。 (二)登录Cisco路由器 (三)基本操作指令 (四)路由器配置模式 (五)配置命令和配置过程四、实验步骤及记录:1 用boson network designer建立网络拓扑结构图。 截图如下:2 登录Cisco路由器并为每个路由器分配合适的ip地址,配置路由协议及建立路由表。l 登陆Cisco路由器 (1)点击屏幕上方的“eRouter1”按钮将打开eRouter1登录窗口,按“Enter”键启动eRouter1,进入普通模式,提示符“R

3、outer” (2)键入“Enable”命令进入特权模式,提示符变为“Router#” (3)键入“Disable”命令退出特权模式,返回普通模式。键入“Logout”或“Exit”退出路由器。l 路由器配置 (1)键入“conf t”命令进入全局配置模式提示符变为“Router(config)#” (2)键入“hostname”命令对路由器命名。 (3)对重新命名好的路由器进行ip分配。先对路由器的连接情况进行设置,对照网络拓扑图设置连接。用“interface ”命令实现然后用命令”ip address”命令为路由器分配ip地址。每分配完一次地址后均须键入“no shutdown”命令。

4、各路由器配置程序记录如下:Router1:RouterRouterenableRouter#conf tEnter configuration commands, one per line. End with CNTL/Z.Router(config)#hostname R1R1(config)#interface Ethernet 0R1(config-if)#ip address 202.117.27.2 255.255.255.0R1(config-if)#no shutdown%LINK-3-UPDOWN: Interface Ethernet0, changed state to u

5、pR1(config-if)#R1(config-if)#exitR1(config)#exitR1#conf tEnter configuration commands, one per line. End with CNTL/Z.R1(config)#router ?bgp Border Gateway Protocol (BGP)eigrp Enhanced Interior Gateway Routing Protocol (EIGRP)igrp Interior Gateway Routing Protocol (IGRP)ospf Open Shortest Path First

6、(OSPF)rip Routing Information Protocol (RIP) R1(config)#router ripR1(config-router)#network 202.117.27.2R1(config-router)#exitR1(config)#R1(config)#confit% Invalid input detected at marker. R1(config)#R1(config)#exitR1#Router2RouterRouterenableRouter#conf tEnter configuration commands, one per line.

7、 End with CNTL/Z.Router(config)#hostname R2R2(config)#interface Ethernet 0R2(config-if)#ip address 202.117.27.1 255.255.255.0R2(config-if)#no shutdown%LINK-3-UPDOWN: Interface Ethernet0, changed state to upR2(config-if)#exitR2(config)#interface Ethernet 1R2(config-if)#ip address 202.117.32.1 255.255

8、.255.0R2(config-if)#no shutdown%LINK-3-UPDOWN: Interface Ethernet1, changed state to upR2(config-if)#exitR2(config)#interface Serial 0R2(config-if)#ip address 202.117.36.1 255.255.255.0R2(config-if)#no shutdown%LINK-3-UPDOWN: Interface Serial0, changed state to up%LINK-3-UPDOWN: Interface Serial0, c

9、hanged state to down%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0, changed state to downR2(config-if)#R2(config-if)#R2(config-if)#exitR2(config)#exitR2#show ip int briefInterface IP-Address OK? Method Status ProtocolSerial0 202.117.36.1 YES unset up downSerial1 unassigned YES unset adminis

10、tratively down downEthernet0 202.117.27.1 YES unset up upEthernet1 202.117.32.1 YES unset up up R2#R2#R2#R2#conf tEnter configuration commands, one per line. End with CNTL/Z.R2(config)#router ?bgp Border Gateway Protocol (BGP)eigrp Enhanced Interior Gateway Routing Protocol (EIGRP)igrp Interior Gate

11、way Routing Protocol (IGRP)ospf Open Shortest Path First (OSPF)rip Routing Information Protocol (RIP) R2(config)#router ripR2(config-router)#network 202.117.27.1R2(config-router)#network 202.117.32.1R2(config-router)#network 202.117.36.1R2(config-router)#exitR2(config)#R2(config)#exitR2#Router3Route

12、rRouterenableRouter#conf tEnter configuration commands, one per line. End with CNTL/Z.Router(config)#hostname R3R3(config)#interface Ethernet 0R3(config-if)#ip address 202.117.32.2 255.255.255.0R3(config-if)#no shutdown%LINK-3-UPDOWN: Interface Ethernet0, changed state to upR3(config-if)#R3(config-i

13、f)#exitR3(config)#exitR3#conf tEnter configuration commands, one per line. End with CNTL/Z.R3(config)#router ripR3(config-router)#network 202.117.32.2R3(config-router)#exitR3(config)#R3(config)#exitR3#Router4RouterRouterenableRouter#conf tEnter configuration commands, one per line. End with CNTL/Z.R

14、outer(config)#hostname R4R4(config)#interface Serial 0R4(config-if)#ip address 202.117.36.2 255.255.255.0R4(config-if)#no shutdown%LINK-3-UPDOWN: Interface Serial0, changed state to up%LINK-3-UPDOWN: Interface Serial0, changed state to down%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0, changed state to downR4(config-if)#exitR4(config)#show ip in brif% Invali

展开阅读全文
相关资源
正为您匹配相似的精品文档
相关搜索

最新文档


当前位置:首页 > 商业/管理/HR > 营销创新

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