版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
第1页/共6页计算机网络动态路由实验课程名称:计算机网络项目内容:动态路由参数配置所属院系:电气与信息工程学院学科专业:计算机科学与技术年/班级:B14级计算机科学与技术2班组长学号组成员:鈡俊耀(组长)、廖永聪、翁耿、李福方建华、陈振高、赖穗玲指导老师:李春平活动地点:网络互连实验室博雅楼302完成时间:2015【实验分工】实验资料查找:廖永聪,陈振高实验操作与拓扑:钟俊耀,,翁耿,赖穗玲实验结果验证:李福,方建华【实验内容】步骤1:规划拓扑结构Vlan192.168.20.0Vlan200.1.1.0Vlan192.168.10.0Vlan192.168.20.0Vlan200.1.1.0Vlan192.168.10.0步骤2:实验原理通过PC2(IP:192.168.10.10)对路由器1的f0/0和s2/0两个接口进行IP设置,分别为:f0/0:192.168.10.254s2/0:200.1.1.1通过PC3(IP:192.168.20.20)对路由器2的f0/0和s2/0两个接口进行IP设置,分别为:f0/0:192.168.20.254s2/0:200.1.1.2设置串口DCE端的路由器的时钟速率为9600,另一端不需要设置。设置PC2的IP及网关:同理设置PC3的IP及网关。步骤3:实验前测试用PC2(IP:192.168.10.10)pingPC3(IP:192.168.20.20),结果如图所示:步骤4:实验代码路由器1的代码(需要设置时钟速率):Router>enableRouter#configterminalEnterconfigurationcommands,oneperline.EndwithCNTL/Z.Router(config)#intf0/0Router(config-if)#ipaddr192.168.10.254255.255.255.0Router(config-if)#noshutdownRouter(config-if)#ints2/0Router(config-if)#ipaddr200.1.1.1255.255.255.0Router(config-if)#clockrate9600Router(config-if)#noshutdownRouter(config-if)#exitRouter(config)#routerripRouter(config-router)#version2Router(config-router)#network192.168.10.0Router(config-router)#network200.1.1.0Router(config-router)#end路由器2的代码(无需设置时钟速率):Router>enableRouter#configterminalEnterconfigurationcommands,oneperline.EndwithCNTL/Z.Router(config)#intf0/0Router(config-if)#ipaddr192.168.20.254255.255.255.0Router(config-if)#noshutdownRouter(config-if)#ints2/0Router(config-if)#ipaddr200.1.1.2255.255.255.0Router(config-if)#noshutdownRouter(config-if)#exitRouter(config)#routerripRouter(config-router)#version2Router(config-router)#network192.168.20.0Router(config-router)#network200.1.1.0Router(config-router)#end步骤5:察看接口状态及路由表结果路由器1接口:Router1#showipinterfacebriefInterfaceIP-AddressOK?MethodStatusProtocolFastEthernet0/0192.168.10.254YESmanualupupFastEthernet1/0unassignedYESunsetadministrativelydowndownSerial2/0200.1.1.1YESmanualupupSerial3/0unassignedYESunsetadministrativelydowndownFastEthernet4/0unassignedYESunsetadministrativelydowndownFastEthernet5/0unassignedYESunsetadministrativelydowndown路由器1路由表:Router#showiprouteCodes:C-connected,S-static,I-IGRP,R-RIP,M-mobile,B-BGPD-EIGRP,EX-EIGRPexternal,O-OSPF,N1-OSPFNSSAexternaltype1,N2-OSPFNSSAexternaltype2E1-OSPFexternaltype1,E2-OSPFexternaltype2,E-EGPi-IS-IS,L1-IS-ISlevel-1,L2-IS-ISlevel-2,ia-IS-ISinterarea*-candidatedefault,U-per-userstaticroute,o-ODRP-periodicdownloadedstaticrouteGatewayoflastresortisnotsetC192.168.10.0/24isdirectlyconnected,FastEthernet0/0R192.168.20.0/24[120/1]via200.1.1.2,00:00:06,Serial2/0C200.1.1.0/24isdirectlyconnected,Serial2/0路由器2接口:Router1#showipinterfacebriefInterfaceIP-AddressOK?MethodStatusProtocolFastEthernet0/0192.168.20.254YESmanualupupFastEthernet1/0unassignedYESunsetadministrativelydowndownSerial2/0200.1.1.2YESmanualupupSerial3/0unassignedYESunsetadministrativelydowndownFastEthernet4/0unassignedYESunsetadministrativelydowndownFastEthernet5/0unassignedYESunsetadministrativelydowndown路由器2路由表:Router#showiprouteCodes:C-connected,S-static,I-IGRP,R-RIP,M-mobile,B-BGPD-EIGRP,EX-EIGRPexternal,O-OSPF,N1-OSPFNSSAexternaltype1,N2-OSPFNSSAexternaltype2E1-OSPFexternaltype1,E2-OSPFexternaltype2,E-EGPi-IS-IS,L1-IS-ISlevel-1,L2-IS-ISlevel-2,ia-IS-ISinterarea*-candidatedefault,U-per-userstaticroute,o-ODRP-periodicdownloadedstaticrouteGatewayoflastresortisnotsetR192.168.10.0/24[120/1
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2024年广东省深圳市中考化学试卷附答案
- 房屋交易协议参考
- 浮雕建筑施工协议
- 离职员工手续全权委托书
- 中学教务处2024-2025学年度下学期年工作计划
- 《汽车电气设备构造与检修》课件 项目2 电源系统
- 软件及服务项目评估报告
- 高多层PCBFPC智能制造项目可行性研究报告写作模板-备案审批
- 2024版兼职合作协议书
- 高中化学一轮复习学案-1.1物质的量气体摩尔体积
- 国开2024年《中国法律史》平时作业1-3答案
- 外卖员交通安全培训
- 海洋的前世今生智慧树知到期末考试答案2024年
- 团员组织关系转接介绍信(样表)
- 小学数学五年级下册《暑假作业》(共35天)
- 送教上门学生教案(生活适应和实用语数共17篇)
- 分布式光伏发电并网调试方案资料
- 利用废酸洗液生产铁盐净水剂建设项目
- 小学生读书笔记模板
- CNR551完全手册up
- XX公司装卸承包合同(共4页)
评论
0/150
提交评论