计算机网络虚拟实验系统实验报告

上传人:F****n 文档编号:105075698 上传时间:2019-10-11 格式:DOC 页数:4 大小:77KB
返回 下载 相关 举报
计算机网络虚拟实验系统实验报告_第1页
第1页 / 共4页
计算机网络虚拟实验系统实验报告_第2页
第2页 / 共4页
计算机网络虚拟实验系统实验报告_第3页
第3页 / 共4页
计算机网络虚拟实验系统实验报告_第4页
第4页 / 共4页
亲,该文档总共4页,全部预览完了,如果喜欢就下载吧!
资源描述

《计算机网络虚拟实验系统实验报告》由会员分享,可在线阅读,更多相关《计算机网络虚拟实验系统实验报告(4页珍藏版)》请在金锄头文库上搜索。

1、实 验 报 告计算机网络虚拟实验系统 姓 名 学 号 指导老师 时 间 第12周星期三 实验一 基本配置实验【实验目的】熟悉网络元件的基本配置命令,熟悉操作本系统。【实验要求】1 、熟悉操作本系统,熟悉网络元件的基本配置及 Linux 下的主机网络配置2 、学会配置路由器静态路由,使得两台主机可以互相 ping 通。【实验原理】路由器在网络层一级工作,主要功能之一是进行路由选择,当网络中一台主机要给一个网络中主机发送分组时,它首先把分组送给同一网络中用于网间连接的路由器,路由器根据目的地址信息,选择合适的路由,传递分组。该分组被网络中的其他中继路由传递,直到目的网络路由器,最终被递交到目的主机

2、上。实验二 路由器动态路由实验【实验目的】了解动态路由协议的基本原理和作用,理解 RIP 协议的工作原理及特点,掌握 RIP 协议的配置【实验要求】1 、理解 RIP 协议的工作原理。2 、熟悉路由器上 RIP 配置命令,通过配置动态路由 RIP 实现不同网络主机间的通信【实验原理】RIP ( Routing information Protocol ,路由信息协议)是应用较早、使用较普遍的内部网关协议( Interior Gateway Protocol , IGP ),适用于小型同类网络的一个自治系统( AS )内的路由信息的传递。RIP 协议是基于距离矢量算法( Distance Vec

3、tor Algorithms , DVA )的。它使用“跳数”,即 metric 来衡量到达目标地址的路由距离,每条路由最大跳数为 15 ,所以 16 跳以上视为“不可达”。【实验步骤】生成如图的网络拓扑,两台 Router ,一台 Switch 及两台主机并分别连接1 、配置计算机的 IP 地址和网关Host0Host0 login:rootpassword:linuxrootHost0 root#ifconfig eth0 158.17.1.2 netmask 255.255.255.0rootHost0 root#route add default gw 158.17.1.1Host1r

4、ootHost1 root#ifconfig eth0 158.17.3.2 netmask 255.255.255.0rootHost1 root#route add default gw 158.17.3.12 、配置交换机的网关CSwitchenableCSwitch#config tCSwitch(config)#enable password 111 / 设置口令为 111;CSwitch(config)#enable secret 222 / 设置密码为 222 ,其加密级别高于 passwordCSwitch(config)#ip default-gateway 158.17.1

5、.13 、配置路由器的 IP 地址和静态路由 Router0RouterenableRouter#con tRouter(config)#hostname R0 / 修改用户名R0(config)#interface e0 / 配置 e0 端口R0(config-if)#ip address 158.17.1.1 255.255.255.0R0(config-if)#no shutdownR0(config-if)#exitR0(config)#int s0 / 配置 s0 端口R0(config-if)#ip address 158.17.2.1 255.255.255.0R0(config

6、-if)#no shutdownR0(config-if)#endR0#show run / 显示系统配置 Router1Router(config)#interface e0Router(config-if)#ip address 158.17.3.1 255.255.255.0Router(config-if)#no shutdownRouter(config-if)#exitRouter(config)#int s0Router(config-if)#ip address 158.17.2.2 255.255.255.0Router(config-if)#no shutdown 静态路由

7、的配置Router0R0(config)#ip route 158.17.3.1 255.255.255.0 158.17.2.2 / 加入静态路由Router1Router(config)#ip route 158.17.1.1 255.255.255.0 158.17.2.1【实验结果】【实验步骤】生成如图的网络拓扑,三台 Router 及两台台主机并分别连接通过在 Router0 、 Router1 、 Router2 上配置 rip 动态路由协议 , 使得两台主机可以互相 ping 通。1、两台主机配置Host0rootHost0 root#ifconfig eth0 11.1.1 .

8、2 netmask 255.255.0.0rootHost0 root#route add default gw 11.1.1 .1Host1rootHost1 root#ifconfig eth0 44.4.4.1 netmask 255.255.0.0rootHost1 root#route add default gw 44.4.4.42、配置各路由器的 IP 地址和 rip 协议Route0Router(config)#int s0Router(config-if)#ip add 22.2.2 .2 255.255.0.0Router(config-if)#exitRouter(con

9、fig)#int e0Router(config-if)#ip add 11.1.1 .1 255.255.0.0Router(config-if)#exitRouter(config)#ip routing / 启动动态路由Router(config)#rou rip / 配置 rip 协议Router(config-router)#net 11.1.0 .0 / 将 11.1.0.0 网段加到 rip 动态路由中Router(config-router)#net 22.2.0 .0Router1Router(config)#int s0Router(config-if)ip add 22.

10、2.2 .3 255.255.0.0Router(config-if)exRouter(config)#int s1Router(config-if)ip add 33.3.3.3 255.255.0.0Router(config-if)exRouter(config)#ip routingRouter(config)#rou ripRouter(config-router)#net 33.3.0.0Router(config-router)#net 22.2.0 .0Router2Router(config)#int s1Router(config-if)#ip add 33.3.3.5 2

11、55.255.0.0Router(config-if)#exitRouter(config)#int e0Router(config-if)#ip add 44.4.4.4 255.255.0.0Router(config-if)#exitRouter(config)#ip routingRouter(config)#rou ripRouter(config-router)#net 33.3.0.0Router(config-router)#net 44.4.0.0【实验结果】在多年收治肝病、出血热、麻疹、艾滋病等传染病的临床实践中,逐步认识到中医药在传染病防治领域的优势,因此在制定医院长期发

12、展规划中,有步骤的增加中医药在整体医疗工作中的比重,不断加强中医学科建设several group number, then with b a, =c,c is is methyl b two vertical box between of accurate size. Per-23 measurement, such as proceeds of c values are equal and equal to the design value, then the vertical installation accurate. For example a, b, and c valueswhile on horizontal vertical errors for measurement, General in iron angle code bit at measurement level points grid errors, specific method is from baseline to methyl vertical box center line distance for a, to b vertical box distance for b, list can measured

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

当前位置:首页 > 办公文档 > 教学/培训

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