网络设计实践报告_第1页
网络设计实践报告_第2页
网络设计实践报告_第3页
免费预览已结束,剩余6页可下载查看

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

.网络设计实践报告任课教师:单班位:级:*学姓号:名:2010551008湘潭大学2013 年 11 月;.项目名称:配置vlan( 实验四 )一、 项目概述1. 将同一交换机上连接的2. 在多个交换机上部署pc机划分为两个vlan。通过 ping 命令检查其正确性。vlan,并通过干道(trunk )建立交换机间链路。3. 检查同一网段中的主机能否互相拼通,不同网段中的主机相互不能拼通。二、项目方案设计原理 系统结构图设备使用与配置规划两个交换机通过trunk连接起来。三、项目实施工艺1. 如上述拓扑图连接主机交换机2. 进行交换机配置,先配置第一个交换机,配置清单如下:switchaenable /进入特权模式switcha#conf t /进入配置子模式/创建 vlan, 2 个 enter configuration commands, one per line. end with cntl/z. switcha(config)#vlan 60/创建一个 vlan 602013-11-18 17:11:49 5-config:configured from outband switcha(config-vlan)#exit2013-11-18 17:11:57 5-config:configured from outbandswitcha(config)#vlan 80/创建一个 vlan 802013-11-18 17:12:12 5-config:configured from outband switcha(config-vlan)#exit2013-11-18 17:12:17 5-config:configured from outband switcha(config)#int f0/1/进入端口 1 的配置模式2013-11-18 17:13:20 5-config:configured from outbandswitcha(config-if)#sw mode access/设置端口为静态vlan访问模式2013-11-18 17:13:30 5-config:configured from outbandswitcha(config-if)#sw access vlan 60 /将端口 1 分配给 vlan 60 2013-11-18 17:13:44 5-config:configured from outband switcha(config-if)#exit2013-11-18 17:13:49 5-config:configured from outband switcha(config)#int f0/22013-11-18 17:13:58 5-config:configured from outband switcha(config-if)#sw mode access2013-11-18 17:14:09 5-config:configured from outband switcha(config-if)#sw access vlan 802013-11-18 17:14:19 5-config:configured from outband switcha(config-if)#exit2013-11-18 17:14:24 5-config:configured from outbandswitcha(config)#exit2013-11-18 17:14:34 5-config:configured from outband switcha#conf/配置 vlan trunk 端口enter configuration commands, one per line. end with cntl/z. switcha(config)#int f0/4 /进入端口 4 的配置模式2013-11-18 17:15:01 5-config:configured from outbandswitcha(config-if)#sw mode trunk /设置当前端口为 trunk 模式2013-11-18 17:15:11 5-config:configured from outbandswitcha(config-if)#sw trunk allowed vlan all /设置允许从该端口交换数据的vlan 2013-11-18 17:15:29 5-config:configured from outbandswitcha(config-if)#exit2013-11-18 17:15:33 5-config:configured from outband switcha(config)#exit2013-11-18 17:15:37 5-config:configured from outband3. 配置第二个交换机,配置清单如下:lin linenable password:lin#conf tenter configuration commands, one per line. end with cntl/z. lin(config)#hostname switchb /修改主机名为 switchb 2013-11-18 17:20:43 5-config:configured from outband switchb(config)#end2013-11-18 17:20:48 5-config:configured from outband switchb#conf tenter configuration commands, one per line. end with cntl/z. switchb(config)#vlan 602013-11-18 17:22:38 5-config:configured from outband switchb(config-vlan)#exit2013-11-18 17:22:41 5-config:configured from outbandswitchb(config)#vlan 802013-11-18 17:22:50 5-config:configured from outband switchb(config-vlan)#exit2013-11-18 17:22:52 5-config:configured from outband switchb(config)#int f0/12013-11-18 17:23:14 5-config:configured from outband switchb(config-if)#sw mode access2013-11-18 17:23:26 5-config:configured from outband switchb(config-if)#sw access vlan 802013-11-18 17:23:43 5-config:configured from outband switchb(config-if)#exit2013-11-18 17:23:47 5-config:configured from outband switchb(config)#int f0/22013-11-18 17:24:03 5-config:configured from outbandswitchb(config-if)#sw mode access2013-11-18 17:24:10 5-config:configured from outband switchb(config-if)#sw access vlan 602013-11-18 17:24:24 5-config:configured from outband switchb(config-if)#exit2013-11-18 17:24:31 5-config:configured from outband switchb(config)#int f0/42013-11-18 17:24:59 5-config:configured from outband switchb(config-if)#sw mode trunk2013-11-18 17:25:22 5-config:configured from outband switchb(config-if)#sw trunk allowed vlan all2013-11-18 17:25:38 5-config:configured from outband switchb(config-if)#exit2013-11-18 17:25:40 5-config:configured from outband四、 测试结果分析1、 测试用例与测试工具运行 -cmd-ipconfig-ping同一网段的 ip 地址,如: 在 ip 为 172.16.2.4 的主机上 ping 172.16.2.5 ,能拼通; 在 ip 为 172.16.3.6 的主机上 ping 172.16.3.7 ,能拼通;在 ip 为 172.16.2.4的主机上ping 172.16.3.6,拼不通; 在 ip 为 172.16.3.7的主机上ping 172.16.2.5,拼不通;2、 测试结果分析利用干道trunk 配置交换机后,相同vlan的主机能互相通信,不同vlan的主机不能相互通信。五、 实验体会这次实验主要学习了vlan的基本配置, 熟悉了交换机的配置,怎么样把相应端口添加到vlan中,实现端口之间相互通信。虽然实验中出现了vlan80中主机可相互通信, 但 vlan60不可以相互通信,经检查是因为缺少一个端口配置,最终成功通信。六、基本信息1. 项目小组成员:李秀梅柳晴胡钧邹敏2. 各成员分担的实验内容:李秀梅(配置交换机)3.实验时间: 2013 年 11 月 19 号4. 报告完成的时间:2013 年 11 月 23 号项目名称: 交换机路由协议配置ospf 配置 (实验五 )一、项目概述1. 将交换机与pc机连接起来,最少使用两个交换机,形成三段vlan2. 在不同 vlan间运行 ospf路由协议,且在骨干区域中。3. 使得交换机连接的主机pc1、pc2可以相互通信。二、项目方案设计原理 系统结构图设备使用与配置规划.两个交换机(s3600)之间运行ospf协议。二、 项目实施工艺1. 如上述拓扑图连接主机交换机2. 进行路由配置,先配置第一个交换机,再配置第二个。第二个交换机配置清单如下:r1r1enr1#conf terminalenter configuration commands, one per line. end with cntl/z. r1(config)#vlan 20r1(config-vlan)#name v20 r1(config-vlan)#exit r1(config)#vlan 30 r1(config-vlan)#name v30 r1(config-vlan)#exit r1(config)#int f0/2r1(config-if)#switchport access vlan 20 r1(config-if)#exitr1(config)#int f0/1r1(config-if)#switchport access vlan 30 r1(config-if)#exitr1(config)#int vlan 20r1(config-if)#nov 19 10:25:23 %lineproto-5-updown: line protocol on interface vl an 20, changed state to upr1(config-if)#ip address 20.1.1.2 255.255.255.0 r1(config-if)#exitr1(config)#int vlan 30r1(config-if)#nov 19 10:26:03 %lineproto-5-updown: line protocol on interface vl an 30, changed state to upr1(config-if)#ip add 30.1.1.1 255.255.255.0 r1(config-if)#exitr1(config)#route ospf 12r1(config-router)#network 20.1.1.0 0.0.0.255 area 0r1(config-router)#network 20.1.1.0 nov 19 10:27:03 %ospfv2-6-o2_nbr_change: ospf12 neighborvlan 20:20.1.1.2-20.1.1.1 status change from down to init.nov 19 10:27:03 %ospfv2-6-o2_nbr_change: ospf12 neighborvlan 20:20.1.1.2-20.1.1.1 status change from init to 2-way.nov 19 10:27:03 %ospfv2-6-o2_nbr_change: ospf12 neighborvlan 20:20.1.1.2-20.1.1.1 status change from 2-way to exstart.nov 19 10:27:13 %ospfv2-6-o2_nbr_change: ospf12 neighborvlan 20:20.1.1.2-20.1.1.1 status change from exstart to exchange.nov 19 10:27:13 %ospfv2-6-o2_nbr_change: ospf12 neighborvlan 20:20.1.1.2-20.1.1.1 status change from exchange to loading.nov 19 10:27:13 %ospfv2-6-o2_nbr_change: ospf12 neighborvlan 20:20.1.1.2-20.1.1.1 status change from loading to full.% there is already the same network statement r1(config-router)#network 30.1.1.0 0.0.0.255 area 0 r1(config-router)#exitr1(config)#exitr1#nov 19 10:34:57 %sys-5-config_i: configured from console by console show vlanvlan namestatusports- - - -1 vlan0001staticfa0/3, fa0/11, fa0/12, fa0/13 fa0/14, fa0/15, fa0/16, fa0/17fa0/18, fa0/19, fa0/20, fa0/21fa0/22, fa0/23, fa0/24, gi0/25gi0/26, gi0/27, gi0/2810 vlan0010staticfa0/3, fa0/4, fa0/5, fa0/6fa0/11, fa0/1720 v20staticfa0/2, fa0/3, fa0/7, fa0/10fa0/11, fa0/1730 v30staticfa0/1, fa0/3, fa0/8, fa0/9fa0/11, fa0/17六、 测试结果分析3、 测试用例与测试工具运行 -cmd-ipconfigping 172.16.2.5,能拼通;在 ip 为 10.1.1.2的主机上ping 10.1.1.1能拼通; 继续 ping 20.1.1.1,能拼通;继续 ping 20.1.1.2,能拼通;继续 ping 30.1.1.1,能拼通; 继续 ping 30.1.1.2,能拼通;在 ip 为 30.1.1.2的主机上ping 10.1.1.2的主机,能拼通。4、 测试结果分析ospf 配置成功,两个pc 机之间可以ping 通七、 实验体会这次实验主要学习了交换机的基本配置, 怎么样把相应端口添加到 vlan 中,如何在交换机之间进行路由协议 ospf 配置。开始实验时连接好线并进行配置后 ping 不到主机的网关 ip,最后经检查发现时由于把交换机两边的网络没有加进配置,最终pc1、 pc2 成功通信六、基本信息5. 项目小组成员:李秀梅柳晴胡钧邹敏6. 各成员分担的实验内容:李秀梅(连线)7.实验时间: 2013 年 11 月 20 号8. 报告完成的时间:2013 年 11 月 23 号项目名称:配置ospf(实验六 )一、项目概述1. 在路由器a、b、c 上分别创建网络,使路由器b 左右为不同网络。2. 将各个接口放置到相应的vlan里面, 并为各个vlan 配置相应的ip地址, 在路由器上运行 ospf 协议,设置b、c为 nssa区域。3. 检查 pc机能否相互通信。4. 在 c、路由器上设置一个虚拟网络看b、a 路由能否学习得到c 的信息。.二、项目方案设计原理 系统结构图设备使用与配置规划所有路由器运行ospf协议并通告所在的直连网段,手工配置各个交换机的router-id。三、 项目实施工艺1. 如上述拓扑图连接主机路由器2. 进行路由配置,先配置a 路由,再b 路由,再c 路由,配置清单如下: routerc配置router(config-if)#intf0/0/ 配置 f0/0接口router(config-if)#iprouter(config-if)#exit router(config)#intaddf0/140.1.1.1255.255.255.0router(config-if)#ipadd30.1.1.2255.255.255.0router(config-if)#exitrouter(config)#rourouter(config)#routerosprouter(config)#routerospf10/启动 ospf router(config-router)#arrouter(config-router)#area1nssa/ 把 area1 设置成 nssarouter(config-router)#netrouter(config-router)#network30.1.1.00.0.0.255area1router(config-router)#network40.1.1.00.0.0.255area1router(config-router)#exitrouter(config)#iproute50.1.1.0255.255.255.050.1.2.1/添 加 静 态路由router(config)#iproute50.1.2.0255.255.255.25530.1.1.1router(config)#routeospf100 router(config-router)#redia router(config-router)#redirouter(config-router)#redistributestaticsurouter(config-router)#redistributestaticsubnets/ 重发布router(config-router)#end%sys-5-config_i:configuredfromconsolebyconsole3. 配置验证router#router#showiprourouter#showiproute.codes: mobile,c- bconnected,-bgpd-eigrp,s-static,ex-eigrpi-igrp,external,ro-rip,-ospf,m-ia-ospfinterarean1-ospfnssaexternaltype1,n2-ospfnssaexternaltype2e1-ospf externaltype1,e2-ospf externalty pe2,e-egpi-is-is,l1-is-islevel-1,l2-is-islevel-2,ia-is-isinterarea*-candidatedefault,u-per-userstaticroute,o-odrp-periodicdownloadedstaticroutegatewayoflastresortisnotset10.0.0.0/24issubnetted,

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论